Show / Hide Table of Contents

Class NDArrayRandomExtensions

Inheritance
System.Object
NDArrayRandomExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NumSharp.Extensions
Assembly: NumSharp.dll
Syntax
public static class NDArrayRandomExtensions

Methods

| Improve this Doc View Source

Permutation(NDArrayRandom, Int32)

Declaration
public static NDArray<int> Permutation(this NDArrayRandom rand, int max)
Parameters
Type Name Description
NDArrayRandom rand
System.Int32 max
Returns
Type Description
NDArray<System.Int32>
| Improve this Doc View Source

randint(NDArrayRandom, Int32, Nullable<Int32>, Shape)

Declaration
public static NDArray<int> randint(this NDArrayRandom rand, int low, int? high = default(int? ), Shape size = null)
Parameters
Type Name Description
NDArrayRandom rand
System.Int32 low
System.Nullable<System.Int32> high
Shape size
Returns
Type Description
NDArray<System.Int32>
| Improve this Doc View Source

Shuffle(NDArrayRandom, NDArray<Double>)

Declaration
public static void Shuffle(this NDArrayRandom rand, NDArray<double> list)
Parameters
Type Name Description
NDArrayRandom rand
NDArray<System.Double> list
  • Improve this Doc
  • View Source
Back to top Generated by DocFX