Template Class matrix_scalar_multiplication

Inheritance Relationships

Base Type

Class Documentation

template<typename M, typename T>
class matrix_scalar_multiplication : public cif::matrix_expression<matrix_scalar_multiplication<M, T>>

Implementation of a multiplication operation of a matrix and a scalar value as a matrix expression.

Template Parameters
  • M1 – Type of matrix

  • M2 – Type of scalar value

Public Types

using value_type = T

value type

Public Functions

inline matrix_scalar_multiplication(const M &m, value_type v)

constructor

inline constexpr size_t dim_m() const

Return dimension m.

inline constexpr size_t dim_n() const

Return dimension n.

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

Access to the value of element [ i, j ]