Generate 2000 random numbers by using the beta distribution with parameters a=2.5 and b=3.
Uses MtxExpr, StatRandom; procedure Example; var Res: Vector; begin Res.Size(2000); RandomBeta(2.5, 3, Res); end;
#include "MtxExpr.hpp" #include "StatRandom.hpp" void __fastcall Example() { sVector Res; Res.Size(2000,false); RandomBeta(2.5, 3, Res,-1); }
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|