Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Function AddProductToVector ( _ alpha As Double, _ vector As Vector, _ trans As TransposeOperation, _ beta As Double, _ resultVector As GeneralVector _ ) As GeneralVector |
| C# |
|---|
public override GeneralVector AddProductToVector ( double alpha, Vector vector, TransposeOperation trans, double beta, GeneralVector resultVector ) |
| C++ |
|---|
public: virtual GeneralVector^ AddProductToVector ( double alpha, Vector^ vector, TransposeOperation trans, double beta, GeneralVector^ resultVector ) override |
Parameters
- alpha (System.Double)
- Multiplier for the vector-matrix product of this matrix with the vector vector.
- vector (Extreme.Mathematics.LinearAlgebra.Vector)
- A Matrix.
- trans (Extreme.Mathematics.LinearAlgebra.TransposeOperation)
- A TransposeOperation value that specifies the operation, if any, to be performed on this instance before the multiplication.
- beta (System.Double)
- Multiplier for the vector resultVector.
- resultVector (Extreme.Mathematics.LinearAlgebra.GeneralVector)
- The GeneralVector that is to contain the result of the multiplication.
Return Value
The vector resultVector.
Remarks
This method uses the level 2 BLAS routines DGEMV and DTRMV.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | vector is nullNothingnullptr.
-or- resultVector is nullNothingnullptr. |
| DimensionMismatchException | The length of resultVector does not equal the number of columns in vector. |