Matrix<T>.Addition Operator
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
| Addition( | Adds a matrix and a scalar. | 
| Addition( | Adds a matrix and a scalar. | 
| Addition( | Adds two matrices. | 
Addition(T, Matrix<T>) Operator
            Adds a matrix and a scalar.
            
public static Matrix<T> operator +(
	T value,
	Matrix<T> matrix
)Parameters
Return Value
Matrix<T>A matrix whose elements are the sum of the corresponding elements of matrix and value.
Exceptions
| Argument | matrix is null | 
Addition(Matrix<T>, T) Operator
            Adds a matrix and a scalar.
            
public static Matrix<T> operator +(
	Matrix<T> matrix,
	T value
)Parameters
Return Value
Matrix<T>A matrix whose elements are the sum of the corresponding elements of matrix and value.
Exceptions
| Argument | matrix is null | 
Addition(Matrix<T>, Matrix<T>) Operator
            Adds two matrices.
            
public static Matrix<T> operator +(
	Matrix<T> left,
	Matrix<T> right
)Parameters
Return Value
Matrix<T>A matrix whose elements are the sum of the corresponding elements of left and right.
Exceptions
| Argument | left is null -or- right is null  | 
| Dimension | left and right do not have the same length. |