ReadOnlySpanSlice<T> Implicit  Conversion Operators

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

Implicit(ReadOnlySpan<T> to ReadOnlySpanSlice<T>) Implicitly converts a span to a span slice with unit stride.
Implicit(Span<T> to ReadOnlySpanSlice<T>) Implicitly converts a span to a span slice with unit stride.
Implicit(SpanSlice<T> to ReadOnlySpanSlice<T>) Implicitly converts a span slice to a read-only span slice.

Implicit Conversion (ReadOnlySpan<T> to ReadOnlySpanSlice<T>)

Implicitly converts a span to a span slice with unit stride.
C#
public static implicit operator ReadOnlySpanSlice<T> (
	ReadOnlySpan<T> span
)

Parameters

span  ReadOnlySpan<T>
The span to convert.

Return Value

ReadOnlySpanSlice<T>

Implicit Conversion (Span<T> to ReadOnlySpanSlice<T>)

Implicitly converts a span to a span slice with unit stride.
C#
public static implicit operator ReadOnlySpanSlice<T> (
	Span<T> span
)

Parameters

span  Span<T>
The span to convert.

Return Value

ReadOnlySpanSlice<T>

Implicit Conversion (SpanSlice<T> to ReadOnlySpanSlice<T>)

Implicitly converts a span slice to a read-only span slice.
C#
public static implicit operator ReadOnlySpanSlice<T> (
	SpanSlice<T> span
)

Parameters

span  SpanSlice<T>
The span to convert.

Return Value

ReadOnlySpanSlice<T>

See Also