38 static_assert(std::is_base_of<IMatrix, T>::value,
"IMatrix is not a valid base");
39 return dynamic_cast<const T* const
>(&M) !=
nullptr;
47 static_assert(std::is_base_of<IVector, T>::value,
"IVector is not a valid base");
48 return dynamic_cast<const T* const
>(&M) !=
nullptr;
Interface for all matrices.
Interface for all vectors.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --