Span Extensions.Make 2D Method
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Make2D<T>(ReadOnlySpan<T>, Int32)
public static ReadOnlySpan2D<T> Make2D<T>(
this ReadOnlySpan<T> span,
int leadingDimension
)
Parameters
- span ReadOnlySpan<T>
- leadingDimension Int32
Type Parameters
- T
Return Value
ReadOnlySpan2D<T>Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ReadOnlySpan<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Make2D<T>(Span<T>, Int32)
public static Span2D<T> Make2D<T>(
this Span<T> span,
int leadingDimension
)
Parameters
Type Parameters
- T