-
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
-
最优化作业C++源代码
用C++编的一些最优化作业中的程序,有Newton法,DFP法,共轭梯度法,单纯形法,内点法,外点法,内外点法,都能使用,我已经全部调试过了(C compile some of the most optimized operating procedures, Newton, DFP, conjugate gradient method, the simplex method, interior point method, the points outside the law, outside point method can use, I have all over Debugging)
- 2021-03-29 10:49:11下载
- 积分:1
-
curvefiting
该程序利用最小二乘法进行拟合多元非线性方程。是我做毕设的时候写的。希望对大家有用。(This code can fit multivariable nonlinear equation by using least squares.)
- 2010-08-03 22:19:04下载
- 积分:1
-
upwind
迎风格式有限元求解二维不可压缩流,值得学习和借鉴其中的许多内容(upwind finite element method solve incompressible fluent flow)
- 2013-06-23 09:30:39下载
- 积分:1
-
wogefasuanli
涡格法计算机翼的涡强,对不同剖面形状,拱度等进行了比较分析。并且与书籍上对比(Vortex lattice method the computer wing of the vortex is strong, the shape of different profiles, such as camber, a comparative analysis.)
- 2011-07-10 20:40:16下载
- 积分:1
-
fahanshu
利用c++编写了一个外点惩罚函数,用于对于对目标值的推算与尝试。(Use c++ to write a point outside the penalty function for the target value for the calculation and try.)
- 2016-05-15 21:00:54下载
- 积分:1
-
GradCalc
地球科学(Fortran90):
计算空间重力异常、扰动重力、垂线偏差或重力梯度的垂向梯度。
计算方式:数值积分、二维平面FFT、二维球面FFT或一维FFT。(Earth Science (Fortran90): calculate the gravity anomaly, gravity disturbance, the deflection of the vertical or gravity gradient vertical gradient. Calculation: numerical integration, FFT of the two-dimensional plane, two-dimensional spherical FFT or one-dimensional FFT.)
- 2012-10-13 14:17:10下载
- 积分:1
-
Linear-System
Fortran program which can be used to solve linear system
- 2014-10-14 08:57:43下载
- 积分:1
-
Expressway-Exit-Data-OD
提出基于高速公路收费站进出口数据推算OD矩阵的一般方法。在缺乏初始OD矩阵的条件下,结合指数平滑法和无约束重力模型思想,通过VB编程反复迭代进行初始OD矩阵推算 利用组合模型预测高速公路各收费站出入口流量,通过弗雷特法进行OD分布推算。以沪宁高速公路为例证实此方法具有较高的精度。(Proposed highway toll station-based import and export data projections general OD matrix method. Lack of initial OD matrix conditions, combined with the exponential smoothing and unconstrained gravity model of thinking, through the VB Programming iterative initial OD Matrix Estimation flow of the use of a combination of model predictions highway toll station entrances and exits through Fratar Method for OD distribution projections. Shanghai-Nanjing Expressway, for example to confirm that this method has higher accuracy.)
- 2013-01-18 11:00:44下载
- 积分:1
-
BEM
圆柱绕流边界元程序 用边界元的方法计算圆柱绕流(flow around colomn
)
- 2012-02-07 09:36:36下载
- 积分:1