Class Array<T>
A one-dimensional array with value equality.
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
[DataContract]
public class Array<T> : ArrayBase<T>, IArray<T>, IList<T>, ICollection<T>, CanSetAllElementsTo<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, SettableTo<T[]>, SettableTo<Array<T>>, ICloneable, ConvertibleToArray
Type Parameters
Constructors
Array()
Parameterless constructor needed for serialization
Declaration
Array(T[])
Declaration
Parameters
Type |
Name |
Description |
T[] |
array |
|
Array(Array<T>)
Declaration
public Array(Array<T> that)
Parameters
Type |
Name |
Description |
Array<T> |
that |
|
Array(Int32)
Declaration
Parameters
Type |
Name |
Description |
Int32 |
length |
|
Properties
Rank
Declaration
public override int Rank { get; }
Property Value
Overrides
Microsoft.ML.Probabilistic.Collections.ArrayBase<T>.Rank
Methods
Clone()
Clone the array but not the items in the array.
Declaration
public virtual object Clone()
Returns
CopyTo(T[])
Declaration
public virtual void CopyTo(T[] array)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Microsoft.ML.Probabilistic.Collections.ArrayBase<T>.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Microsoft.ML.Probabilistic.Collections.ArrayBase<T>.GetHashCode()
GetLength(Int32)
Declaration
public override int GetLength(int dimension)
Parameters
Type |
Name |
Description |
Int32 |
dimension |
|
Returns
Overrides
Microsoft.ML.Probabilistic.Collections.ArrayBase<T>.GetLength(System.Int32)
SetTo(T[])
Declaration
public virtual void SetTo(T[] array)
Parameters
Type |
Name |
Description |
T[] |
array |
|
SetTo(Array<T>)
Declaration
public void SetTo(Array<T> that)
Parameters
Type |
Name |
Description |
Array<T> |
that |
|
ToArray()
Declaration
Returns
ToArray<TOutput>(Converter<T, TOutput>, Array<T>)
Declaration
public static TOutput[] ToArray<TOutput>(Converter<T, TOutput> itemConverter, Array<T> array)
Parameters
Type |
Name |
Description |
Converter<T, TOutput> |
itemConverter |
|
Array<T> |
array |
|
Returns
Type |
Description |
TOutput[] |
|
Type Parameters
Explicit Interface Implementations
ConvertibleToArray.ToArray()
Declaration
Array ConvertibleToArray.ToArray()
Returns
Implements
Extension Methods
IEnumerableExensions.ListZip<TFirst, TSecond, TThird, TFourth, TResult>(IList<TFirst>, IList<TSecond>, IList<TThird>, IList<TFourth>, Func<TFirst, TSecond, TThird, TFourth, TResult>)