搜索资源列表
4-SHIBAI
- c语言,求解五届龙哥库塔方程。用指针数组所做。很好.-c language, for five Mangge Cucuta equation. Done by a pointer array. Good.
ReversalOp
- 这是一个求矩阵逆运算的程序,主要特点是使用指针实现了矩阵的可变纬-This a matrix inverse operation for the procedures, the main characteristic is the use of a matrix to achieve target variable-wai! !
crc16
- 函数名称:CRC-16 Process 函数原型:INT16U make_crc16(INT8U *msgaddr,INT8U datalen) 函数功能:进行CRC校验和产生CRC代码.这个函数只影响全局变量crc16. 校验字放在字符串最后,低8位在前高8位在后. msgaddr : 进行CRC16校验的据块的首地址 datalen : 进行CRC16校验的据块的个数 CRC-ITU的计算算法如下: a.寄存器组初始化为全\"1\"(
line
- 单纯型法解线性规划问题(两阶段法)指针改写.
robbit
- 设有一个数列,包含10个数,已按升序排好。现要求编写程序,把从指定位置开始的n个数按逆序重新排列并输出新的完整数列。进行逆处理时要求使用指针方法。试编程。 (例如原数列为2,4,6,8,10,12,14,16,18,20,若要求把从第4个数开始的5个数按逆序重新排列,则得到新数列为2,4,6,16,14,12,10,8,18,20)。
C++程序用类来实现矩阵
- 编写C++程序完成以下功能: (1) 用类来实现矩阵,定义一个矩阵的类,属性包括: 矩阵大小,用 lines, rows(行、列来表示); 存贮矩阵的数组指针,根据矩阵大小动态申请(new)。 (2) 矩阵类的方法包括: 构造函数,参数是矩阵大小,需要动态申请存贮矩阵的数组; 析构函数,需要释放矩阵的数组指针; 拷贝构造函数,需要申请和复制数组; 输入,可以从cin中输入矩阵元素; 输出,将矩阵格式化输出到cout; 矩阵相加的
average_point
- 一个vc++的求平均值的小例子,用到了指针,和多种函数-A vc++ Average for the small examples used for the pointer, and a variety of functions
RedDragonJuZhen
- 矩阵计算 算术游戏里用了多个 goto 语句,这是违反结构化程序设计原则的。 矩阵运算中用了指针的知识,所以要学完指针后看。 里面注释不多,所以发挥想象力吧。 如果你把这些代码介绍给同学的话,请附上这份说明。^-^ -RedDragonJuZhen.ccheers SEA_member redlhl
nni
- 计算n阶矩阵的逆矩阵的函数,输入表示矩阵的指针和阶数,然后计算输出逆矩阵的指针,附带矩阵乘法检测结果-Calculation of n-order matrix inverse matrix function, enter the matrix express the pointer and order, and then calculating the inverse matrix of output indicators, with matrix multiplication test re
generalizedinversematrix
- 基于vc6.0的一个计算非方阵矩阵的广义逆矩阵的算法,输入要求为矩阵的指针表示,矩阵的行数和列数,函数返回的是矩阵的广义逆矩阵,附带结果的验证-Vc6.0 based on a calculation of non-square matrix of the generalized inverse matrix of the algorithm, input requirements for the indicator matrix, said matrix of rows and columns
heading_direction
- 项目实现司南的指针计算,结合磁和加速度两个传感器的小算法实现-Sinan calculated to achieve the target project, combining the two magnetic and acceleration sensors for small algorithm
Matrixoperations
- 求一个矩阵的最大值,最小值及平均值,用行指针实现相应算法。-Seek a matrix of the maximum, minimum and average values, with the line pointer to achieve the appropriate algorithm.
student
- 有10个学生,每个学生的数据包括学好,姓名,3门课程的成绩,从键盘输入10个学生数据,要求输出三门课程总平均成绩,以及最高分的学生的数据(包括学号,姓名,3门课程成绩,平均分数)。要求利用指向数组的指针的方法,用一个input函数输入5个学生数据,用一个average函数求总平均分,用max函数找出最高分学生数据,总平均分和最高分的学生数据都在主函数中输出-There are 10 students, each student s data, including master, name, 3
test1
- 利用递归实现全排列,用于练习递归和指针操作.-All arrangement using recursive method
A_LDU
- 程序实现将一个对称矩阵A分解成LDU 其中L为下三角矩阵 D为对角矩阵 U为上三角矩阵 该程序使用了二级指针,矩阵A的阶数可以由运行人员决定-Program implementation will be decomposed into a symmetric matrix A LDU where L is lower triangular matrix D a diagonal matrix U is upper triangular matrix of the program us
aitkenroot
- 埃特金求解C语言代码 //函数名:aitkenroot //功能描述:求出[a,b]区间内的非线性方程f(x)的一个实根 //输入参数:*x0(指向迭代初值和终值的指针) // f(迭代函数) // eps(精度要求) // max(最大迭代次数) //返回值:0(迭代失败),1(迭代成功)-Aitken Solution C language code// function name: aitkenroot// Function Descr iption: Fin
FFT-Algorithm
- 本例通过VC实现二维快速傅里叶变换,涉及到进行矩阵、复数等数学运算,运用了C语言动态内存分配、文件操作、结构指针的函数调用等内容。-In this case through the VC to achieve two-dimensional fast Fourier transform, related to the matrix, such as complex mathematics, use the C language, dynamic memory allocation, file o
c-P-P-algorithm-procedures
- 程序开始运行,要求用户首先输入两个大数。 然后进行菜单选择,进行相应的大数运算。 分析说明:由于大数的范围太大,不能直接定义为int或者float等, 所以我们的想法就是定义成字符串类型, 输入的数字一位一位地存入字符数组里面。 然后在运算的时候也是一位一位地运算。 这个过程就得从最基本的数学运算法则做起,不乏多种判断。 涉及到数组和指针的应用。最难的就是判断情 况还有应用数组和指针过程中出现的多种未可预知的错误, 还得通过逐步调试慢慢找出。我们先从加减
DataChange
- VB指针编程,实现浮点数单精度、双精度与16进制间相互转换。-Single Double
test2
- 已知两个函数 ,求它们在指定区间的定积分,要求用矩形法编制求解定积分的通用函数(函数中可用函数型参数或函数指针型参数)。-The known two function, let them in the designated the definite integral interval, the requirement with rectangle method of the definite integral solution of general function (function type