NativeArray1D<T> Structure

Represents an array starting at an offset in an existing array.

Definition

Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public struct NativeArray1D<T>
Inheritance
Object  →  ValueType  →  NativeArray1D<T>

Type Parameters

T
The element type of the array.

Constructors

NativeArray1D<T> Constructs a new array.

Properties

Offset Gets the offset of the first element in the array.
Values Gets the storage array.

Methods

AsArray2DFrom Returns a 2D array with first element at the specified index and the specified leading dimension.
EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
From(Int32) Returns an array that starts at the specified index in the current array.
From(Int32, Int32) Returns an array slice that starts at the specified index in the current array.
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetIndex Gets the index of an element into the storage array.
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToArray Copies the specified number of elements to a .NET array.
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

Operators

Implicit(NativeArray1D<T> to NativeArraySlice<T>) Converts an array to an array slice with unit stride.

Fields

Empty Represents an empty array.

See Also