Note: This API is now obsolete.
Multiplies a
VectorT by this instance
and stores the result in a second vector of type
DenseVectorT.
Namespace:
Extreme.Mathematics.LinearAlgebra
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
[ObsoleteAttribute("Use MultiplyAndAddInPlaceAsLeftFactorWith, ScaledMultiplyAsLeftWith, or one of their simpler variants instead.")]
public DenseVector<T> AddProductToVector(
T alpha,
Vector<T> vector,
TransposeOperation trans,
T beta,
DenseVector<T> resultVector
)
<ObsoleteAttribute("Use MultiplyAndAddInPlaceAsLeftFactorWith, ScaledMultiplyAsLeftWith, or one of their simpler variants instead.")>
Public Function AddProductToVector (
alpha As T,
vector As Vector(Of T),
trans As TransposeOperation,
beta As T,
resultVector As DenseVector(Of T)
) As DenseVector(Of T)
public:
[ObsoleteAttribute(L"Use MultiplyAndAddInPlaceAsLeftFactorWith, ScaledMultiplyAsLeftWith, or one of their simpler variants instead.")]
DenseVector<T>^ AddProductToVector(
T alpha,
Vector<T>^ vector,
TransposeOperation trans,
T beta,
DenseVector<T>^ resultVector
)
[<ObsoleteAttribute("Use MultiplyAndAddInPlaceAsLeftFactorWith, ScaledMultiplyAsLeftWith, or one of their simpler variants instead.")>]
member AddProductToVector :
alpha : 'T *
vector : Vector<'T> *
trans : TransposeOperation *
beta : 'T *
resultVector : DenseVector<'T> -> DenseVector<'T>
Parameters
- alpha
- Type: T
Multiplier for the vector-matrix product of
this matrix with the vector vector. - vector
- Type: Extreme.MathematicsVectorT
A VectorT. - trans
- Type: Extreme.MathematicsTransposeOperation
A TransposeOperation value that
specifies the operation, if any, to be performed on this instance before the
multiplication. - beta
- Type: T
Multiplier for the vector resultVector. - resultVector
- Type: Extreme.Mathematics.LinearAlgebraDenseVectorT
The DenseVectorT that is to contain the
result of the multiplication.
Return Value
Type:
DenseVectorTThe vector
resultVector.
Exception | Condition |
---|
ArgumentNullException | vector is .
-or- resultVector is . |
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. |
The length of the vector vector must equal the number of columns in this instance.
The length of the vector resultVector must equal the number of rows.
Reference