资源列表
How-many-prime-numbers
- 已知许多整数,求素数个数。先输入N(整数个数),再输入N个整数。每个都不超过32位整型,不小于2.-Give you a lot of positive integers, just to find out how many prime numbers there are.In each case, there is an integer N representing the number of integers to find. Each integer won’t exceed 32-bit
K-means
- 修改参数可以实现任意样本总数,任意维数,任意聚类中心个数的K-Means Algorithm-The modify parameters can achieve any total number of samples, any dimension, any number of cluster centers K-Means Algorithm
nelder
- this file is an optimization code by Nelder-Mead in matlab.
3D_FEM_CG
- 3维Laplace方程的有限元求解,利用P1协调元求解,三维网格剖分采用的软件为NetGen-Finite element solution of the three-dimensional Laplace equation, P1 coordinating element for solving the three-dimensional mesh generation software for NetGen
TriInt
- 在有限元的计算中,常需要用到三角形区域上的积分,以及右端函数和基函数乘后的积分,本代码中以上两种均可计算,可精确到想要求的精度-Finite element calculations, often require the integration on the triangle area, as well as the right end of the function and the basis function multiplied Points, this code can calculat
Adaptive
- 一维自适应有限元算法,根据理论推导的后验误差估计,更新步长,不断的迭代,特别适用于有边界成或者间断解的情形,适合数值计算的初接触者-One-dimensional adaptive finite element algorithm, based on theoretical derivation of a posteriori error estimation update step, continuous iteration, especially for border into or sit
Energyfocushanning
- 能量重心频谱校*加汉宁窗,利用离散窗谱函数的能量重心是坐标原点的原理,根据功率谱重心法则求出频率校正量,进而校正相位。-The energy center of gravity the spectrum correction with hanning window using a discrete window spectral function of the energy center of gravity is the principle of the origin of coordina
SimpleMthd
- 单纯形法求解线性规划问题的一种优化算法。-Simple Mthd
quicksort
- 自定义数组长度的快速排序-Quick sort of self-defined array length
11.10
- 有两个链表a,b。设节点中包含学号、姓名。从a链表中删去b链表中有相同学号的那些节点。-There are two lists a, b. School, name is included in the set node. B linked list have the same number of nodes is deleted from a linked list.
8.14
- 输入10个学生5门课的成绩,分别用函数求:1,每个学生的平均分;2,每门课的平均分3,找出最高分所对应的学生和课程;4,求出平均分方差。-Enter the results of 10 students in the course, function evaluation: 1, the average of each student 2, the average per course, to identify the highest branch of the corresponding s
13.7
- 将某文件中的学生数据平均分进行排序处理,将已排序的学生数据存入一个新的文件中。-Student data in a file average for sort processing, the sorted student data is stored in a new file.
