-
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
-
calCSP
计算由样本矩阵X及其标签列向量label得到的csp投影矩阵 (calculate csp matrix )
- 2020-10-19 12:37:25下载
- 积分:1
-
lqrcontrol
control souce code with LQR
- 2007-06-16 17:28:58下载
- 积分:1
-
Sod
利用5阶WENO有限差分法求解一维Euler方程组,给出求解Sod型激波管问题的详细程序。(The use of 5-order WENO finite difference method for solving one-dimensional Euler equations given type of shock tube problem solving Sod detailed procedures.)
- 2014-02-07 11:03:08下载
- 积分:1
-
MtlabCFD
基于matlab计算流体力学(CFD)源代码。(Matlab-based computational fluid dynamics (CFD) code.)
- 2007-04-28 11:00:45下载
- 积分:1
-
signalpro
说明: 在学习数字信号处理算法程序中用VC编写的几个通用算法程序。
卷积计算/DFT与FFT实现/(In the learning process of digital signal processing algorithms using VC General Algorithm for the preparation of several procedures. Convolution calculation/DFT and FFT realization /)
- 2021-02-15 09:49:48下载
- 积分:1
-
zsxjf
说明: Matlab编写的最速下降法算法程序,美国一本权威数值计算方面的书上的源程序。(Matlab prepared by the steepest descent algorithm, a numerical calculation authoritative book on the source.)
- 2006-04-07 18:10:44下载
- 积分:1
-
matlab计算代码
说明: 分形理论计算,粗糙面结合面的法向载荷和法向接触刚度计算(fractal thoetry simulation)
- 2021-04-28 20:28:43下载
- 积分:1
-
nodefstrainstressfiberla002
说明: 复合材料损伤,复合材料层间分层,损伤,刚度退化、衰减(Composite damage, delamination of composite layers, damage, stiffness degradation, attenuation)
- 2019-04-08 11:14:11下载
- 积分:1
-
lid-driven-flow
用MRT-LBM计算顶盖驱动流的程序,比LBGK方法更加稳定。(Codes for lid-driven flow with MRT-LBM, which is more stable than LBGK.)
- 2021-04-07 01:59:02下载
- 积分:1