Class ReadOnlyArray
Inheritance
ReadOnlyArray
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public static class ReadOnlyArray
Methods
Create<T>()
Declaration
public static ReadOnlyArray<T> Create<T>()
Returns
Type Parameters
Create<T>(T)
Declaration
public static ReadOnlyArray<T> Create<T>(T elem)
Parameters
Type |
Name |
Description |
T |
elem |
|
Returns
Type Parameters
Create<T>(T, T)
Declaration
public static ReadOnlyArray<T> Create<T>(T elem1, T elem2)
Parameters
Type |
Name |
Description |
T |
elem1 |
|
T |
elem2 |
|
Returns
Type Parameters
CreateBuilder<T>(Int32)
Declaration
public static ReadOnlyArray<T>.Builder CreateBuilder<T>(int size)
Parameters
Type |
Name |
Description |
Int32 |
size |
|
Returns
Type Parameters
ToReadOnlyArray<T>(IEnumerable<T>)
Syntactic sugar for ReadOnlyArray{T}.CreateCopy(sequence)
Declaration
public static ReadOnlyArray<T> ToReadOnlyArray<T>(this IEnumerable<T> sequence)
Parameters
Returns
Type Parameters