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,
TransposeOperation leftOperation,
Matrix<T> rightFactor,
TransposeOperation rightOperation
)
<ExtensionAttribute>
Public Shared Function AddScaledProduct(Of T) (
left As Matrix(Of T),
factor As T,
leftFactor As Matrix(Of T),
leftOperation As TransposeOperation,
rightFactor As Matrix(Of T),
rightOperation As TransposeOperation
) As Matrix(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Matrix<T>^ AddScaledProduct(
Matrix<T>^ left,
T factor,
Matrix<T>^ leftFactor,
TransposeOperation leftOperation,
Matrix<T>^ rightFactor,
TransposeOperation rightOperation
)
[<ExtensionAttribute>]
static member AddScaledProduct :
left : Matrix<'T> *
factor : 'T *
leftFactor : Matrix<'T> *
leftOperation : TransposeOperation *
rightFactor : Matrix<'T> *
rightOperation : TransposeOperation -> 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. - leftOperation
- Type: Extreme.MathematicsTransposeOperation
The operation to be performed on leftFactor before multiplying. - rightFactor
- Type: Extreme.MathematicsMatrixT
The right operand of the multiplication. - rightOperation
- Type: Extreme.MathematicsTransposeOperation
The operation to be performed on rightFactor before multiplying.
Type Parameters
- T
Return Value
Type:
MatrixTThe sum of
left with
factor times the
product of
leftFactor transformed as specified by
leftOperation
with
rightFactor transformed as specified by
rightOperation.
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