1 #ifndef MPQC_MATH_TENSOR_EXCEPTION_HPP
2 #define MPQC_MATH_TENSOR_EXCEPTION_HPP
4 #include "mpqc/utility/string.hpp"
5 #include <util/misc/scexception.h>
13 template<
typename Rank,
typename Dim1,
typename Dim2>
16 "dimensions mismatch (" +
20 template<
typename Rank1,
typename Rank2,
typename Dim1,
typename Dim2>
24 "dimensions mismatch (" +
31 template<
typename Rank,
typename Index,
typename Begin,
typename End>
35 "outside the dimensions [" +
41 template<
typename Rank,
typename Range,
typename Begin,
typename End>
45 "outside the dimensions [" +