搜索资源列表
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
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
na7
- Orthogonal Polynomials Approximation 数值分析,计算正交基多项式的系数 -Given a function f and a set of m >0 distinct points . You are supposed to write a function to approximate f by an orthogonal polynomial using the exact function values at the given m poin
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
Ex6_13
- 【例6.13】梯形法求积分的函数integer()是通用函数,可求任一函数的定积分。不同的函数有不同的解析式, //该解析式决定了自变量在每一个小积分区间端点处的函数值。函数 integer()以一个指向函数的指针为参数, //由该参数调用欲求定积分的函数,另两个参数是积分上下限。-[Example 6.13] the trapezoidal method to seek the integral function integer () is a universal function,
SDAFGDFHFDG
- 题目:编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数 1/1+1/3+...+1/n(利用指针函数) 1.程序分析: 2.程序源代码:-Topic: write a function, input n is even, a function call for 1/2+ 1/4+...+ 1/n, when the input n an odd number, a function call 1/1+ 1/3+...+ 1
average
- 计算一组学生的平均成绩和不及格人数。用结构指针变量作函数参数编程。-Computing the grade point average of a group of students and the number of passes. Structure pointer variable as a function of the parameter programming.
6
- 编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n(利用指针函数)。 -Write a function, the input n is even, the call function evaluation 1/2+1/4+...+ 1/n, when the input n is odd, call the function 1/1+1/3+...+ 1/n (using the pointer function
b8d7ccdd2635.rar
- 基于vc6.0的一个计算非方阵矩阵的广义逆矩阵的算法,输入要求为矩阵的指针表示,矩阵的行数和列数,函数返回的是矩阵的广义逆矩阵,附带结果的验证-,The vc6.0 a non-square matrix generalized inverse matrix algorithm, input requirements matrix pointer matrix the number of rows and columns, the function returns the matrix gene
2
- 掌握二叉树的链式和顺序存储结构,利用队列对二叉树进行运算。 二、实验内容: 1) 编写函数creatbt,其功能是将一维数组方式存储的二 叉树转化为链式存储的二叉树,返回root指针。 2) 编写函数freebt,其功能是释放二叉树链表节点的存储 空间。函数原型为:void freebt (TNODE * root) 3) 编写函数实现前序、中序和后序遍历; -Master chain and sequential storage structure of the binar
Definite-integral-algorithm
- 该文档中用C语言实现通用函数的定积分,源码中采用指向函数的指针作函数参数,整个功能实现的效率高,可以为读者们提供很好的语言编写思路。-This document using C language to achieve universal function definite integral, using the source code for the function pointer to a function parameter functions to achieve high overal
getdrivername_37
- getdrivername function returns a pointer to the current graphics driver.
substring
- A Java-like substring ( ) function equivalent for C/C++ language (with no pointer handling).
lppinv
- 文件中包含了一个visualC++工程,里面写好了一个矩阵广义求逆的C函数,只需给函数传递矩阵指针,矩阵的介数就能求出该矩阵的广义逆矩阵(The document contains a visualC++ project, which has written a matrix generalized inverse C function, just transfer the function of the matrix pointer, matrix betweenness, you can f