ArrayFunctions<T>.Copy Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

Copy(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>)

Copies one array to another.
C#
public void Copy(
	int length,
	ReadOnlySpanSlice<T> source,
	SpanSlice<T> destination
)

Parameters

length  Int32
The number of elements in the array.
source  ReadOnlySpanSlice<T>
The array to copy elements from..
destination  SpanSlice<T>
The array to copy elements to.

Copy(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Copies one array to another.
C#
public virtual void Copy(
	int length,
	ReadOnlySpan<T> source,
	int sourceStride,
	Span<T> destination,
	int destinationStride
)

Parameters

length  Int32
The number of elements in the array.
source  ReadOnlySpan<T>
The array to copy elements from..
sourceStride  Int32
The distance between elements in source.
destination  Span<T>
The array to copy elements to.
destinationStride  Int32
The distance between elements in destination.

See Also