You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > RandGauss Method > TMtxVec.RandGauss Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.RandGauss Method ()

The pseudo random sample generator with Gaussian distribution.

Pascal
function RandGauss: TMtxVec; overload;

Fills the calling object values with pseudo random samples following the Gaussian distribution with

var a: TVec; begin CreateIt(a); try a.Size(500,False); a.RandGauss; finally FreeIt(a); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!