Adds the scaled product of two matrices to another matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> AddScaledProduct<T>(
this Matrix<T> left,
T factor,
Matrix<T> leftFactor,
Matrix<T> rightFactor
)
<ExtensionAttribute>
Public Shared Function AddScaledProduct(Of T) (
left As Matrix(Of T),
factor As T,
leftFactor As Matrix(Of T),
rightFactor As Matrix(Of T)
) As Matrix(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Matrix<T>^ AddScaledProduct(
Matrix<T>^ left,
T factor,
Matrix<T>^ leftFactor,
Matrix<T>^ rightFactor
)
[<ExtensionAttribute>]
static member AddScaledProduct :
left : Matrix<'T> *
factor : 'T *
leftFactor : Matrix<'T> *
rightFactor : Matrix<'T> -> Matrix<'T>
Parameters
- left
- Type: Extreme.MathematicsMatrixT
The left operand of the addition. - factor
- Type: T
The scale factor for the matrix-matrix product. - leftFactor
- Type: Extreme.MathematicsMatrixT
A matrix that acts as the left operand of the multiplication. - rightFactor
- Type: Extreme.MathematicsMatrixT
The right operand of the multiplication.
Type Parameters
- T
Return Value
Type:
MatrixTThe sum of
left with
factor times the
product of
leftFactor with
rightFactor.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MatrixT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference