Performs an outer product of the two vectors and puts the answer in the given matrix.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static void OuterProduct(
	FloatVector v,
	FloatVector w,
	FloatMatrix M
)
Visual Basic (Declaration)
Public Shared Sub OuterProduct ( _
	v As FloatVector, _
	w As FloatVector, _
	M As FloatMatrix _
)
Visual C++
public:
static void OuterProduct(
	FloatVector^ v, 
	FloatVector^ w, 
	FloatMatrix^ M
)

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeException Thrown if M isn't a matrix with v.Length rows and w.Length columns.

See Also