代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
calc_pi.cpp
#include
#include
#include
#define R (10000)
#define N (19)
#define M ((int)(3.322*N*4))
SBIG a[3340];
int main( void )
{
int i;
cpd_to_pi.m
function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence)
% CPD_TO_PI Compute pi vector (noisyor)
% pi = CPD_to_pi(CPD, msg_type, n, ps, msg)
% Pearl p188 eqn 4.57
switch msg_type
case 'd',
cpd_to_pi.m
function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence)
% CPD_TO_PI Compute the pi vector (gaussian)
% function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence)
switch msg_type
case 'd'
cpd_to_pi.m
function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence)
% CPD_TO_PI Compute the pi vector (gaussian)
% function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence)
switch msg_type
case 'd'
cpd_to_pi.m
function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence)
% COMPUTE_PI Compute pi vector (discrete)
% pi = compute_pi(CPD, msg_type, n, ps, msg, evidence)
% Pearl p183 eq 4.51
switch msg_typ
cpd_to_pi.m
function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence)
% CPD_TO_PI Compute the pi vector (root)
% function pi = CPD_to_pi(CPD, msg_type, n, ps, msg, evidence)
self_ev = evidence{n};
switch
pi_malloc.vcp
# Microsoft eMbedded Visual Tools Project File - Name="PI_Malloc" - Package Owner=
# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02
# ** DO NOT EDIT **
# TARGTYPE "W
pi_malloc.cpp
// PI_Malloc.cpp,v 1.3 2004/01/07 22:40:16 shuston Exp
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_string.h"
// Listing 1 code/ch17
#include "ace/Malloc_T.h"
#include "ace/Null_Mutex.h"
eil51.pi
1 250.6249999999999
2 940.0000000000002
3 4.609375000000046
4 89.99999999999997
5 -10.078124999999947
6 -6.953124999999289
7 95.9765624999997
8 13.906250000000075
9 205.00000000000034
10 7.38