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