Array 1D<T>.Read Only Span Method
Gets a read-only span of the specified length over the array.
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A read-only span of length elements starting at the first element in the array.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public ReadOnlySpan<T> ReadOnlySpan(
int length
)
Parameters
- length Int32
- The length of the span.
Return Value
ReadOnlySpan<T>A read-only span of length elements starting at the first element in the array.