| 12345678910111213141516171819 |
- #pragma once
- #include "math/matrix/forward.h"
- namespace math { namespace matrix {
- template <typename T> struct is_matrix {
- static const constexpr bool value = false;
- };
- template <typename T, size_t R, size_t C> struct is_matrix<matrix<T, R, C>> {
- static const constexpr bool value = true;
- };
- template <typename T, size_t N> struct is_matrix<vector::vector<T, N>> {
- static const constexpr bool value = true;
- };
- }}
|