DistributedExtensions.MakeDistributed Method

Definition

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

Overload List

MakeDistributed<T>(Matrix<T>) Returns a distributed version of a matrix.
MakeDistributed<T>(Vector<T>) Returns a distributed version of a vector.

MakeDistributed<T>(Matrix<T>)

Returns a distributed version of a matrix.
C#
public static DistributedMatrix<T> MakeDistributed<T>(
	this 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.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Matrix<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

This method only creates the distributed matrix. It does not transfer any data.

MakeDistributed<T>(Vector<T>)

Returns a distributed version of a vector.
C#
public static DistributedVector<T> MakeDistributed<T>(
	this 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.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

This method only creates the distributed vector. It does not transfer any data.

See Also