|
MatrixRandom Method (Int32, IRandomNumberGenerator)
|
Note: This API is now obsolete.
Creates a vector with random data drawn from a given distribution.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use Vector.Random instead.")]
public static double[] Random(
int size,
IRandomNumberGenerator generator
)
<ObsoleteAttribute("Please use Vector.Random instead.")>
Public Shared Function Random (
size As Integer,
generator As IRandomNumberGenerator
) As Double()
Request Example
View SourceParameters
- size
- Type: SystemInt32
- generator
- Type: Accord.Math.RandomIRandomNumberGenerator
Return Value
Type:
DoubleSee Also