#include <mat.h>

Public Member Functions | |
| MAT (MEM_POOL *mp=0) | |
| MAT (INT r, INT c, MEM_POOL *mp=0) | |
| MAT (const MAT< T > &a, MEM_POOL *mp=0) | |
| ~MAT () | |
| MAT< T > & | operator= (const MAT< T > &) |
| INT | Rows () const |
| INT | Cols () const |
| const T & | operator() (INT r, INT c) const |
| T & | operator() (INT r, INT c) |
| MAT< T > | operator+ (const MAT< T > &) const |
| MAT< T > & | operator+= (const MAT< T > &) |
| MAT< T > | operator- (const MAT< T > &) const |
| MAT< T > & | operator-= (const MAT< T > &) |
| MAT< T > | operator* (MAT< T > const &) const |
| MAT< T > & | operator*= (MAT< T > const &) |
| MAT< T > | operator* (T) const |
| MAT< T > & | operator*= (T) |
| MAT< T > | Trans () const |
| MAT< T > | Inv () const |
| MAT< T > | L () const |
| MAT< T > | U () const |
| MAT< T > & | D_Zero () |
| MAT< T > & | D_Identity () |
| MAT< T > & | D_Trans () |
| MAT< T > & | D_Inv () |
| MAT< T > & | D_Swap_Rows (INT, INT) |
| MAT< T > & | D_Swap_Cols (INT, INT) |
| MAT< T > & | D_Add_Row (const T f[]) |
| MAT< T > & | D_Add_Col (const T f[]) |
| MAT< T > & | D_Add_Rows (INT how_many, BOOL=FALSE) |
| MAT< T > & | D_Add_Cols (INT how_many, BOOL=FALSE) |
| MAT< T > & | D_Add_Identity_Rows_and_Cols (INT how_many) |
| MAT< T > & | D_Subtract_Rows (INT how_many) |
| MAT< T > & | D_Update_Row (INT row, const T *f) |
| MAT< T > & | D_Update_Col (INT col, const T *f) |
| MAT< T > & | D_Submul (const MAT< T > &mat, INT m, INT n) |
| BOOL | Is_Identity () const |
| void | Print (FILE *f) const |
| const MEM_POOL * | Pool () const |
| template<> | |
| MEM_POOL * | _default_pool |
| template<> | |
| MEM_POOL * | _default_pool |
| template<> | |
| MEM_POOL * | _default_pool |
| template<> | |
| MEM_POOL * | _default_pool |
| template<> | |
| IMAT | Inv () const |
| template<> | |
| DMAT | Inv () const |
| template<> | |
| MEM_POOL * | _default_pool |
Static Public Member Functions | |
| static MEM_POOL * | Set_Default_Pool (MEM_POOL *mp) |
| static MEM_POOL * | Default_Pool () |
Private Member Functions | |
| void | _expand (INT rx, INT cx) |
Static Private Member Functions | |
| static INT | _calcx (INT) |
| static void | Print_Element (FILE *f, T) |
Private Attributes | |
| INT | _r |
| INT | _c |
| INT | _rx |
| INT | _cx |
| T * | _data |
| MEM_POOL * | _pool |
Static Private Attributes | |
| static MEM_POOL * | _default_pool |
Friends | |
| MAT< T > | operator* (T a, MAT< T > const &m) |
Definition at line 299 of file mat.h.
Definition at line 71 of file mat.cxx.
References MAT< T >::_c, MAT< T >::_calcx(), MAT< T >::_cx, MAT< T >::_data, MAT< T >::_default_pool(), MAT< T >::_pool, MAT< T >::_r, MAT< T >::_rx, CXX_NEW_ARRAY, FmtAssert, and T.
Definition at line 87 of file mat.cxx.
References MAT< T >::_c, MAT< T >::_cx, MAT< T >::_data, MAT< T >::_default_pool(), MAT< T >::_pool, MAT< T >::_r, MAT< T >::_rx, CXX_NEW_ARRAY, FmtAssert, memcpy, NULL, and T.
Definition at line 149 of file mat.cxx.
References MAT< T >::_c, MAT< T >::_cx, MAT< T >::_data, MAT< T >::_pool, MAT< T >::_r, MAT< T >::_rx, CXX_DELETE_ARRAY, CXX_NEW_ARRAY, FmtAssert, memcpy, NULL, and T.
Definition at line 312 of file mat.h.
Referenced by MAT< T >::_expand(), SNL_DEP_MATRIX::Apply(), Compute_Footprint(), MAT< T >::D_Add_Cols(), MAT< T >::D_Add_Identity_Rows_and_Cols(), MAT< T >::D_Identity(), MAT< T >::D_Swap_Cols(), MAT< T >::D_Swap_Rows(), MAT< T >::D_Zero(), DMAT_to_IMAT(), SNL_BOUNDS_INFO::Exclude_Outer_Loops(), FMAT_to_IMAT(), IMAT_to_DMAT(), IMAT_to_FMAT(), RG::Insert(), MAT< T >::Is_Identity(), MAT< T >::L(), LU_MAT< T >::LU_MAT(), SNL_TILE_INFO::Nloops(), MAT< T >::operator*(), MAT< T >::operator*=(), MAT< T >::operator+(), MAT< T >::operator+=(), VECTOR_SPACE< T >::operator+=(), MAT< T >::operator-(), MAT< T >::operator-=(), MAT< T >::Print(), Region_Intersect(), RG::RG(), SNL_GEN_U_Ctiling(), SNL_TRANS_INDEX_DATA::SNL_TRANS_INDEX_DATA(), MAT< T >::Trans(), LU_MAT< T >::TUnfactor(), MAT< T >::U(), and Unimodular_To_Permutation().
Definition at line 313 of file mat.h.
Referenced by MAT< T >::_expand(), SYSTEM_OF_EQUATIONS::Add_Vars(), SNL_DEP_MATRIX::Apply(), Compute_Footprint(), MAT< T >::D_Add_Identity_Rows_and_Cols(), MAT< T >::D_Add_Rows(), MAT< T >::D_Identity(), MAT< T >::D_Swap_Cols(), MAT< T >::D_Swap_Rows(), MAT< T >::D_Zero(), DMAT_to_IMAT(), SNL_BOUNDS_INFO::Exclude_Outer_Loops(), FMAT_to_IMAT(), IMAT_to_DMAT(), IMAT_to_FMAT(), MAT< T >::Is_Identity(), MAT< T >::L(), LU_MAT< T >::LU_MAT(), MAT< T >::operator*(), MAT< T >::operator*=(), MAT< T >::operator+(), MAT< T >::operator+=(), MAT< T >::operator-(), MAT< T >::operator-=(), MAT< T >::Print(), SNL_TILE_INFO::Print(), Region_Intersect(), RG::RG(), SNL_GEN_U_Ctiling(), SNL_TRANS_INDEX_DATA::SNL_TRANS_INDEX_DATA(), SNL_TILE_INFO::Strips(), MAT< T >::Trans(), LU_MAT< T >::TUnfactor(), MAT< T >::U(), and Unimodular_To_Permutation().
Definition at line 185 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, c, MAT< T >::Cols(), MAT< T >::Default_Pool(), FmtAssert, INT, p, r, MAT< T >::Rows(), rr, and T.
Definition at line 206 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, c, MAT< T >::Cols(), FmtAssert, INT, p, r, MAT< T >::Rows(), and T.
Definition at line 224 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, c, MAT< T >::Cols(), MAT< T >::Default_Pool(), FmtAssert, INT, p, r, MAT< T >::Rows(), and T.
Definition at line 245 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, c, MAT< T >::Cols(), FmtAssert, INT, p, r, MAT< T >::Rows(), and T.
Definition at line 263 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, MAT< T >::Cols(), MAT< T >::Default_Pool(), FmtAssert, i, INT, MAT< T >::Rows(), and T.
Definition at line 290 of file mat.cxx.
References MAT< T >::Cols(), FmtAssert, and MAT< T >::Rows().
Definition at line 320 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, c, MAT< T >::Cols(), MAT< T >::Default_Pool(), INT, p, r, MAT< T >::Rows(), and T.
Definition at line 336 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, c, MAT< T >::Cols(), INT, p, r, MAT< T >::Rows(), and T.
Definition at line 349 of file mat.cxx.
References c, MAT< T >::Cols(), INT, r, and MAT< T >::Rows().
Referenced by MAT< T >::D_Trans(), and VECTOR_SPACE< T >::Proj_Matrix().
Referenced by MAT< T >::D_Inv(), VECTOR_SPACE< T >::Proj_Matrix(), and SNL_GEN_U_Ctiling().
Definition at line 571 of file mat.cxx.
References MAT< T >::Cols(), i, INT, and MAT< T >::Rows().
Referenced by LU_MAT< T >::TUnfactor().
Definition at line 591 of file mat.cxx.
References MAT< T >::Cols(), i, INT, and MAT< T >::Rows().
Referenced by LU_MAT< T >::TUnfactor().
Definition at line 369 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, c, MAT< T >::Cols(), INT, p, r, MAT< T >::Rows(), T, and zero.
Referenced by RG::RG(), and SNL_TILE_INFO::SNL_TILE_INFO().
Definition at line 383 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, c, MAT< T >::Cols(), INT, one, p, r, MAT< T >::Rows(), T, and zero.
Referenced by SNL_DEP_INFO::U_Fully_Permutable().
Definition at line 565 of file mat.cxx.
References MAT< T >::Inv().
Referenced by MAT< T >::_default_pool(), and MAT< T >::Inv().
Definition at line 398 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, cc, MAT< T >::Cols(), FmtAssert, INT, p1, p2, MAT< T >::Rows(), T, and x.
Definition at line 418 of file mat.cxx.
References MAT< T >::Cols(), FmtAssert, INT, r, MAT< T >::Rows(), T, and x.
Referenced by SNL_BOUNDS_INFO::Canonicize(), and SNL_BOUNDS_INFO::Exclude_Outer_Loops().
Definition at line 459 of file mat.cxx.
References MAT< T >::_r, MAT< T >::D_Add_Rows(), MAT< T >::D_Update_Row(), and FALSE.
Definition at line 467 of file mat.cxx.
References MAT< T >::_c, MAT< T >::D_Add_Cols(), MAT< T >::D_Update_Col(), and FALSE.
| MAT< T > & MAT< T >::D_Add_Rows | ( | INT | how_many, | |
| BOOL | init_to_zero = FALSE | |||
| ) | [inline] |
Definition at line 475 of file mat.cxx.
References MAT< T >::_calcx(), MAT< T >::_cx, MAT< T >::_data, MAT< T >::_expand(), MAT< T >::_r, MAT< T >::_rx, MAT< T >::Cols(), INT, Is_True, and T.
Referenced by SYSTEM_OF_EQUATIONS::Add_Eq(), SYSTEM_OF_EQUATIONS::Add_Le(), MAT< T >::D_Add_Identity_Rows_and_Cols(), and MAT< T >::D_Add_Row().
| MAT< T > & MAT< T >::D_Add_Cols | ( | INT | how_many, | |
| BOOL | init_to_zero = FALSE | |||
| ) | [inline] |
Definition at line 508 of file mat.cxx.
References MAT< T >::_c, MAT< T >::_calcx(), MAT< T >::_cx, MAT< T >::_data, MAT< T >::_expand(), MAT< T >::_rx, INT, Is_True, MAT< T >::Rows(), and T.
Referenced by SYSTEM_OF_EQUATIONS::Add_Vars(), MAT< T >::D_Add_Col(), and MAT< T >::D_Add_Identity_Rows_and_Cols().
Definition at line 529 of file mat.cxx.
References MAT< T >::_r, MAT< T >::Cols(), MAT< T >::D_Add_Cols(), MAT< T >::D_Add_Rows(), FmtAssert, INT, MAT< T >::Rows(), T, and TRUE.
Referenced by SNL_GEN_U_Ctiling().
Referenced by MAT< T >::D_Add_Row().
Referenced by MAT< T >::D_Add_Col(), and LU_MAT< T >::Inv().
Definition at line 541 of file mat.cxx.
References MAT< T >::Cols(), FALSE, FmtAssert, INT, MAT< T >::Rows(), and TRUE.
Referenced by SNL_DEP_INFO::U_Fully_Permutable().
Definition at line 553 of file mat.cxx.
References MAT< T >::Cols(), fprintf(), INT, MAT< T >::Print_Element(), and MAT< T >::Rows().
Referenced by PF_UGS::PF_UGS(), PF_UGS::Print(), RG::Print(), SNL_TILE_INFO::Print(), WBT_MAT_FRAC(), and WBT_MAT_INT().
Definition at line 362 of file mat.h.
Referenced by MAT< T >::Inv(), One_Cache_Model(), Prefetch_Auto(), Set_Cache_Model_Statics(), and SNL_GEN_U_Ctiling().
Definition at line 368 of file mat.h.
Referenced by MAT< T >::_default_pool(), DMAT_to_IMAT(), FMAT_to_IMAT(), IMAT_to_DMAT(), MAT< T >::Inv(), MAT< T >::operator*(), MAT< T >::operator+(), and MAT< T >::operator-().
Definition at line 104 of file mat.cxx.
References FmtAssert, i, and INT.
Referenced by MAT< T >::D_Add_Cols(), MAT< T >::D_Add_Rows(), and MAT< T >::MAT().
Referenced by MAT< T >::Print().
Definition at line 122 of file mat.cxx.
References MAT< T >::_cx, MAT< T >::_data, MAT< T >::_pool, MAT< T >::_rx, c, MAT< T >::Cols(), CXX_DELETE_ARRAY, CXX_NEW_ARRAY, FmtAssert, INT, p, r, MAT< T >::Rows(), and T.
Referenced by MAT< T >::D_Add_Cols(), and MAT< T >::D_Add_Rows().
| MEM_POOL * MAT< int >::_default_pool | ( | ) | [inline] |
Definition at line 86 of file ipa_section_main.cxx.
Referenced by MAT< signed int >::Default_Pool(), MAT< T >::MAT(), and MAT< signed int >::Set_Default_Pool().
| MEM_POOL * MAT< mINT32 >::_default_pool | ( | ) | [inline] |
Definition at line 98 of file access_vector.cxx.
| MEM_POOL * MAT< mINT32 >::_default_pool | ( | ) | [inline] |
Definition at line 65 of file mat_textra.cxx.
| MEM_POOL * MAT< double >::_default_pool | ( | ) | [inline] |
Definition at line 67 of file mat_textra.cxx.
References MAT< T >::_c, MAT< T >::_r, MAT< T >::D_Inv(), MAT< T >::Default_Pool(), FMAT_to_IMAT(), FmtAssert, IMAT_to_FMAT(), and MAT< FRAC >::Set_Default_Pool().
Definition at line 94 of file mat_textra.cxx.
References MAT< T >::_c, MAT< T >::_r, MAT< T >::D_Inv(), MAT< T >::Default_Pool(), DMAT_to_IMAT(), FmtAssert, IMAT_to_DMAT(), and MAT< T >::Set_Default_Pool().
Definition at line 120 of file mat_textra.cxx.
References MAT< T >::_c, MAT< T >::_r, MAT< T >::Default_Pool(), FmtAssert, LU_MAT< T >::Inv(), and lu.
| MEM_POOL * MAT< mINT32 >::_default_pool | ( | ) | [inline] |
Definition at line 53 of file f90_lower_dep.cxx.
Definition at line 373 of file mat.h.
Referenced by MAT< T >::_default_pool(), MAT< T >::D_Add_Identity_Rows_and_Cols(), MAT< T >::D_Add_Row(), MAT< T >::D_Add_Rows(), MAT< T >::D_Subtract_Rows(), MAT< FRAC >::Inv(), MAT< T >::Inv(), MAT< T >::MAT(), MAT< signed int >::operator()(), MAT< T >::operator=(), and MAT< signed int >::Rows().
Definition at line 374 of file mat.h.
Referenced by MAT< T >::_default_pool(), MAT< signed int >::Cols(), MAT< T >::D_Add_Col(), MAT< T >::D_Add_Cols(), MAT< FRAC >::Inv(), MAT< T >::Inv(), MAT< T >::MAT(), MAT< signed int >::operator()(), and MAT< T >::operator=().
Definition at line 375 of file mat.h.
Referenced by MAT< T >::_expand(), MAT< T >::D_Add_Cols(), MAT< T >::D_Add_Rows(), MAT< T >::D_Subtract_Rows(), MAT< T >::MAT(), and MAT< T >::operator=().
Definition at line 376 of file mat.h.
Referenced by MAT< T >::_expand(), MAT< T >::D_Add_Cols(), MAT< T >::D_Add_Rows(), MAT< T >::D_Identity(), MAT< T >::D_Swap_Rows(), MAT< T >::D_Zero(), MAT< T >::MAT(), MAT< signed int >::operator()(), MAT< T >::operator*(), MAT< T >::operator*=(), MAT< T >::operator+(), MAT< T >::operator+=(), MAT< T >::operator-(), MAT< T >::operator-=(), and MAT< T >::operator=().
Definition at line 377 of file mat.h.
Referenced by MAT< T >::_expand(), MAT< T >::D_Add_Cols(), MAT< T >::D_Add_Rows(), MAT< T >::D_Identity(), MAT< T >::D_Swap_Rows(), MAT< T >::D_Zero(), MAT< T >::MAT(), MAT< signed int >::operator()(), MAT< T >::operator*(), MAT< T >::operator*=(), MAT< T >::operator+(), MAT< T >::operator+=(), MAT< T >::operator-(), MAT< T >::operator-=(), MAT< T >::operator=(), and MAT< signed int >::~MAT().
Definition at line 378 of file mat.h.
Referenced by MAT< T >::_expand(), MAT< T >::MAT(), MAT< T >::operator=(), MAT< signed int >::Pool(), and MAT< signed int >::~MAT().
MEM_POOL * MAT< T >::_default_pool [static, private] |
1.5.6