-
数据结构与算法
完整C、C++代码,自己编写,均调试过,成功可用。对于初学数据结构与算法的同学很有帮助。
- 2022-04-02 01:41:40下载
- 积分:1
-
适用于 Pygame 的 Python 线交叉
翻译 maninwest@Codeforge 作者:raildude@CodeProject计算 2 D 线段交点(如存在)的算法这是种应用代数的练习题, (尤其是方程 y = mx + b, 所谓的线性方程的斜截式).背景我有个 Python 的 3d 查看应用程序,使用 Pygame 做 UI。 它有线框显示和原始的"隐藏表面移除"选项。我想添加一个隐藏线移除的选项,因为Pygame 好像不支持 "空心多边形" 绘制方法. 我想此代码可能是向该方向迈出的一步。稍后,我发现 MeshLab 可以提供我想要的功能..使用代码你需要安装 Python和 Pygame。或者,你可以提取四个函数 (slope(), y_intercept(), intersect() & segment_intersect()) 并在合适的地方使用。
- 2022-03-15 12:00:57下载
- 积分:1
-
KNN算法构建分类器(Python实现)
Mathing Learning in action 书中第二章源代码,用Python实现KNN算法,,并用Matplotlib创建散点图,构件分类器及完整的可用系统。1.收集数据:提供文件文本2.准备数据:使用Python解析文本文件3.分析数据:用Matplotlib画二维扩散图4.训练算法:5.测试算法:6.使用算法构建分类器,并完成可用系统
- 2022-01-25 16:52:08下载
- 积分:1
-
清华大学2002年出版的《科学与工程数值计算算法VB》配套源码,包括复数计算、矩阵运算、插值计算、线性非线性方程组求解、数值积分、数值拟和与逼近等算法和类,对于...
清华大学2002年出版的《科学与工程数值计算算法VB》配套源码,包括复数计算、矩阵运算、插值计算、线性非线性方程组求解、数值积分、数值拟和与逼近等算法和类,对于科学和工程数值计算很有参考价值!-Qinghua University, in 2002 published "Science and engineering numerical algorithm VB" complementary source, includes the plural, matrix computation, interpolation, linear solve nonlinear equations, numerical integration, and the proposed numerical approximation algorithms and other categories, science and engineering numerical computation of great reference value!
- 2022-01-28 07:36:57下载
- 积分:1
-
K均值聚类算法源代码
K均值聚类算法源代码-K-means clustering algorithm source code
- 2022-05-05 12:42:14下载
- 积分:1
-
SOM 神经网络聚类可以在 Weka 嵌入
SelfOrganizingMap 或 SOM 神经网络算法对聚类的数据集,可以在 Weka 程序中嵌入
- 2022-02-02 16:06:02下载
- 积分:1
-
This function calculates the peaks in a vector V.
This function calculates the peaks in a vector V.
- 2022-07-19 15:20:49下载
- 积分:1
-
用bresenham算法及中点算法画线
通过程序来表明bresenham算法画直线及中点画线法的原理。绘制网格,网格的交点为一个像素点,绘制bresenham算法画直线及中点画线法的像素点位置,在对应的像素点出打点。并且对对话框中输入的起点终点坐标判断是否在给定的范围内。
- 2023-03-19 03:05:04下载
- 积分:1
-
中国农历,有详细的阴历算法。中国农历,有详细的阴历算法
中国农历,有详细的阴历算法。中国农历,有详细的阴历算法-Chinese Lunar, lunar calendar has a detailed algorithm. Chinese Lunar, lunar calendar has a detailed algorithm
- 2022-05-10 22:14:11下载
- 积分:1
-
基于前面上传的变系数的椭圆型方程的例子,来加入移动网格的模块,使得网格能够更加集中于数值解中的弱间断的位置。这个移动网格模块的算法,整个网格的边界和内部将会耦...
基于前面上传的变系数的椭圆型方程的例子,来加入移动网格的模块,使得网格能够更加集中于数值解中的弱间断的位置。这个移动网格模块的算法,整个网格的边界和内部将会耦 合移动,因此,在区域的不同边界上,需要使 用不同的材料标识才能使得程序对每个不同的 边界上的信息加以区分。-Based on the previous upload of the variable coefficient elliptic equations example, to join the moving mesh module, the grid will be more focused on the numerical solution of a weak intermittent position. The moving mesh algorithm module, the entire grid will be the coupling of internal borders and movement, therefore, different from the border region, the need to use different materials in order to make identification procedures for each different borders to distinguish between the information.
- 2022-01-31 22:15:15下载
- 积分:1