Class template Dune::XT::LA::CommonSparseMatrix¶
Inherits from Dune::XT::LA::MatrixInterface.
-
template<class ScalarImp>
class Dune::XT::LA::CommonSparseMatrix : public MatrixInterface<internal::CommonSparseMatrixTraits<ScalarImp, Common::StorageLayout::csc>, ScalarImp>¶ A sparse matrix implementation of the MatrixInterface with column major memory layout.
-
ThisType &Dune::XT::LA::CommonSparseMatrix::operator=(const ThisType &other)
No documentation provided.
-
void Dune::XT::LA::CommonSparseMatrix::deep_copy(const ThisType &other)¶
No documentation provided.
-
void Dune::XT::LA::CommonSparseMatrix::clear()
No documentation provided.
-
inline ThisType Dune::XT::LA::CommonSparseMatrix::copy() const
\ {
Required by ContainerInterface.
-
inline void Dune::XT::LA::CommonSparseMatrix::scal(const ScalarType &alpha)
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::axpy(const ScalarType &alpha, const ThisType &xx)
No documentation provided.
-
inline bool Dune::XT::LA::CommonSparseMatrix::has_equal_shape(const ThisType &other) const
No documentation provided.
-
inline size_t Dune::XT::LA::CommonSparseMatrix::rows() const
\ }
Required by MatrixInterface.
\ {
-
inline size_t Dune::XT::LA::CommonSparseMatrix::cols() const
No documentation provided.
-
void Dune::XT::LA::CommonSparseMatrix::mv(const CommonSparseVector<ScalarType> &xx, CommonSparseVector<ScalarType> &yy) const¶
No documentation provided.
-
void Dune::XT::LA::CommonSparseMatrix::mtv(const CommonSparseVector<ScalarType> &xx, CommonSparseVector<ScalarType> &yy) const¶
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::add_to_entry(const size_t rr, const size_t cc, const ScalarType &value)
No documentation provided.
-
inline ScalarType Dune::XT::LA::CommonSparseMatrix::get_entry(const size_t rr, const size_t cc) const
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::set_entry(const size_t rr, const size_t cc, const ScalarType value)
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::start_column()¶
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::end_column()¶
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::push_entry(const size_t cc, const ScalarType value)
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::clear_row(const size_t rr)
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::clear_col(const size_t cc)
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::unit_row(const size_t rr)
No documentation provided.
-
inline void Dune::XT::LA::CommonSparseMatrix::unit_col(const size_t cc)
No documentation provided.
-
bool Dune::XT::LA::CommonSparseMatrix::valid() const
No documentation provided.
-
size_t Dune::XT::LA::CommonSparseMatrix::non_zeros() const final
No documentation provided.
-
SparsityPatternDefault Dune::XT::LA::CommonSparseMatrix::pattern(const bool prune = false, const EpsType eps =
<recovery-expr>()) const override No documentation provided.
-
void Dune::XT::LA::CommonSparseMatrix::rightmultiply(const ThisType &other)¶
No documentation provided.
-
ScalarType *Dune::XT::LA::CommonSparseMatrix::entries()
No documentation provided.
-
const ScalarType *Dune::XT::LA::CommonSparseMatrix::entries() const
No documentation provided.
-
size_t *Dune::XT::LA::CommonSparseMatrix::outer_index_ptr()
No documentation provided.
-
const size_t *Dune::XT::LA::CommonSparseMatrix::outer_index_ptr() const
No documentation provided.
-
size_t *Dune::XT::LA::CommonSparseMatrix::inner_index_ptr()
No documentation provided.
-
const size_t *Dune::XT::LA::CommonSparseMatrix::inner_index_ptr() const
No documentation provided.
-
const EpsType &Dune::XT::LA::CommonSparseMatrix::eps()
No documentation provided.
-
size_t Dune::XT::LA::CommonSparseMatrix::get_entry_index(const size_t rr, const size_t cc, const bool throw_if_not_in_pattern = true) const
No documentation provided.
-
bool Dune::XT::LA::CommonSparseMatrix::is_zero(const ScalarType val, const ScalarType eps) const
No documentation provided.
-
template<>
Dune::XT::LA::CommonSparseMatrix::CommonSparseMatrix<ScalarImp, Common::StorageLayout::csc>(const size_t rr, const size_t cc, const SparsityPatternDefault &patt, const size_t num_mutexes = 1, const EpsType eps =<recovery-expr>())¶ This is the constructor of interest which creates a sparse matrix.
-
template<>
Dune::XT::LA::CommonSparseMatrix::CommonSparseMatrix<ScalarImp, Common::StorageLayout::csc>(const size_t rr = 0, const size_t cc = 0, const ScalarType &value = ScalarType(0), const size_t num_mutexes = 1, const EpsType eps =<recovery-expr>())¶ No documentation provided.
-
template<>
Dune::XT::LA::CommonSparseMatrix::CommonSparseMatrix<ScalarImp, Common::StorageLayout::csc>(const size_t rr, const size_t cc, const size_t num_mutexes)¶ No documentation provided.
-
template<>
Dune::XT::LA::CommonSparseMatrix::CommonSparseMatrix<ScalarImp, Common::StorageLayout::csc>(const ThisType &other)¶ No documentation provided.
-
size_t Dune::XT::LA::CommonSparseMatrix::num_cols_
No documentation provided.
-
size_t Dune::XT::LA::CommonSparseMatrix::num_rows_
No documentation provided.
-
std::shared_ptr<EntriesVectorType> Dune::XT::LA::CommonSparseMatrix::entries_
No documentation provided.
-
std::shared_ptr<IndexVectorType> Dune::XT::LA::CommonSparseMatrix::column_pointers_¶
No documentation provided.
-
std::shared_ptr<IndexVectorType> Dune::XT::LA::CommonSparseMatrix::row_indices_¶
No documentation provided.
-
int Dune::XT::LA::CommonSparseMatrix::mutexes_
No documentation provided.
-
EpsType Dune::XT::LA::CommonSparseMatrix::eps_
No documentation provided.
-
type Dune::XT::LA::CommonSparseMatrix::ThisType
No documentation provided.
-
type Dune::XT::LA::CommonSparseMatrix::InterfaceType
No documentation provided.
-
type Dune::XT::LA::CommonSparseMatrix::EntriesVectorType
No documentation provided.
-
type Dune::XT::LA::CommonSparseMatrix::EpsType
No documentation provided.
-
type Dune::XT::LA::CommonSparseMatrix::IndexVectorType
No documentation provided.
-
type Dune::XT::LA::CommonSparseMatrix::MutexesType
No documentation provided.
-
template<class OtherMatrixType>
explicit Dune::XT::LA::CommonSparseMatrix::CommonSparseMatrix<ScalarImp, Common::StorageLayout::csc>(const OtherMatrixType &mat, const typename std::enable_if<Common::MatrixAbstraction<OtherMatrixType>::is_matrix, bool>::type prune = false, const EpsType eps =<recovery-expr>(), const size_t num_mutexes = 1)¶ No documentation provided.
-
template<class OtherMatrixType>
explicit Dune::XT::LA::CommonSparseMatrix::CommonSparseMatrix<ScalarImp, Common::StorageLayout::csc>(const OtherMatrixType &mat, const typename std::enable_if<Common::MatrixAbstraction<OtherMatrixType>::is_matrix, bool>::type prune, const size_t num_mutexes)¶ No documentation provided.
-
template<class OtherMatrixImp>
int &Dune::XT::LA::CommonSparseMatrix::assign(const OtherMatrixImp &other, const SparsityPatternDefault &pattern)¶ No documentation provided.
-
template<class OtherMatrixImp>
int &Dune::XT::LA::CommonSparseMatrix::operator=(const OtherMatrixImp &other) No documentation provided.
-
template<class XX, class YY>
inline int Dune::XT::LA::CommonSparseMatrix::mv(const XX &xx, YY &yy) const Matrix-Vector multiplication for arbitrary vectors that support operator[]
-
template<class XX, class YY>
inline int Dune::XT::LA::CommonSparseMatrix::mtv(const XX &xx, YY &yy) const TransposedMatrix-Vector multiplication for arbitrary vectors that support operator[]
-
template<class OtherMatrixImp>
int Dune::XT::LA::CommonSparseMatrix::rightmultiply(const OtherMatrixImp &other)¶