DistributedProvider.TryMakeDistributed Method

Definition

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

Overload List

TryMakeDistributed<T>(Matrix<T>, Boolean, DistributedMatrix<T>) Creates a distributed version of a matrix and distributes the data to the device.
TryMakeDistributed<T>(Vector<T>, Boolean, DistributedVector<T>) Creates a distributed version of a vector and distributes the data to the device.

TryMakeDistributed<T>(Matrix<T>, Boolean, DistributedMatrix<T>)

Creates a distributed version of a matrix and distributes the data to the device.
C#
public bool TryMakeDistributed<T>(
	Matrix<T> matrix,
	bool copyData,
	out DistributedMatrix<T> result
)

Parameters

matrix  Matrix<T>
A matrix.
copyData  Boolean
true if the matrix elements should be copied to the distributed copy; otherwise false.
result  DistributedMatrix<T>
On return, the distributed matrix.

Type Parameters

T
The element type of the matrix.

Return Value

Boolean
A distributed matrix whose local copy is matrix.

TryMakeDistributed<T>(Vector<T>, Boolean, DistributedVector<T>)

Creates a distributed version of a vector and distributes the data to the device.
C#
public bool TryMakeDistributed<T>(
	Vector<T> vector,
	bool copyData,
	out DistributedVector<T> result
)

Parameters

vector  Vector<T>
A vector.
copyData  Boolean
true if the vector elements should be copied to the distributed copy; otherwise false.
result  DistributedVector<T>
On return, the distributed vector.

Type Parameters

T
The element type of the vector.

Return Value

Boolean
A distributed vector whose local copy is vector.

See Also