[REBOL] Re: Student Distribution
From: joel:neely:fedex at: 20-Feb-2002 7:22
Hi, Ladislav,
Ladislav Mecir wrote:
> I would like to define a Rebol function, that can compute
> values of the Student Distribution. Any pointers?
>
_Numerical_Recipes__The_Art_of_Scientific_Computation_
by Press, Flannery, Teukolsky, and Vetterling
(c) Cambridge University Press, 1986
ISBN 0-521-30811-9
describes the mathematics of Student's t and the incomplete
beta function in chapters 6 and 13, and presents both
FORTRAN and PASCAL code for the relevant functions. There
is a later edition of that book that uses C as the demo
language, if that's of any help.
-jn-
--
; sub REBOL {}; sub head ($) {@_[0]}
REBOL []
# despam: func [e] [replace replace/all e ":" "." "#" "@"]
; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"}
print head reverse despam "moc:xedef#yleen:leoj" ;