-
可视化子程序
应用背景这个程序可以实现fortran计算数据的可视化,显示云图,等值线图等。希望大家批评指正。关键技术直接输出tecplot文件,可以通过tecplot360进行编辑。
- 2022-06-02 12:48:10下载
- 积分:1
-
贝塞尔曲线示例
#include < iostream >
#include < 矢量 >
#include < math.h >
#include"BezierPoint.h"
使用命名空间 std ;
BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ;
双选择 (双 a,双 b) ;
双 factorial(double num) ;
int main(void) {
方法 < < BezierPoint >> 方法警校 ;
char endPointCount = 0;
双 inx ;
双 iny ;
int ptCount = 0;
int 终结点 ;
双 deltaT ;
cin >> ptCount >> deltaT ;
为 (int 我 = 0 ; 我 < ptCount; i + +) {
cin >> inx >> iny >> 终结点 ;
BezierPoint p iny inx) ;
如果 (endPointCount = = 0 & & 终结点 = = 1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
继续 ;
}
pts[pts.size()-1].push_back(p) ;
如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
}
}
为 (std::s
- 2022-03-13 19:08:01下载
- 积分:1
-
数据结构图操作
输入任意的一个网,用普里姆(Prim)算法构造最小生成树。
要求建立图的存储结构(邻接表或邻接矩阵),输入任意的一个图,显示图的深度优先搜索遍历路径。
要求建立图的存储结构(邻接表或邻接矩阵),输入任意的一个图,显示图的广度优先搜索遍历路径。
- 2023-01-29 23:35:04下载
- 积分:1
-
C语言版本的矩阵库,目前世界上最流行的三大矩阵运算库之一,这是修正版本,我自己改了几个地方(按照官方要求)...
C语言版本的矩阵库,目前世界上最流行的三大矩阵运算库之一,这是修正版本,我自己改了几个地方(按照官方要求)-C language edition matrix library , now in the world the most popular three greatest matrixeses carries to calculate the one of the library , this is to revises the edition, myself changed a few places( request according to the authorities)
- 2023-07-06 01:05:04下载
- 积分:1
-
pca算法获得数据主成分
主成分分析算法,输入数据矩阵,得到投影变换主成分,用于数据降低维度。
- 2022-12-28 07:55:03下载
- 积分:1
-
遗传算法的代码
附加的文件是由 Java 语言实现的遗传代码。这是个不错的做法,为遗传算法。请参阅原始网页链接的进一步信息或疑问。
- 2022-02-11 21:45:12下载
- 积分:1
-
不使用欧式距离,而是采用相关性对数列进行聚类
不使用欧式距离,而是采用相关性对数列进行聚类-Do not use Euclidean distance, instead of using the related series of cluster
- 2022-06-16 18:26:19下载
- 积分:1
-
Levenshtein_Edit_Distance_Algorithm
介绍
- 2022-07-24 08:53:07下载
- 积分:1
-
importation of X, Y coordinates, fitting Park, using the least square fitting, I...
输入X,Y坐标,拟合公园,采用最小二乘法拟合,本人测试
- 2022-03-28 16:44:06下载
- 积分:1
-
text retrieval
text retrieval
- 2022-08-08 13:09:18下载
- 积分:1