 | DoubleVector(Int32, RandomNumberStream, IRandomNumberDistributionDouble) Constructor |
Constructs a DoubleVector instance from a random number generator.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic DoubleVector(
int length,
RandomNumberStream rngStream,
IRandomNumberDistribution<double> distribution
)
Public Sub New (
length As Integer,
rngStream As RandomNumberStream,
distribution As IRandomNumberDistribution(Of Double)
)
public:
DoubleVector(
int length,
RandomNumberStream^ rngStream,
IRandomNumberDistribution<double>^ distribution
)
new :
length : int *
rngStream : RandomNumberStream *
distribution : IRandomNumberDistribution<float> -> DoubleVector
Parameters
- length Int32
- Length of the vector.
- rngStream RandomNumberStream
- Random number stream.
- distribution IRandomNumberDistributionDouble
- Distribution for random numbers.
See Also