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 a.
- vector (Extreme.Mathematics.LinearAlgebra.Vector)
- A Vector.
- 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 b.
- 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 BLAS routine DGEMV.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | vector is nullNothingnullptr.
-or- resultVector is nullNothingnullptr. |
| DimensionMismatchException | The
length of the vector resultVector does not equal the
number of columns of this matrix.
-or- The length of the vector vector does not equal the number of rows of this matrix. |