LAMA
/home/brandes/workspace/LAMA/src/lama/matrix/DenseMatrixOps.hpp
Go to the documentation of this file.
00001 
00033 #ifndef LAMA_DENSE_MATRIX_OPS_HPP_
00034 #define LAMA_DENSE_MATRIX_OPS_HPP_
00035 
00036 // for dll_import
00037 #include <lama/config.hpp>
00038 
00039 // others
00040 #include <lama/matrix/DenseMatrix.hpp>
00041 
00042 namespace lama
00043 {
00044 
00052 class LAMA_DLL_IMPORTEXPORT DenseMatrixOps
00053 {
00054 public:
00055 
00058     template<typename T>
00059     static void invertReplicated( DenseMatrix<T>& matrix );
00060 
00063     template<typename T>
00064     static void invertCyclic( DenseMatrix<T>& matrix );
00065 
00068     template<typename T>
00069     static void invert( DenseMatrix<T>& matrix );
00070 
00071 private:
00072 
00073     LAMA_LOG_DECL_STATIC_LOGGER(logger);
00074 
00075     static int iceil(int inum, int idenom) {return (inum+idenom-1)/idenom;};
00076 };
00077 
00078 } // namespace lama
00079 
00080 #endif // LAMA_DENSE_MATRIX_OPS_HPP_