Array 1D<T> Implicit Conversion Operators
Definition
Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Implicit(T[] to Array1D<T>) | Implicitly converts a .NET array to an array with zero offset. |
Implicit(Array1D<T> to ArraySlice<T>) | Converts an array to an array slice with unit stride. |
Implicit Conversion (T[] to Array1D<T>)
Implicitly converts a .NET array to an array with zero offset.
public static implicit operator Array1D<T> (
T[] array
)
Parameters
- array T[]
- An array.
Return Value
Array1D<T>array as an array with zero offset.
Implicit Conversion (Array1D<T> to ArraySlice<T>)
Converts an array to an array slice with unit stride.
public static implicit operator ArraySlice<T> (
Array1D<T> array
)
Parameters
Return Value
ArraySlice<T>An array slice that is equivalent to array.