代码搜索:Infinity
找到约 1,499 项符合「Infinity」的源代码
代码结果 1,499
www.eeworm.com/read/281000/10274169
cpp fig09_32.cpp
void Graph::weightedNegative( Vertex s )
{
Queue q;
for each Vertex v
v.dist = INFINITY;
s.dist = 0;
q.enqueue( s );
while( !q.isEmpty( ) )
{
www.eeworm.com/read/426024/10293615
m cans.m
function [ S, PulseTitle ] = cans( T, omega, Pulse )
% Computes the source time series
% T is the time
% omega is some frequency characterizing the pulse
% Pulse is the
www.eeworm.com/read/353896/10407207
c dijk.c
#include "mex.h"
#include "iostream.h"
#include "stdlib.h"
#include "stdio.h"
#define INFINITY 10000
void dijkstra(double *g,int u1 ,int u2,double *out,double *value,int mrows,int ncols)
{doubl
www.eeworm.com/read/279620/10410038
cpp tushendu.cpp
#include
#include
#define INFINITY 32767
#define MAX_VEX 20 //最大顶点个数
bool *visited; //访问标志数组
//图的邻接矩阵存储结构
typedef struct{
char *vexs; //顶点向量
int arcs[MAX_VEX
www.eeworm.com/read/161189/10439803
m phi.m
%
% Calculates the normal distribution.
%
% z=phi(x)
%
% gives z=int((1/sqrt(2*pi))*exp(-t^2/2),t=-infinity..x)
%
function z=phi(x)
if (x >= 0)
z=.5+.5*erf(x/sqrt(2));
else
z=1-phi(-x);
en
www.eeworm.com/read/161189/10439855
m phi.m
%
% Calculates the normal distribution.
%
% z=phi(x)
%
% gives z=int((1/sqrt(2*pi))*exp(-t^2/2),t=-infinity..x)
%
function z=phi(x)
if (x >= 0)
z=.5+.5*erf(x/sqrt(2));
else
z=1-phi(-x);
en
www.eeworm.com/read/161189/10439932
m phi.m
%
% Calculates the normal distribution.
%
% z=phi(x)
%
% gives z=int((1/sqrt(2*pi))*exp(-t^2/2),t=-infinity..x)
%
function z=phi(x)
if (x >= 0)
z=.5+.5*erf(x/sqrt(2));
else
z=1-phi(-x);
en
www.eeworm.com/read/161189/10439946
m phi.m
%
% Calculates the normal distribution.
%
% z=phi(x)
%
% gives z=int((1/sqrt(2*pi))*exp(-t^2/2),t=-infinity..x)
%
function z=phi(x)
if (x >= 0)
z=.5+.5*erf(x/sqrt(2));
else
z=1-phi(-x);
en
www.eeworm.com/read/161189/10439962
m phi.m
%
% Calculates the normal distribution.
%
% z=phi(x)
%
% gives z=int((1/sqrt(2*pi))*exp(-t^2/2),t=-infinity..x)
%
function z=phi(x)
if (x >= 0)
z=.5+.5*erf(x/sqrt(2));
else
z=1-phi(-x);
en
www.eeworm.com/read/352747/10519037
cpp shortestdlg.cpp
// shortestDlg.cpp : implementation file
//
#include "stdafx.h"
#include "shortest.h"
#include "shortestDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[]