Constant Matrix<T>.Add Scaled As Right Core Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Add | Adds two matrices. |
Add | Adds a matrix and a vector broadcast along the specified dimension. |
AddScaledAsRightCore(Matrix<T>, T, Matrix<T>)
Adds two matrices.
protected override Matrix<T> AddScaledAsRightCore(
Matrix<T> left,
T factor,
Matrix<T> result
)
Parameters
- left Matrix<T>
- The left operand.
- factor T
- The scale factor for this matrix.
- 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 left and factor times the corresponding elements of this vector.
Exceptions
Dimension | This matrix and left do not have the same number of rows and columns. |