DistributedProvider.MakeDistributed Method

Definition

Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

MakeDistributed<T>(Matrix<T>) Creates a distributed version of a matrix.
MakeDistributed<T>(Vector<T>) Creates a distributed version of a vector.
MakeDistributed<T>(Matrix<T>, Boolean) Creates a distributed version of a matrix.
MakeDistributed<T>(Vector<T>, Boolean) Creates a distributed version of a vector.

MakeDistributed<T>(Matrix<T>)

Creates a distributed version of a matrix.
C#
public DistributedMatrix<T> MakeDistributed<T>(
	Matrix<T> matrix
)
where T : struct, new()

Parameters

matrix  Matrix<T>
A matrix.

Type Parameters

T
The element type of the matrix.

Return Value

DistributedMatrix<T>
A distributed matrix whose local copy is matrix.

MakeDistributed<T>(Vector<T>)

Creates a distributed version of a vector.
C#
public DistributedVector<T> MakeDistributed<T>(
	Vector<T> vector
)
where T : struct, new()

Parameters

vector  Vector<T>
A vector.

Type Parameters

T
The element type of the vector.

Return Value

DistributedVector<T>
A distributed vector whose local copy is vector.

MakeDistributed<T>(Matrix<T>, Boolean)

Creates a distributed version of a matrix.
C#
public DistributedMatrix<T> MakeDistributed<T>(
	Matrix<T> matrix,
	bool copyData
)
where T : struct, new()

Parameters

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

Type Parameters

T
The element type of the matrix.

Return Value

DistributedMatrix<T>
A distributed matrix whose local copy is matrix.

MakeDistributed<T>(Vector<T>, Boolean)

Creates a distributed version of a vector.
C#
public DistributedVector<T> MakeDistributed<T>(
	Vector<T> vector,
	bool copyData
)
where T : struct, new()

Parameters

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

Type Parameters

T
The element type of the vector.

Return Value

DistributedVector<T>
A distributed vector whose local copy is vector.

See Also