Click or drag to resize
Accord.NET (logo)

ToolsRandomSample Method

Note: This API is now obsolete.

Obsolete. Please use Sample(Int32, Int32) instead.

Namespace:  Accord.Statistics
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use Vector.Sample instead.")]
public static int[] RandomSample(
	int n,
	int k
)
Request Example View Source

Parameters

n
Type: SystemInt32
k
Type: SystemInt32

Return Value

Type: Int32
See Also