DistributedProvider.Copy Method

Definition

Namespace: Extreme.Mathematics.Distributed
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Copy<T>(Int32, ArraySlice<T>, NativeArraySlice<T>) Copies elements from a local array to a distributed array.
Copy<T>(Int32, NativeArraySlice<T>, ArraySlice<T>) Copies elements from a distributed array to a local array.
Copy<T>(Int32, NativeArraySlice<T>, NativeArraySlice<T>) Copies elements from a distributed array to another distributed array.
Copy<T>(Int32, Int32, Array2D<T>, NativeArray2D<T>) Copies elements from a local array to a distributed array.
Copy<T>(Int32, Int32, NativeArray2D<T>, Array2D<T>) Copies elements from a distributed array to a local array.
Copy<T>(Int32, Int32, NativeArray2D<T>, NativeArray2D<T>) Copies elements from a distributed array to another distributed array.

Copy<T>(Int32, ArraySlice<T>, NativeArraySlice<T>)

Copies elements from a local array to a distributed array.
C#
public abstract void Copy<T>(
	int length,
	ArraySlice<T> source,
	NativeArraySlice<T> destination
)

Parameters

length  Int32
The length of the arrays.
source  ArraySlice<T>
The local array to copy from.
destination  NativeArraySlice<T>
The distributed array to copy to.

Type Parameters

T
The element type of the arrays.

Copy<T>(Int32, NativeArraySlice<T>, ArraySlice<T>)

Copies elements from a distributed array to a local array.
C#
public abstract void Copy<T>(
	int length,
	NativeArraySlice<T> source,
	ArraySlice<T> destination
)

Parameters

length  Int32
The length of the arrays.
source  NativeArraySlice<T>
The distributed array to copy from.
destination  ArraySlice<T>
The local array to copy to.

Type Parameters

T
The element type of the arrays.

Copy<T>(Int32, NativeArraySlice<T>, NativeArraySlice<T>)

Copies elements from a distributed array to another distributed array.
C#
public abstract void Copy<T>(
	int length,
	NativeArraySlice<T> source,
	NativeArraySlice<T> destination
)

Parameters

length  Int32
The length of the arrays.
source  NativeArraySlice<T>
The distributed array to copy from.
destination  NativeArraySlice<T>
The distributed array to copy to.

Type Parameters

T
The element type of the arrays.

Copy<T>(Int32, Int32, Array2D<T>, NativeArray2D<T>)

Copies elements from a local array to a distributed array.
C#
public abstract void Copy<T>(
	int rowCount,
	int columnCount,
	Array2D<T> source,
	NativeArray2D<T> destination
)

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  NativeArray2D<T>
The distributed array to copy to.

Type Parameters

T
The element type of the arrays.

Copy<T>(Int32, Int32, NativeArray2D<T>, Array2D<T>)

Copies elements from a distributed array to a local array.
C#
public abstract void Copy<T>(
	int rowCount,
	int columnCount,
	NativeArray2D<T> source,
	Array2D<T> destination
)

Parameters

rowCount  Int32
The number of rows of the arrays.
columnCount  Int32
The number of columns of the arrays.
source  NativeArray2D<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, NativeArray2D<T>, NativeArray2D<T>)

Copies elements from a distributed array to another distributed array.
C#
public abstract void Copy<T>(
	int rowCount,
	int columnCount,
	NativeArray2D<T> source,
	NativeArray2D<T> destination
)

Parameters

rowCount  Int32
The number of rows of the arrays.
columnCount  Int32
The number of columns of the arrays.
source  NativeArray2D<T>
The distributed array to copy from.
destination  NativeArray2D<T>
The distributed array to copy to.

Type Parameters

T
The element type of the arrays.

See Also