Click or drag to resize

NMathFunctionsOuterProduct(DoubleVector, DoubleVector) 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 DoubleMatrix OuterProduct(
	DoubleVector v,
	DoubleVector w
)

Parameters

v  DoubleVector
A vector.
w  DoubleVector
A vector.

Return Value

DoubleMatrix
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