VectorRandom Method (Int32, RandomGenerator)
|
Creates the vector of given size with elements uniformly
distributed in [0; 1].
Namespace:
FinMath.LinearAlgebra
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static Vector Random(
int size,
RandomGenerator random
)
Parameters
- size
- Type: SystemInt32
The size of vector to create.
- random
- Type: FinMath.StatisticsRandomGenerator
The random number generator.
Return Value
Type:
Vector
The created vector.
See Also