Template Class matrix_subtraction

Inheritance Relationships

Base Type

Class Documentation

template<typename M1, typename M2>
class cif::matrix_subtraction : public cif::matrix_expression<matrix_subtraction<M1, M2>>

Implementation of a substraction operation as a matrix expression.

tparam M1:

Type of matrix 1

tparam M2:

Type of matrix 2

Public Functions

inline matrix_subtraction(const M1 &m1, const M2 &m2)

constructor

inline constexpr std::size_t dim_m() const

Return dimension m.

inline constexpr std::size_t dim_n() const

Return dimension n.

inline constexpr auto operator()(std::size_t i, std::size_t j) const

Access to the value of element [ i, j ]