LAMA
|
Static class that offers some matrix operations for dense matrices. More...
#include <DenseMatrixOps.hpp>
Static Public Member Functions | |
template<typename T > | |
static void | invertReplicated (DenseMatrix< T > &matrix) |
Compute inverse of a square replicated matrix in-place. | |
template<typename T > | |
static void | invertCyclic (DenseMatrix< T > &matrix) |
Compute inverse of a square block-cyclic distributed matrix in-place. | |
template<typename T > | |
static void | invert (DenseMatrix< T > &matrix) |
Compute inverse of a square distributed or replicated matrix in-place. | |
Private Member Functions | |
LAMA_LOG_DECL_STATIC_LOGGER (logger) | |
Static Private Member Functions | |
static int | iceil (int inum, int idenom) |
Static class that offers some matrix operations for dense matrices.
static int lama::DenseMatrixOps::iceil | ( | int | inum, |
int | idenom | ||
) | [inline, static, private] |
template LAMA_DLL_IMPORTEXPORT void lama::DenseMatrixOps::invert | ( | DenseMatrix< T > & | matrix | ) | [static] |
Compute inverse of a square distributed or replicated matrix in-place.
References lama::Matrix::getColDistribution(), lama::Matrix::getColDistributionPtr(), lama::Distributed::getDistribution(), lama::Distributed::getDistributionPtr(), lama::Matrix::getNumRows(), invertCyclic(), invertReplicated(), LAMA_REGION, and lama::DenseMatrix< T >::redistribute().
template LAMA_DLL_IMPORTEXPORT void lama::DenseMatrixOps::invertCyclic | ( | DenseMatrix< T > & | matrix | ) | [static] |
Compute inverse of a square block-cyclic distributed matrix in-place.
References lama::CyclicDistribution::chunkSize(), lama::WriteAccess< T >::get(), lama::DenseMatrix< T >::getContextPtr(), lama::Distributed::getDistribution(), lama::Distributed::getDistributionPtr(), lama::DenseMatrix< T >::getLocalStorage(), lama::Matrix::getNumColumns(), lama::Matrix::getNumRows(), lama::LAMAInterface::getSCALAPACKInterface(), LAMA_ASSERT_EQUAL_ERROR, LAMA_ASSERT_ERROR, LAMA_REGION, and LAMA_THROWEXCEPTION.
Referenced by invert().
template LAMA_DLL_IMPORTEXPORT void lama::DenseMatrixOps::invertReplicated | ( | DenseMatrix< T > & | matrix | ) | [static] |
Compute inverse of a square replicated matrix in-place.
References lama::Matrix::getColDistribution(), lama::Distributed::getDistribution(), lama::DenseMatrix< T >::getLocalStorage(), LAMA_ASSERT_EQUAL_ERROR, and LAMA_REGION.
Referenced by invert().
lama::DenseMatrixOps::LAMA_LOG_DECL_STATIC_LOGGER | ( | logger | ) | [private] |