Adds a multiple of a matrix to another matrix
and returns the result.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Matrix<T> AddScaled<T>(
Matrix<T> left,
TransposeOperation leftOperation,
T factor,
Matrix<T> right,
TransposeOperation rightOperation
)
Public Shared Function AddScaled(Of T) (
left As Matrix(Of T),
leftOperation As TransposeOperation,
factor As T,
right As Matrix(Of T),
rightOperation As TransposeOperation
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ AddScaled(
Matrix<T>^ left,
TransposeOperation leftOperation,
T factor,
Matrix<T>^ right,
TransposeOperation rightOperation
)
static member AddScaled :
left : Matrix<'T> *
leftOperation : TransposeOperation *
factor : 'T *
right : Matrix<'T> *
rightOperation : TransposeOperation -> 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.
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.
Numerical Libraries
Supported in: 6.0
Reference