|
|
|
|
@ -113,7 +113,12 @@ template<std::size_t size, class T> class Matrix: public RectangularMatrix<size,
|
|
|
|
|
template<class ...U> constexpr /*implicit*/ Matrix(const Vector<size, T>& first, const U&... next) noexcept: RectangularMatrix<size, size, T>(first, next...) {} |
|
|
|
|
|
|
|
|
|
/** @brief Construct matrix with one value for all elements */ |
|
|
|
|
constexpr explicit Matrix(T value) noexcept: RectangularMatrix<size, size, T>{typename Implementation::GenerateSequence<size>::Type(), value} {} |
|
|
|
|
constexpr explicit Matrix(T value) noexcept |
|
|
|
|
/** @todoc remove workaround when doxygen is sane */ |
|
|
|
|
#ifndef DOXYGEN_GENERATING_OUTPUT |
|
|
|
|
: RectangularMatrix<size, size, T>{typename Implementation::GenerateSequence<size>::Type(), value} |
|
|
|
|
#endif |
|
|
|
|
{} |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Construct matrix from another of different type |
|
|
|
|
|