Click or drag to resize

NMathFunctionsOuterProduct(FloatVector, FloatVector) Method

Creates a matrix containing the outer product of two vectors.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatMatrix OuterProduct(
	FloatVector v,
	FloatVector w
)

Parameters

v  FloatVector
A vector.
w  FloatVector
A vector.

Return Value

FloatMatrix
A new matrix containing the outer product of v and w.
Remarks
Given two vectors v and w, the resulting matrix will have m rows and n columns where m is the length of v and n is the length of w.
See Also