Returns the inner product (matrix-vector product) of a vector and a
symmetric banded matrix.
Namespace: CenterSpace.NMath.MatrixAssembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0
Syntax
| C# |
|---|
public static FloatVector Product( FloatVector x, FloatSymBandMatrix A ) |
| Visual Basic |
|---|
Public Shared Function Product ( _ x As FloatVector, _ A As FloatSymBandMatrix _ ) As FloatVector |
| Visual C++ |
|---|
public: static FloatVector^ Product( FloatVector^ x, FloatSymBandMatrix^ A ) |
Parameters
- x
- Type: CenterSpace.NMath.Core..::..FloatVector
A vector.
- A
- Type: CenterSpace.NMath.Matrix..::..FloatSymBandMatrix
A symmetric banded matrix.
Return Value
The inner product (matrix-vector product) of x and A.
Remarks
Since A is symmetric his is equal to the inner product of A and x.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::..MismatchedSizeException | Thrown if the length of x is not equal to the number of rows in A. |