Matrix<T>.Add Scaled As Left Core(T, Matrix<T>, Matrix<T>) Method
Adds two matrices.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix whose elements are the sum of the corresponding elements of this matrix and factor times right.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
protected virtual Matrix<T> AddScaledAsLeftCore(
T factor,
Matrix<T> right,
Matrix<T> result
)
Parameters
- factor T
- The scale factor for right.
- right Matrix<T>
- The right operand.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Return Value
Matrix<T>A matrix whose elements are the sum of the corresponding elements of this matrix and factor times right.
Exceptions
Dimension | This matrix and right do not have the same length. |