Performs an outer product of the two vectors and puts the answer in the given matrix.
Namespace:
CenterSpace.NMath.CoreAssembly: 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 ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.FloatVector
A vector.
- w
- Type: CenterSpace.NMath.Core..::.FloatVector
A vector.
- M
- Type: CenterSpace.NMath.Core..::.FloatMatrix
A matrix.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if M isn't a matrix with v.Length rows and w.Length columns. |