Adds two matrices after applying the specified operation to the operands.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> AddInto<T>(
Matrix<T> left,
TransposeOperation leftOperation,
Matrix<T> right,
TransposeOperation rightOperation,
Matrix<T> result
)
Public Shared Function AddInto(Of T) (
left As Matrix(Of T),
leftOperation As TransposeOperation,
right As Matrix(Of T),
rightOperation As TransposeOperation,
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ AddInto(
Matrix<T>^ left,
TransposeOperation leftOperation,
Matrix<T>^ right,
TransposeOperation rightOperation,
Matrix<T>^ result
)
static member AddInto :
left : Matrix<'T> *
leftOperation : TransposeOperation *
right : Matrix<'T> *
rightOperation : TransposeOperation *
result : Matrix<'T> -> Matrix<'T>
Parameters
- left
- Type: Extreme.MathematicsMatrixT
The first matrix. - leftOperation
- Type: Extreme.MathematicsTransposeOperation
A TransposeOperation value
that indicates which operation, if any, should be performed on
the matrix left before adding. - right
- Type: Extreme.MathematicsMatrixT
The second matrix. - 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 matrix whose elements are
the sum of the corresponding elements of
left and
right.
Reference