Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

size
Type: SystemInt32
generator
Type: Accord.Math.RandomIRandomNumberGenerator

Return Value

Type: Double
See Also