Degree

template<typename T>
struct Degree<T, std::enable_if_t<IsMatrix<T>>>

Defined in matrix.hpp.

Specialization of the adapter Degree for types T such that the value of IsMatrix<T> is true.

Tparam

T the type of matrices.

constexpr size_t operator()(T const &x) const noexcept

Returns x.number_of_rows().

Parameters

x – a matrix of type T.

Returns

a value of type size_t.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.