00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef MTL_MATRIX_LOWER_INCLUDE
00013 #define MTL_MATRIX_LOWER_INCLUDE
00014
00015 namespace mtl { namespace matrix {
00016
00017 namespace traits {
00018
00019 template <typename Matrix>
00020 struct lower
00021 {
00022 typedef typename traits::bands<Matrix>::type type;
00023 };
00024 }
00025
00027 template <typename Matrix>
00028 typename traits::lower<Matrix>::type
00029 inline lower(const Matrix& A)
00030 {
00031 return bands(A, std::numeric_limits<long>::min(), 1);
00032 }
00033
00034
00035
00036 }}
00037
00038 #endif // MTL_MATRIX_LOWER_INCLUDE