代码搜索结果

找到约 36,166 项符合 Raspberry Pi 的代码

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

compute_bel.m

function bel = compute_bel(msg_type, pi, lambda) switch msg_type, case 'd', bel = normalise(pi .* lambda); case 'g', if isinf(lambda.precision) % ignore pi because lambda is completely certa

const.in

whatis PI whatis N whatis MESSAGE whatis CH whatis p.R print "p.R =", p.R print "CH =", CH print "MESSAGE =", MESSAGE print "N =", N print "PI =", PI

pi.pl

# --------------------------------------------------------------------------- # pi.perl computes pi (3.14...) about 5120 Digits # # W. Kebsch, July-1988 {uunet!mcvax}!unido!nixpbe!kebsch $my_name =

pi.cal

/* * Copyright (c) 1993 David I. Bell * Permission is granted to use, distribute, or modify this source, * provided that this copyright notice remains intact. * * Calculate pi within the specifie

pi

name PI internalname Palatino-Italic slant 10 spacewidth 250 encoding text.enc ligatures fi fl 0 kernpairs A y -55 A w -37 A v -37 A ' -55 A Y -55 A W -55 A V -74 A T -55 F . -111 F , -111 F A -111 L

how_pi

@(#)how_pi 1.1 (Berkeley) 3/2/81 To translate a program using pi, place the source in a file whose name ends in the characters ".p", i.e. "prog.p". The command pi prog.p will translate the program i

t10.p

program expon2(output); var pi, spi: real; function power(x: real; y: integer): real; var z: real; begin z := 1; while y>0 do begin while not odd(y) do begin y := y div 2; x

codetc5.dat

break 语句 功能:用来从从循环体内跳出循环体,即提前结束循环,接首执行下面的语句。例如:    for(r=1;r100)break; printf("%f",tp); } 形式:break; 说明:break语句不能用于循环