Distributed Provider.Copy Method
Definition
Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Copy<T>(Int32, Int32, Array2D<T>, Memory2D<T>) | Copies elements from a local array to a distributed array. |
Copy<T>(Int32, Int32, Memory2D<T>, Array2D<T>) | Copies elements from a distributed array to a local array. |
Copy<T>(Int32, Int32, Memory2D<T>, Memory2D<T>) | Copies elements from a distributed array to another distributed array. |
Copy<T>(Int32, Memory<T>, Int32, Memory<T>, Int32) | Copies elements from a distributed array to another distributed array. |
Copy<T>(Int32, Memory<T>, Int32, Span<T>, Int32) | Copies elements from a distributed array to a local array. |
Copy<T>(Int32, ReadOnlySpan<T>, Int32, Memory<T>, Int32) | Copies elements from a local array to a distributed array. |
Copy<T>(Int32, Int32, Array2D<T>, Memory2D<T>)
Copies elements from a local array to a distributed array.
public abstract void Copy<T>(
int rowCount,
int columnCount,
Array2D<T> source,
Memory2D<T> destination
)
where T : struct, new()
Parameters
- rowCount Int32
- The number of rows of the arrays.
- columnCount Int32
- The number of columns of the arrays.
- source Array2D<T>
- The local array to copy from.
- destination Memory2D<T>
- The distributed array to copy to.
Type Parameters
- T
- The element type of the arrays.
Copy<T>(Int32, Int32, Memory2D<T>, Array2D<T>)
Copies elements from a distributed array to a local array.
public abstract void Copy<T>(
int rowCount,
int columnCount,
Memory2D<T> source,
Array2D<T> destination
)
where T : struct, new()
Parameters
- rowCount Int32
- The number of rows of the arrays.
- columnCount Int32
- The number of columns of the arrays.
- source Memory2D<T>
- The distributed array to copy from.
- destination Array2D<T>
- The local array to copy to.
Type Parameters
- T
- The element type of the arrays.
Copy<T>(Int32, Int32, Memory2D<T>, Memory2D<T>)
Copies elements from a distributed array to another distributed array.
public abstract void Copy<T>(
int rowCount,
int columnCount,
Memory2D<T> source,
Memory2D<T> destination
)
where T : struct, new()
Parameters
- rowCount Int32
- The number of rows of the arrays.
- columnCount Int32
- The number of columns of the arrays.
- source Memory2D<T>
- The distributed array to copy from.
- destination Memory2D<T>
- The distributed array to copy to.
Type Parameters
- T
- The element type of the arrays.
Copy<T>(Int32, Memory<T>, Int32, Memory<T>, Int32)
Copies elements from a distributed array to another distributed array.
public abstract void Copy<T>(
int length,
Memory<T> source,
int sourceStride,
Memory<T> destination,
int destinationStride
)
where T : struct, new()
Parameters
- length Int32
- The length of the arrays.
- source Memory<T>
- The distributed array to copy from.
- sourceStride Int32
- The distance between elements in source.
- destination Memory<T>
- The distributed array to copy to.
- destinationStride Int32
- The distance between elements in destination.
Type Parameters
- T
- The element type of the arrays.
Copy<T>(Int32, Memory<T>, Int32, Span<T>, Int32)
Copies elements from a distributed array to a local array.
public abstract void Copy<T>(
int length,
Memory<T> source,
int sourceStride,
Span<T> destination,
int destinationStride
)
where T : struct, new()
Parameters
- length Int32
- The length of the arrays.
- source Memory<T>
- The distributed array to copy from.
- sourceStride Int32
- The distance between elements in source.
- destination Span<T>
- The local array to copy to.
- destinationStride Int32
- The distance between elements in destination.
Type Parameters
- T
- The element type of the arrays.
Copy<T>(Int32, ReadOnlySpan<T>, Int32, Memory<T>, Int32)
Copies elements from a local array to a distributed array.
public abstract void Copy<T>(
int length,
ReadOnlySpan<T> source,
int sourceStride,
Memory<T> destination,
int destinationStride
)
where T : struct, new()
Parameters
- length Int32
- The length of the arrays.
- source ReadOnlySpan<T>
- The local array to copy from.
- sourceStride Int32
- The distance between elements in source.
- destination Memory<T>
- The distributed array to copy to.
- destinationStride Int32
- The distance between elements in destination.
Type Parameters
- T
- The element type of the arrays.