Adds a multiple of a matrix to another matrix
and returns the result.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> AddScaledInto<T>(
Matrix<T> left,
TransposeOperation leftOperation,
T factor,
Matrix<T> right,
TransposeOperation rightOperation,
Matrix<T> result
)
Public Shared Function AddScaledInto(Of T) (
left As Matrix(Of T),
leftOperation As TransposeOperation,
factor As T,
right As Matrix(Of T),
rightOperation As TransposeOperation,
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ AddScaledInto(
Matrix<T>^ left,
TransposeOperation leftOperation,
T factor,
Matrix<T>^ right,
TransposeOperation rightOperation,
Matrix<T>^ result
)
static member AddScaledInto :
left : Matrix<'T> *
leftOperation : TransposeOperation *
factor : 'T *
right : Matrix<'T> *
rightOperation : TransposeOperation *
result : Matrix<'T> -> Matrix<'T>
Parameters
- left
- Type: Extreme.MathematicsMatrixT
The left operand of the addition. - leftOperation
- Type: Extreme.MathematicsTransposeOperation
A TransposeOperation value
that indicates which operation, if any, should be performed on
this instance before adding. - factor
- Type: T
Multiplier for the matrix right. - right
- Type: Extreme.MathematicsMatrixT
A MatrixT. - rightOperation
- Type: Extreme.MathematicsTransposeOperation
A TransposeOperation value
that indicates which operation, if any, should be performed on
the matrix right before adding. - result
- Type: Extreme.MathematicsMatrixT
The matrix that is to hold the result. May be .
Type Parameters
- T
Return Value
Type:
MatrixTA
MatrixT that is the sum of the specified form of
this matrix and the matrix
right.
This method does not change this instance. The dimensions of the two
matrices must be compatible. Otherwise an exception of type
DimensionMismatchException is thrown.
Reference