Class template Dune::XT::LA::CommonSparseOrDenseMatrix¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
class Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>¶ A matrix implementation checking whether the matrix is sparse enough to use sparse matrix operations.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::operator=¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
ThisType &Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::operator=(const ThisType &other)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::operator=¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
ThisType &Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::operator=(const DenseMatrixType &other)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::copy¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline ThisType Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::copy() const¶ \ {
Required by ContainerInterface.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::scal¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::scal(const ScalarType &alpha)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::axpy¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::axpy(const ScalarType &alpha, const ThisType &xx)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::has_equal_shape¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline bool Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::has_equal_shape(const ThisType &other) const¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::rows¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline int Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::rows() const¶
Method Dune::XT::LA::CommonSparseOrDenseMatrix::cols¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline int Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::cols() const¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::add_to_entry¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::add_to_entry(const int rr, const int cc, const ScalarType &value)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::get_entry¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline ScalarType Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::get_entry(const int rr, const int cc) const¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::set_entry¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::set_entry(const int rr, const int cc, const ScalarType value)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::clear_row¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::clear_row(const int rr)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::clear_col¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::clear_col(const int cc)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::unit_row¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::unit_row(const int rr)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::unit_col¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
inline void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::unit_col(const int cc)¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::valid¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
bool Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::valid() const¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::non_zeros¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
int Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::non_zeros() const final¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::pattern¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
SparsityPatternDefault Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::pattern(const bool prune = false, const EpsType eps) const override¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::sparse¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
bool Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::sparse() const¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::sparse_matrix¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
SparseMatrixType &Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::sparse_matrix()¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::sparse_matrix¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
const SparseMatrixType &Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::sparse_matrix() const¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::dense_matrix¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
DenseMatrixType &Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::dense_matrix()¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::dense_matrix¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
const DenseMatrixType &Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::dense_matrix() const¶ No documentation provided.
Method Dune::XT::LA::CommonSparseOrDenseMatrix::rightmultiply¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::rightmultiply(const ThisType &other)¶ No documentation provided.
Constructor Dune::XT::LA::CommonSparseOrDenseMatrix::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>¶
-
template<>
template<class DenseMatrixImp, class SparseMatrixImp>
Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>(const int rr, const int cc, const SparsityPatternDefault &patt, const int num_mutexes = 1, EpsType eps)¶ This is the constructor of interest which creates a sparse matrix.
Constructor Dune::XT::LA::CommonSparseOrDenseMatrix::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>¶
-
template<>
template<class DenseMatrixImp, class SparseMatrixImp>
explicit Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>(const int rr = 0, const int cc = 0, const ScalarType &value = ScalarType(0), const int num_mutexes = 1, bool use_sparse_if_zero = true, const EpsType eps)¶ No documentation provided.
Constructor Dune::XT::LA::CommonSparseOrDenseMatrix::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>¶
-
template<>
template<class DenseMatrixImp, class SparseMatrixImp>
Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>(const int rr, const int cc, const int num_mutexes, bool use_sparse = true)¶ No documentation provided.
Constructor Dune::XT::LA::CommonSparseOrDenseMatrix::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>¶
-
template<>
template<class DenseMatrixImp, class SparseMatrixImp>
Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>(const ThisType &other)¶ No documentation provided.
Field Dune::XT::LA::CommonSparseOrDenseMatrix::sparse_¶
-
bool Dune::XT::LA::CommonSparseOrDenseMatrix::sparse_¶
No documentation provided.
Field Dune::XT::LA::CommonSparseOrDenseMatrix::sparse_matrix_¶
-
SparseMatrixType Dune::XT::LA::CommonSparseOrDenseMatrix::sparse_matrix_¶
No documentation provided.
Field Dune::XT::LA::CommonSparseOrDenseMatrix::dense_matrix_¶
-
DenseMatrixType Dune::XT::LA::CommonSparseOrDenseMatrix::dense_matrix_¶
No documentation provided.
Variable Dune::XT::LA::CommonSparseOrDenseMatrix::sparse_limit¶
-
const double Dune::XT::LA::CommonSparseOrDenseMatrix::sparse_limit¶
No documentation provided.
Type alias Dune::XT::LA::CommonSparseOrDenseMatrix::ThisType¶
-
type Dune::XT::LA::CommonSparseOrDenseMatrix::ThisType¶
No documentation provided.
Type alias Dune::XT::LA::CommonSparseOrDenseMatrix::InterfaceType¶
-
type Dune::XT::LA::CommonSparseOrDenseMatrix::InterfaceType¶
No documentation provided.
Type alias Dune::XT::LA::CommonSparseOrDenseMatrix::EpsType¶
-
type Dune::XT::LA::CommonSparseOrDenseMatrix::EpsType¶
No documentation provided.
Type alias Dune::XT::LA::CommonSparseOrDenseMatrix::DenseMatrixType¶
-
type Dune::XT::LA::CommonSparseOrDenseMatrix::DenseMatrixType¶
No documentation provided.
Type alias Dune::XT::LA::CommonSparseOrDenseMatrix::SparseMatrixType¶
-
type Dune::XT::LA::CommonSparseOrDenseMatrix::SparseMatrixType¶
No documentation provided.
Function template Dune::XT::LA::CommonSparseOrDenseMatrix::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
template<class OtherMatrixType>
explicit Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>(const OtherMatrixType &mat, const typename std::enable_if<Common::MatrixAbstraction<OtherMatrixType>::is_matrix, bool>::type prune = true, const EpsType eps_in, const int num_mutexes = 1)¶ No documentation provided.
Function template Dune::XT::LA::CommonSparseOrDenseMatrix::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
template<class OtherMatrixType>
explicit Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>(const OtherMatrixType &mat, const typename std::enable_if<Common::MatrixAbstraction<OtherMatrixType>::is_matrix, bool>::type prune, const int num_mutexes)¶ No documentation provided.
Function template Dune::XT::LA::CommonSparseOrDenseMatrix::mv¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
template<class XX, class YY>
inline int Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::mv(const XX &xx, YY &yy) const¶ Matrix-Vector multiplication for arbitrary vectors that support operator[]
Function template Dune::XT::LA::CommonSparseOrDenseMatrix::mtv¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
template<class XX, class YY>
inline int Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::mtv(const XX &xx, YY &yy) const¶ TransposedMatrix-Vector multiplication for arbitrary vectors that support operator[]
Function template Dune::XT::LA::CommonSparseOrDenseMatrix::copy_to_densematrix¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
template<class DuneDenseMatrixImp>
void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::copy_to_densematrix(DuneDenseMatrixImp &ret) const¶ \ }
Function template Dune::XT::LA::CommonSparseOrDenseMatrix::rightmultiply¶
-
template<class DenseMatrixImp, class SparseMatrixImp>
template<class MatrixType>
void Dune::XT::LA::CommonSparseOrDenseMatrix<DenseMatrixImp, SparseMatrixImp>::rightmultiply(const MatrixType &other)¶ No documentation provided.