Unit
StatRandom
Uses MtxExpr, StatRandom; procedure Example; var Res: Vector; begin Res.Size(2000); RandomPoisson(2.31, Res); end;
#include "MtxVecCpp.h" #include "StatRandom.hpp" void __fastcall Example() { Vector Res; Res->Size(2000,false); RandomPoisson(2.31, Res,-1); }
using Dew.Math; using Dew.Stats.Units; namespace Dew.Examples { private void Example() { Vector r = new Vector(2000,false); StatRandom.RandomPoisson(2.31,r,-1); } }
| Copyright 2008 Dew Research |