Creates a matrix containing the outer product of two vectors.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleComplexMatrix OuterProduct( DoubleComplexVector v, DoubleComplexVector w ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function OuterProduct ( _ v As DoubleComplexVector, _ w As DoubleComplexVector _ ) As DoubleComplexMatrix |
| Visual C++ |
|---|
public: static DoubleComplexMatrix^ OuterProduct( DoubleComplexVector^ v, DoubleComplexVector^ w ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.DoubleComplexVector
A vector.
- w
- Type: CenterSpace.NMath.Core..::.DoubleComplexVector
A vector.
Return Value
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.