Click or drag to resize
Accord.NET (logo)

VectorSample Method

Overload List
  NameDescription
Public methodStatic memberCode exampleSample(Byte)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(Decimal)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(Double)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(Int16)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(Int32)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(Int64)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(SByte)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(Single)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(UInt16)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(UInt64)
Returns a vector containing indices (0, 1, 2, ..., n - 1) in random order. The vector grows up to to size, but does not include size among its values.
Public methodStatic memberCode exampleSample(Double, Byte)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, Decimal)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, Double)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, Int16)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, Int32)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, Int64)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, SByte)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, Single)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, UInt16)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Double, UInt64)
Returns a vector of the specified percentage of the populationSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, Byte)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, Decimal)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, Double)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, Int16)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, Int32)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, Int64)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, SByte)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, Single)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, UInt16)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberCode exampleSample(Int32, UInt64)
Returns a vector of the specified sampleSize containing non-repeating indices in the range [0, populationSize) in random order.
Public methodStatic memberSampleT(T, Int32)
Draws a random sample from a group of observations, without repetitions.
Top
See Also