代码搜索:查表法
找到约 10,000 项符合「查表法」的源代码
代码结果 10,000
www.eeworm.com/read/383321/8955006
cpp eigenvaluevectorrealsymmetryjacobi.cpp
//EigenvalueVectorRealSymmetryJacobi.cpp
//实对称阵特征值及特征向量雅可比法
#include //输入输出流头文件
#include "Matrix.h" //矩阵类及相关函数头文件
#include "EigenvalueVector.h" //特征值及特征向量头文件
using namespace
www.eeworm.com/read/283541/9009614
cpp xuanze2.cpp
//选择排序法(下沉)xuanze2.cpp
#include
#include
#include
#include
#define N 10
void gensort(int b[],int n)
{int i,j,k;
for(i=1;i
www.eeworm.com/read/283541/9009698
cpp xuanze5.cpp
//选择排序法xuanze5.cpp
//排序后不改变原数组各元素的值
#include
#include
#include
#include
#define M 10
void sortp(int d[],int *pd[],int b[],int size)
{int i,j,k;
for(i
www.eeworm.com/read/283541/9009709
cpp maopao3.cpp
//冒泡排序法(下沉)maopao3.cpp
#include
#include
#include
#include
#define N 10
void gensort(int b[],int n)
{int i,j;
for(i=1;i
www.eeworm.com/read/283541/9009740
cpp xuanze1.cpp
//选择排序法xuanze1.cpp
#include
#include
#include
#include
#define N 10
void gensort(int b[],int n)
{int i,j,k;
for(i=0;i
www.eeworm.com/read/283541/9009753
cpp xuanze4.cpp
//选择排序法(函数模板)xuanze4.cpp
// 排序不改变原数组各元素的值
#include
#include
#include
#include
#include
#define M 10
template
void sortp(T d[],T *pd
www.eeworm.com/read/283541/9010271
h tree.h
//树的孩子兄弟表示法为存储结构的结构体Tree.h
template class Tree;
template struct TreeNode
{friend class Tree;//树类为友元
private:
TreeNode *firstChild;//第一个孩子结点指针域
TreeNode *nextSibli
www.eeworm.com/read/283541/9010960
cpp erfenfa1.cpp
//二分查找法(递归调用)erfenfa1.cpp
#include
#include
#include
double a[10]={1.1,1.3,1.5,1.7,1.9,2.1,2.3,2.5,2.7,2.9};
void binsrch(int s,int r,double x)
{int m;
m=(s+r)
www.eeworm.com/read/426535/9014626
m ex3527.m
%例35-27:用Gauss-Serdel迭代法求解下列线性方程组。
A=[4 -1 1;-1 4.25 2.75;1 2.75 3.5]; %系数矩阵A
b=[13,-9,6]'; %矩阵B
[x,n]=gauseidel(A,b,[0,0,0]',1.0e-6)
www.eeworm.com/read/382367/9032776
m funfminu.m
options(6)=1;%拟牛顿法的DFP公式
options(7)=0;%混合的二次型和三次型插值
[x,options]=fminu('funrosen',[-1.2,2],options)
y=options(8) %输出在最后极值点的函数值
n=options(10)%给出函数计算次数