代码搜索:查表法
找到约 10,000 项符合「查表法」的源代码
代码结果 10,000
www.eeworm.com/read/309176/3706588
cs sample5_13.cs
/*
* 示例程序Sample5_13: NLEquations类的求非线性方程组一组实根的蒙特卡洛法
*/
using System;
using CSharpAlgorithm.Algorithm;
namespace CSharpAlgorithm.Sample
{
class Class1
{
// 建立NLEquation的子类,在其中重
www.eeworm.com/read/277819/4150537
h 10_4.h
#ifndef SEARCH_METHODS
#define SEARCH_METHODS
//用顺序查找法在数组list中查找值为key的元素
//若找到,返回该元素下标,否则返回-1
template
int SeqSearch(T list[], int n, T key)
{
for(int i=0;i < n;i++)
if (l
www.eeworm.com/read/277819/4150668
h 10-4.h
#ifndef SEARCH_METHODS
#define SEARCH_METHODS
//用顺序查找法在数组list中查找值为key的元素
//若找到,返回该元素下标,否则返回-1
template
int SeqSearch(T list[], int n, T key)
{
for(int i=0;i < n;i++)
if (l
www.eeworm.com/read/392094/2516121
cs sample5_13.cs
/*
* 示例程序Sample5_13: NLEquations类的求非线性方程组一组实根的蒙特卡洛法
*/
using System;
using CSharpAlgorithm.Algorithm;
namespace CSharpAlgorithm.Sample
{
class Class1
{
// 建立NLEquation的子类,在其中重
www.eeworm.com/read/359766/2972139
m gauss.m
%顺序gauss消去法,gauss函数
function [A,u]=gauss(a,n)
for k=1:n-1
%消去过程
for i=k+1:n
for j=k+1:n+1
%如果a(k,k)=0,则不能消去
if abs(a(k,k))>1e-6
%计算第k步的增广矩阵
www.eeworm.com/read/359766/2972162
m funfminu.m
options(6)=1;%拟牛顿法的DFP公式
options(7)=0;%混合的二次型和三次型插值
[x,options]=fminu('funrosen',[-1.2,2],options)
y=options(8) %输出在最后极值点的函数值
n=options(10)%给出函数计算次数
www.eeworm.com/read/254498/4381989
cs sample5_13.cs
/*
* 示例程序Sample5_13: NLEquations类的求非线性方程组一组实根的蒙特卡洛法
*/
using System;
using CSharpAlgorithm.Algorithm;
namespace CSharpAlgorithm.Sample
{
class Class1
{
// 建立NLEquation的子类,在其中重
www.eeworm.com/read/295104/8187181
cpp divi.cpp
#include
#include
#include
#define Maxint 31623
int prime[Maxint+1];
int n_prime,best;
int calc_prime(int n) //用筛法求出在n范围内的素数列表
{
int i,j;
bool isprime[Ma
www.eeworm.com/read/393665/8270257
cpp eigenvaluevectorrealsymmetryjacobi.cpp
//EigenvalueVectorRealSymmetryJacobi.cpp
//实对称阵特征值及特征向量雅可比法
#include //输入输出流头文件
#include "Matrix.h" //矩阵类及相关函数头文件
#include "EigenvalueVector.h" //特征值及特征向量头文件
using namespace
www.eeworm.com/read/293620/8282098
h t9dispose.h
#pragma once
#include "HZK.h"
#include "SetControl.h"
class CDispose
{
public:
CZK *pZk;
UINT T9Type; //当前输入法类型(0为数字,1为字母,2为T9拼音)
UINT T9TypeOld;
int m_iKeyPress; //按键次数
int m