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,
T factor,
Matrix<T> right,
Matrix<T> result
)
Public Shared Function AddScaledInto(Of T) (
left As Matrix(Of T),
factor As T,
right As Matrix(Of T),
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ AddScaledInto(
Matrix<T>^ left,
T factor,
Matrix<T>^ right,
Matrix<T>^ result
)
static member AddScaledInto :
left : Matrix<'T> *
factor : 'T *
right : Matrix<'T> *
result : Matrix<'T> -> Matrix<'T>
Parameters
- left
- Type: Extreme.MathematicsMatrixT
The left operand of the addition. - factor
- Type: T
Multiplier for the matrix right. - right
- Type: Extreme.MathematicsMatrixT
A MatrixT. - 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