-
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
-
FFT4
计算按频率抽取的基4快速傅里叶变换算法,与基2FFT相比,基4FFT的乘法量约减少25 。(Calculating frequency taken by fast Fourier transform algorithm base 4, compared with the base 2FFT the base 4FFT multiplication about 25 less.)
- 2020-11-22 11:29:35下载
- 积分:1
-
test
随机数的产生,枚举嵌套算法求解一元多次方程。按批量处理。(The generation of random Numbers, nested enumeration algorithm monadic equation according to the batch processing for many times)
- 2013-05-18 08:42:15下载
- 积分:1
-
19864062MatrixOper
对于协方差矩阵的一种计算方法,对于地震中的反演约束算法能起到很好的作用。(For a kind of covariance matrix calculation method)
- 2011-05-30 13:43:06下载
- 积分:1
-
PRequation
工程领域,PR方程代码.用于计算混合工质性质。(PR equation code)
- 2020-09-04 16:58:09下载
- 积分:1
-
Simpleequationstoachieve
说明: 利用该方程组求解一般的线性方程组,别且符合数学求解原理(Using the equations of linear equations in general, do not and in accordance with principles of mathematics to solve)
- 2010-04-22 10:38:10下载
- 积分:1
-
shuzhifenxi
北京航空航天大学硕士研究生数值分析课的第一次大作业,用幂法反幂法求取矩阵的最大最小特征值(Minimum and maximum eigenvalue of the first graduate of Beijing University of Aeronautics and Astronautics numerical analysis class job, using the power method matrix inverse power law to strike)
- 2012-12-05 22:07:01下载
- 积分:1
-
C_P
恒温减压沸腾UDF,一个基于压力计算的水蒸发UDF程序,请大家探讨一下(boiling udf of costant T and decreasing P)
- 2011-12-19 11:41:40下载
- 积分:1
-
4zeyunsuan
复数的四则运算完整版,包括加减乘除,阶乘,开方等。。。(The plural arithmetic full version,, including addition, subtraction, multiplication, and division factorial, prescribing, etc...)
- 2013-10-11 16:41:48下载
- 积分:1
-
equation
线性方程组的计算,采用的是高斯消元法来实现的。只有主要的算法代码,没有写主函数(Calculation of linear equations using the Gauss elimination method to achieve. Only the main algorithm code, did not write the main function)
- 2010-08-05 19:34:04下载
- 积分:1