-
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
-
Least-Squre
最小二乘法拟合曲线C++代码,任意的M个数据,任意的次数N(N不易太高)。输出拟合曲线的表达式(Least Squre For ...)
- 2012-04-06 10:03:38下载
- 积分:1
-
shenliu
有限元计算基本程序,为毕业论文时编写的局部渗流计算程序。(Finite element method the basic procedures for the thesis prepared by local seepage calculation procedures.)
- 2007-08-20 14:00:54下载
- 积分:1
-
GBAS
利用蚁群算法求解TSP问题,
从Location.dat文件输入每个城市的坐标。(The use of Ant Colony Algorithm for TSP problems Location.dat file input from the coordinates of each city.)
- 2009-06-18 09:08:14下载
- 积分:1
-
FractalDim
盒维数计算和豪斯多夫维数的计算与应用研究程序(box counting)
- 2013-07-27 17:50:31下载
- 积分:1
-
LM_sample
Levenberg Marquardt算法的matlab代码,简洁无误,结构清晰,便于快速学习。(
LevenbergMarquardt algorithm matlab code, simple and correct, clear structure, easy to learn quickly.)
- 2017-06-01 19:37:34下载
- 积分:1
-
2D-TM
2维的FDTD C程序(2-dimensional FDTD C procedures)
- 2008-05-05 07:34:54下载
- 积分:1
-
maze
关于走迷宫算法的实现程序,完全采用C++语言实现,可以运行(Maze algorithm program, fully C++ language, you can run)
- 2012-07-31 22:21:04下载
- 积分:1
-
lbm2d
基于D2Q9模型的LBM程序,用于计算方腔驱动流,对应何亚玲《格子Boltzmann方法的理论及应用》一书的源码(LBM D2Q9 model-based program used to calculate the square cavity driven flow, which corresponds He Yaling " Lattice Boltzmann Method Theory and Applications," a source book)
- 2021-03-12 21:19:24下载
- 积分:1
-
firfilter
MFC实现快速傅里叶变换(FFT)MFC实现快速傅里叶变换(FFT)(MFC MFC Fast Fourier Transform (FFT) fast Fourier transform (FFT))
- 2020-12-22 20:09:08下载
- 积分:1