You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > RandGauss Method > TMtxVec.RandGauss Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVec.RandGauss Method ()

The pseudo random sample generator with Gaussian distribution.

Syntax
C#
Visual Basic
public TMtxVec RandGauss();

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

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a; MtxVec.CreateIt(out a); try { a.Size(500,false); a.RandGauss(); } finally { MtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!