代码搜索:移相法
找到约 10,000 项符合「移相法」的源代码
代码结果 10,000
www.eeworm.com/read/392094/2516113
cs sample5_2.cs
/*
* 示例程序Sample5_2: NLEquations类的求非线性方程一个实根的牛顿法
*/
using System;
using CSharpAlgorithm.Algorithm;
namespace CSharpAlgorithm.Sample
{
class Class1
{
// 建立NLEquation的子类,在其中重载函数f
www.eeworm.com/read/382791/2626494
h calculate.h
#include "math.h"
//用混合同余法产生(a,b)区间上的随机数yi.
double uniform(double a,double b,long *seed)
{
double t;
*seed=2045*(*seed)+1;
*seed=*seed-(*seed/1048576)*1048576;
t=(*seed)/1048576.0;
t=a+(b
www.eeworm.com/read/371561/2779545
java bubblesorting.java
//用冒泡法实现排序.
class BubbleSorting {
public static void main(String args[]){
//最初的数组.
int []list={1,5,4,2,3,8,9,7,6,12};
//显示最初的数组.
System.out.println("最初数组:");
for(int i=0;i
www.eeworm.com/read/267735/4262009
h calculate.h
#include "math.h"
//用混合同余法产生(a,b)区间上的随机数yi.
double uniform(double a,double b,long *seed)
{
double t;
*seed=2045*(*seed)+1;
*seed=*seed-(*seed/1048576)*1048576;
t=(*seed)/1048576.0;
t=a+(b
www.eeworm.com/read/254498/4381981
cs sample5_2.cs
/*
* 示例程序Sample5_2: NLEquations类的求非线性方程一个实根的牛顿法
*/
using System;
using CSharpAlgorithm.Algorithm;
namespace CSharpAlgorithm.Sample
{
class Class1
{
// 建立NLEquation的子类,在其中重载函数f
www.eeworm.com/read/475726/6776401
cpp algo0702.cpp
Status CreateUDN(MGraph &G) {// 算法 7.2
// 采用数组(邻接矩阵)表示法,构造无向网G。
int i,j,k,w;
VertexType v1,v2;
printf("G.vexnum :" ); scanf("%d",&G.vexnum);
printf("G.arcnum :"); scanf("%d",&G.a
www.eeworm.com/read/473097/6856326
java bubblesorting.java
//用冒泡法实现排序.
class BubbleSorting {
public static void main(String args[]){
//最初的数组.
int []list={1,5,4,2,3,8,9,7,6,12};
//显示最初的数组.
System.out.println("最初数组:");
for(int i=0;i
www.eeworm.com/read/195003/8179618
res uipy_word.res
/*********************************************************************/
// 文 件 名: uiPY_Word.res
// 程序说明: 拼音输入法候选字资源文件
// 程序设计: 张学平
// 2001.11.05 设计完成 说明文档:R004-S240-0001
// 程序审查: 宋军霞
//
www.eeworm.com/read/295225/8179780
m genh0.m
function [H]=genH0(rows,cols)
%[H]=genH0(rows,cols)
%对应§2.5.4 完全随机的构造法,但不尝试删除4环
row_flag(1:rows)=0;
parity_check=sparse(rows,cols);
% Set Random number generators initial state
% reset rando
www.eeworm.com/read/295135/8185588
h calculate.h
#include "math.h"
//用混合同余法产生(a,b)区间上的随机数yi.
double uniform(double a,double b,long *seed)
{
double t;
*seed=2045*(*seed)+1;
*seed=*seed-(*seed/1048576)*1048576;
t=(*seed)/1048576.0;
t=a+(b