Vector.OuterProduct<T> Method

Returns a matrix that is the outer product of two vectors.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
C#
public static DenseMatrix<T> OuterProduct<T>(
	Vector<T> left,
	Vector<T> right
)

Parameters

left  Vector<T>
The first (column) vector.
right  Vector<T>
The second (row) vector.

Type Parameters

T

Return Value

DenseMatrix<T>
A dense matrix that is the outer product of left and right.

Exceptions

ArgumentNullException

left is null.

-or-

right is null.

See Also