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