| NMathFunctionsOuterProduct(FloatVector, FloatVector) Method |
Creates a matrix containing the outer product of two vectors.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatMatrix OuterProduct(
FloatVector v,
FloatVector w
)
Public Shared Function OuterProduct (
v As FloatVector,
w As FloatVector
) As FloatMatrix
public:
static FloatMatrix^ OuterProduct(
FloatVector^ v,
FloatVector^ w
)
static member OuterProduct :
v : FloatVector *
w : FloatVector -> FloatMatrix
Parameters
- v FloatVector
- A vector.
- w FloatVector
- A vector.
Return Value
FloatMatrixA 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