Interface IArray<T>
Interface to an array of arbitrary rank.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Collections
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface IArray<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name | Description |
---|---|
T |
Properties
Rank
Get the number of dimensions of the array.
Declaration
int Rank { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
GetLength(Int32)
Get the size of a specified dimension of a multidimensional array.
Declaration
int GetLength(int dimension)
Parameters
Type | Name | Description |
---|---|---|
Int32 | dimension | Zero-based dimension of the array. |
Returns
Type | Description |
---|---|
Int32 | The size of the specified dimension of the array. |