| NMathFunctionsOuterProduct(DoubleVector, DoubleVector) 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 DoubleMatrix OuterProduct(
DoubleVector v,
DoubleVector w
)
Public Shared Function OuterProduct (
v As DoubleVector,
w As DoubleVector
) As DoubleMatrix
public:
static DoubleMatrix^ OuterProduct(
DoubleVector^ v,
DoubleVector^ w
)
static member OuterProduct :
v : DoubleVector *
w : DoubleVector -> DoubleMatrix
Parameters
- v DoubleVector
- A vector.
- w DoubleVector
- A vector.
Return Value
DoubleMatrixA 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