▍1. spline
样条插值算法的matlab代码,包括一次样条插值,二次样条插值和三次样条插值,可根据需要选择(Spline interpolation algorithm matlab code, including a spline interpolation, quadratic spline interpolation and cubic spline interpolation, can be selected)
样条插值算法的matlab代码,包括一次样条插值,二次样条插值和三次样条插值,可根据需要选择(Spline interpolation algorithm matlab code, including a spline interpolation, quadratic spline interpolation and cubic spline interpolation, can be selected)
fluent中用于修改湍流粘度系数的自定义函数(udf to modify turbulence viscosity coefficient in fluent)
MFC实现快速傅里叶变换(FFT)MFC实现快速傅里叶变换(FFT)(MFC MFC Fast Fourier Transform (FFT) fast Fourier transform (FFT))
% 奇异值分解 (sigular value decomposition,SVD) 是另一种正交矩阵分解法;SVD是最可靠的分解法, % 但是它比QR 分解法要花上近十倍的计算时间。[U,S,V]=svd(A),其中U和V代表二个相互正交矩阵, % 而S代表一对角矩阵。 和QR分解法相同者, 原矩阵A不必为正方矩阵。 % 使用SVD分解法的用途是解最小平方误差法和数据压缩。用svd分解法解线性方程组,在Quke2中就用这个来计算图形信息,性能相当的好。在计算线性方程组时,一些不能分解的矩阵或者严重病态矩阵的线性方程都能很好的得到解( Singular value decomposition (sigular value decomposition, SVD) is another orthogonal matrix decomposition method SVD decomposition is the most reliable method, but it takes more than QR decomposition near ten times the computing time. [U, S, V] = svd (A), in which U and V on behalf of two mutually orthogonal matrix, and the S on behalf of a diagonal matrix. And QR decomposition are the same, the original matrix A is no need for the square matrix. The use of SVD decomposition method are used as a solution of least squares error method and data compression. Using SVD decomposition solution of linear equations, in Quke2 on to use this information to calculate the graphics performance quite good. In the calculation of linear equations, some indecomposable matrix or serious pathological matrix of linear equations can be a very good solution)
我自己用c语言写的64点基4FFT算法,在visual c++ 6.0环境下编译通过。同matlab结果一致。(My own use C language to write the 64 based 4FFT algorithm, in visual c++ 6 compiler environment through. Results consistent with matlab.)
说明: 常用的fluent边界条件的控制UDF,包括动网格UDF(Commonly used control UDF of fluent boundary conditions, including moving grid UDF)
FFT快速傅里叶变换 采用基4 fft实现的c语言版(FFT Fast Fourier Transform implemented using the base 4 fft c language version)
打靶法求解两点边值问题 实例测试通过,可直接运行,并带有详细代码注释 采用全局收敛的牛顿-拉普森迭代算法求解编制问题 绝对物超所值!(Two-point boundary value problem shooting method)
说明: 主要用于Fluent 中风剖面、湍流剖面以及耗散率剖面的开发,应用的是日本的规范。(It is mainly used for the development of fluent stroke profile, turbulence profile and dissipation rate profile, and it is applied to the specifications of Japan.)
实现矿井采空区的孔隙率和粘性阻力系数,主要用于采空区瓦斯抽采(The porosity and viscosity resistance coefficient of mine goaf can be achieved.)
三階拉格朗日內差法。使用了Farrow結構,簡化三階多項式係數之運算。(third-order Lagrange interpolation algorithm. use Farrow structure to simplify the coefficients of the polynomial of Lagrange method.)
fluent中关于co2的真实气体模型的自定义程序(fluent in about co2 real gas model custom program)
说明: cuda矩阵乘法 通过GPU并行运算实现乘法的加速(cuda GPU parallel matrix multiplication operation by the accelerated realization of multiplication)
在visual studio的平台上开发CUDA程序实现并行加速计算矩阵的乘积,同时比较与串行计算的差异(Differences in the development of procedures to achieve parallel CUDA accelerated computing matrices in visual studio platform, but compared with the serial computing)
三次样条插值公式C语言编程示例(Cubic spline interpolation formula C language programming examples)
数值分析中三次样条插值算法,运行稳定,并能画出最后的插值曲线(Numerical Analysis of cubic spline interpolation algorithm, running stability, and can draw the final curve interpolation)
这是一个三次样条插值函数实现的C代码。如果插值点需要改变,可以在程序中改定。(This is a cubic spline interpolation function of the realization of the C code. If interpolation points need to change, the procedures will change.)
一个通过高斯正反算公式计算高斯投影后投影平面的二维坐标,也可通过坐标反算大地经纬度。提供54系,西安80系,WGS-84系和CGCS2000系四种椭球参数。(A positive and negative Gaussian Formulas to calculate the two-dimensional coordinates of the Gauss projection projection plane can also be computed from coordinates latitude and longitude of the earth. 54 Department of the the Xi' an 80 series, WGS-84 system and CGCS2000 Department of four oval ball parameters.)
三次样条插值c++头文件,一些头文件,非常好(Cubic spline interpolation c++ header files, some header files)