Class template Dune::XT::LA::IstlRowMajorSparseMatrix

template<class ScalarImp>
class Dune::XT::LA::IstlRowMajorSparseMatrix

A sparse matrix implementation of the MatrixInterface using the Dune::BCRSMatrix from dune-istl.

static std::string Dune::XT::LA::IstlRowMajorSparseMatrix::static_id()

No documentation provided.

ThisType &Dune::XT::LA::IstlRowMajorSparseMatrix::operator=(const ThisType &other)

No documentation provided.

ThisType &Dune::XT::LA::IstlRowMajorSparseMatrix::operator=(const BackendType &other)

Note

Does a deep copy.

BackendType &Dune::XT::LA::IstlRowMajorSparseMatrix::backend()

\ {

Required by the ProvidesBackend interface.

const BackendType &Dune::XT::LA::IstlRowMajorSparseMatrix::backend() const

No documentation provided.

ThisType Dune::XT::LA::IstlRowMajorSparseMatrix::copy() const

\ }

Required by ContainerInterface.

\ {

void Dune::XT::LA::IstlRowMajorSparseMatrix::scal(const ScalarType &alpha)

No documentation provided.

void Dune::XT::LA::IstlRowMajorSparseMatrix::axpy(const ScalarType &alpha, const ThisType &xx)

No documentation provided.

bool Dune::XT::LA::IstlRowMajorSparseMatrix::has_equal_shape(const ThisType &other) const

No documentation provided.

inline size_t Dune::XT::LA::IstlRowMajorSparseMatrix::rows() const

\ }

Required by MatrixInterface.

\ {

inline size_t Dune::XT::LA::IstlRowMajorSparseMatrix::cols() const

No documentation provided.

inline void Dune::XT::LA::IstlRowMajorSparseMatrix::mv(const IstlDenseVector<ScalarType> &xx, IstlDenseVector<ScalarType> &yy) const

No documentation provided.

inline void Dune::XT::LA::IstlRowMajorSparseMatrix::mtv(const IstlDenseVector<ScalarType> &xx, IstlDenseVector<ScalarType> &yy) const

No documentation provided.

void Dune::XT::LA::IstlRowMajorSparseMatrix::add_to_entry(const size_t ii, const size_t jj, const ScalarType &value)

No documentation provided.

void Dune::XT::LA::IstlRowMajorSparseMatrix::set_entry(const size_t ii, const size_t jj, const ScalarType &value)

No documentation provided.

ScalarType Dune::XT::LA::IstlRowMajorSparseMatrix::get_entry(const size_t ii, const size_t jj) const

No documentation provided.

void Dune::XT::LA::IstlRowMajorSparseMatrix::clear_row(const size_t ii)

No documentation provided.

void Dune::XT::LA::IstlRowMajorSparseMatrix::clear_col(const size_t jj)

No documentation provided.

void Dune::XT::LA::IstlRowMajorSparseMatrix::unit_row(const size_t ii)

No documentation provided.

void Dune::XT::LA::IstlRowMajorSparseMatrix::unit_col(const size_t jj)

No documentation provided.

bool Dune::XT::LA::IstlRowMajorSparseMatrix::valid() const

No documentation provided.

size_t Dune::XT::LA::IstlRowMajorSparseMatrix::non_zeros() const final

Warning

Use and interprete with care, since the Dune::BCRSMatrix is known to report strange things here, depending on its state!

SparsityPatternDefault Dune::XT::LA::IstlRowMajorSparseMatrix::pattern(const bool prune = false, const int eps = <recovery-expr>()) const final

No documentation provided.

ThisType Dune::XT::LA::IstlRowMajorSparseMatrix::pruned(const int eps = <recovery-expr>()) const final

No documentation provided.

void Dune::XT::LA::IstlRowMajorSparseMatrix::build_sparse_matrix(const size_t rr, const size_t cc, const SparsityPatternDefault &patt)

No documentation provided.

SparsityPatternDefault Dune::XT::LA::IstlRowMajorSparseMatrix::pruned_pattern_from_backend(const BackendType &mat, const int eps = <recovery-expr>()) const

No documentation provided.

bool Dune::XT::LA::IstlRowMajorSparseMatrix::these_are_valid_indices(const size_t ii, const size_t jj) const

No documentation provided.

template<>
Dune::XT::LA::IstlRowMajorSparseMatrix::IstlRowMajorSparseMatrix<ScalarImp>(const size_t rr, const size_t cc, const SparsityPatternDefault &patt, const size_t num_mutexes = 1)

This is the constructor of interest which creates a sparse matrix.

template<>
explicit Dune::XT::LA::IstlRowMajorSparseMatrix::IstlRowMajorSparseMatrix<ScalarImp>(const size_t rr = 0, const size_t cc = 0, const size_t num_mutexes = 1)

No documentation provided.

template<>
Dune::XT::LA::IstlRowMajorSparseMatrix::IstlRowMajorSparseMatrix<ScalarImp>(const ThisType &other)

No documentation provided.

template<>
explicit Dune::XT::LA::IstlRowMajorSparseMatrix::IstlRowMajorSparseMatrix<ScalarImp>(const BackendType &mat, const bool prune = false, const int eps = <recovery-expr>(), const size_t num_mutexes = 1)

No documentation provided.

template<>
explicit Dune::XT::LA::IstlRowMajorSparseMatrix::IstlRowMajorSparseMatrix<ScalarImp>(BackendType *backend_ptr, const size_t num_mutexes = 1)

Note

Takes ownership of backend_ptr in the sense that you must not delete it afterwards!

template<>
explicit Dune::XT::LA::IstlRowMajorSparseMatrix::IstlRowMajorSparseMatrix<ScalarImp>(std::shared_ptr<BackendType> backend_ptr, const size_t num_mutexes = 1)

No documentation provided.

std::shared_ptr<BackendType> Dune::XT::LA::IstlRowMajorSparseMatrix::backend_

No documentation provided.

int Dune::XT::LA::IstlRowMajorSparseMatrix::mutexes_

No documentation provided.

type Dune::XT::LA::IstlRowMajorSparseMatrix::ThisType

No documentation provided.

type Dune::XT::LA::IstlRowMajorSparseMatrix::InterfaceType

No documentation provided.

type Dune::XT::LA::IstlRowMajorSparseMatrix::Traits

No documentation provided.

type Dune::XT::LA::IstlRowMajorSparseMatrix::MutexesType

No documentation provided.

template<class OtherMatrixType>
explicit Dune::XT::LA::IstlRowMajorSparseMatrix::IstlRowMajorSparseMatrix<ScalarImp>(const OtherMatrixType &mat, const int prune = false, const int eps = <recovery-expr>(), const size_t num_mutexes = 1)

No documentation provided.

template<class V1, class V2>
inline int Dune::XT::LA::IstlRowMajorSparseMatrix::mv(const V1 &xx, V2 &yy) const

No documentation provided.

template<class V1, class V2>
inline int Dune::XT::LA::IstlRowMajorSparseMatrix::mtv(const V1 &xx, V2 &yy) const

No documentation provided.

template<class OtherMatrixType>
int Dune::XT::LA::IstlRowMajorSparseMatrix::pruned_pattern(const OtherMatrixType &mat, const int eps = <recovery-expr>()) const

No documentation provided.