[Jprogramming] generating standard normal variates
Viktor Cerovski
viktor.cerovski at gmail.com
Fri Aug 15 05:15:01 HKT 2008
Ops, I've posted some before reading two posts of yours.
Anyhow:
Sherlock, Ric wrote:
>
> normalrand6b=: ] $ ,@((2 1 o."0 1 +:@:o.@:rand01) *"1 [: %:
> _2&*@:^.@:rand01)@>. at -:@(*/)
>
normalrand6c=: ] $ ,@((2 1 o."0 1 (o.2)*rand01) *"1 [: %:
_2&*@:^.@:rand01)@>. at -:@(*/)
--
View this message in context: http://www.nabble.com/generating-standard-normal-variates-tp18898408s24193p18989868.html
Sent from the J Programming mailing list archive at Nabble.com.
More information about the Programming
mailing list