Returns the inner product (matrix-vector product) of a vector and a
banded matrix.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleComplexVector Product( DoubleComplexVector x, DoubleComplexBandMatrix A ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Product ( _ x As DoubleComplexVector, _ A As DoubleComplexBandMatrix _ ) As DoubleComplexVector |
| Visual C++ |
|---|
public: static DoubleComplexVector^ Product( DoubleComplexVector^ x, DoubleComplexBandMatrix^ A ) |
Parameters
- x
- Type: CenterSpace.NMath.Core..::.DoubleComplexVector
A vector.
- A
- Type: CenterSpace.NMath.Matrix..::.DoubleComplexBandMatrix
A banded matrix.
Return Value
The inner product (matrix-vector product) of x and A.
Remarks
This is equal to the inner product of A transpose 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. |