Adds two matrices.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> Add<T>(
Matrix<T> left,
Matrix<T> right
)
Public Shared Function Add(Of T) (
left As Matrix(Of T),
right As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ Add(
Matrix<T>^ left,
Matrix<T>^ right
)
static member Add :
left : Matrix<'T> *
right : Matrix<'T> -> Matrix<'T>
Parameters
- left
- Type: Extreme.MathematicsMatrixT
The first matrix. - right
- Type: Extreme.MathematicsMatrixT
The second matrix.
Type Parameters
- T
Return Value
Type:
MatrixTA matrix whose elements are
the sum of the corresponding elements of
left and
right.
Reference