-
Rectangle
根据输入的长宽,计算Rectangle面积周长等功能,并画出在txt文件中(Rectangle
Create a class Rectangle with attributes length and width, each of which defaults to
1
a. Provide member functions that calculate the perimeter and the area of the rectangle.
b. Also provide set and get functions for the length and width attributes. The set
functions should verify that length and width are each integer numbers larger than 0
and less than 20.
c. Write draw function to display the Rectangle:
in Assignment1. )
d. Write a driver program to test class Rectangle.)
- 2012-10-24 23:54:51下载
- 积分:1
-
mabExpress_src
任意数学表达式计算的源码及测试软件
(Calculation of arbitrary mathematical expression of the source code and test software)
- 2009-04-12 22:26:39下载
- 积分:1
-
matrix
C++中矩阵运算的实现 nr3.h为其他的书籍代码,测试环境为VS2008(Achieve C++ in matrix operations nr3 code for other books)
- 2014-10-16 10:25:43下载
- 积分:1
-
cPPpolyfit
多项式拟合,最小二乘法,c++版本实现,运行环境vc6(Polynomial fitting)
- 2013-04-29 10:37:54下载
- 积分:1
-
55875587Calculator
MFC做的计算器程序,可以实现加减乘除。平方,立方等功能(MFC to do calculator program can be achieved subtraction multiplication and division. Square, cubic and other functions)
- 2009-12-12 22:24:25下载
- 积分:1
-
4zeyunsuan
复数的四则运算完整版,包括加减乘除,阶乘,开方等。。。(The plural arithmetic full version,, including addition, subtraction, multiplication, and division factorial, prescribing, etc...)
- 2013-10-11 16:41:48下载
- 积分:1
-
PSO
针对传统的算法如遗传算法、粒子群算法等在TSP问题上求解精确性和求解规模上都还有一定的不足,本文提出了一种基于动态规划思想的粒子群优化算法。该算法用动态规划的方法实现粒子间的信息交互和粒子的进化,并且将粒子群中的粒子按无标度信息指导网络拓扑图的方式进行连接。仿真结果表明该方法能有效地减小误差率,提高解的精确,同时还保持了较低的计算复杂度,具有良好的稳健性。(TSP problem solving for the traditional algorithms such as genetic algorithms, particle swarm optimization accuracy and solving the scale, there is a certain lack of a dynamic programming algorithm-based particle swarm optimization algorithm. The algorithm using dynamic programming method to achieve the evolution of information exchange between the particles and the particles, and particle swarm particle scale-free information guide network topology map to connect. The simulation results show that this method can effectively reduce the error rate and improve the solution precision, while maintaining a low computational complexity, good soundness.)
- 2013-01-07 18:05:35下载
- 积分:1
-
2005121420740774
用于计算学分绩,是大学实行学分制后比较实用的一个软件(used in the calculation of the credit performance of college credit system after a more practical software)
- 2006-06-04 01:21:56下载
- 积分:1
-
qiuni
C语言矩阵求逆模块,输入矩阵调用此模块即可求出对应的逆矩阵(C language matrix inversion module)
- 2013-12-16 21:18:18下载
- 积分:1
-
2
说明: 地球处理多边体的重磁异常的正演,主要是地球数据处理的课程的实验项目2(The forward modeling of gravity and magnetic anomalies in the earth s processing of the multilateral body is mainly the experimental project of the earth data processing course 2)
- 2016-03-14 21:28:38下载
- 积分:1