搜索资源列表
complex
- complex类加法,减法,乘法,除法运算,重载输出函数,运用友元函数,掌握类的声明和对象的定义; 观察构造函数和析构函数的执行过程; 学习使用Visual C++6.0的Debug调试功能,跟踪观察类的构造函数、析构函数、成员函数的执行顺序。-Complex kind of addition, subtraction, multiplication, and division, operation, an overloaded output function use friend
turn-albo-to-ruma-data
- 输入一个不确定位数的数字,将其转化罗马数字,用"X","I","II","III","IV","V","VI","VII","VIII","IX"代表0,1,2,3,4,5,6,7,8,9的罗马数字。 程序不是太严谨,和实际的表示(10应该用X表示,五十用C表示等等)也有差距。受定义类型的限制,位数不能无限多。 程序共用了三种方法,注释掉的是两种麻烦并且占内存多(其实可以修改成和第一种方法占内存一样多)的方法-Enter an uncertain number of digits,
Netcdf_f90
- 读取netCDF格点资料的Fortran测试程序,通过读取指定netCDF文件,生成相应的Fortran源代码- Test program to read any netCDF file. by Barry Schwartz October 1993
Inversions
- 一个求数组元素逆序数的方法,由C++实现 使用自定义类型时需要先重载小于号-An evaluation of the inversion of an array, realized by C++. Need to reload < if self-defined type is considered.
Otypemesh
- 适体坐标网格生成程序,使用于复杂几何结构,c/c++ 源程序,包含naca0012 算例。计算流体力学前处理器,网格生成工具-o type grid constuction c/c++ bodyfited mesh, computational fluid dynamics preprocessing tool
matrix_inv
- 矩阵的求逆按矩阵类型分2种,一种是方阵,一种就是任意的矩阵了。而求逆的过程,我们学过线数就知道,可以用行列变化,用伴随矩阵。两种思路的代码网上都有,这里贴出一部分c++写的代码,是针对任意矩阵的用伴随的方法(先求代数余子式)。完全的代码和矩阵类,等我会用Wordpress里的文件插入的时候立马补上。-Matrix inversion matrix type 2, a square, one is an arbitrary matrix. Inversion process, we learned
achvectors
- Delphi 的矩阵库,可以实际动态数组,矩阵产实现搜索等功能-Vectors is a class library for Object Pascal (Delphi 1, 3-7, Borland C++ Builder, Borland Kylix, Free Pascal v.1.0 and higher) which implements vectors (dynamically sized arrays) based on different Object Pascal s
glsl-optimizer-master
- GLSL优化算法,用c++语言编写,适合学习计算数学的和工科类的运用-GLSL optimizer A C++ library that takes GLSL shaders, does some GPU-independent optimizations on them and outputs GLSL back. Optimizations are function inlining, dead code removal, copy propagation, constant foldi
SplineInterpolation
- 非常好用的三次样条插值算法,把网上流传的算法,改造成一个方便使用的C++类,使用时可以从此类继承一个类,封装成你自己的类型-Very easy to use cubic spline interpolation algorithm, the algorithm circulated on the Internet, transformed into an easy to use C++ class, when using a class can inherit from this class,