Class template Dune::XT::LA::EigenRowMajorSparseMatrix

template<class ScalarType>
class Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>

A sparse matrix implementation of the MatrixInterface with row major memory layout.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::operator=

template<class ScalarType>
ThisType &Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::operator=(const ThisType &other)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::operator=

template<class ScalarType>
ThisType &Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::operator=(const BackendType &other)

Note

Does a deep copy.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::backend

template<class ScalarType>
BackendType &Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::backend()

\ {

Required by the ProvidesBackend interface.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::backend

template<class ScalarType>
const BackendType &Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::backend() const

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::copy

template<class ScalarType>
ThisType Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::copy() const

\ }

Required by ContainerInterface.

\ {

Method Dune::XT::LA::EigenRowMajorSparseMatrix::scal

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::scal(const ScalarType &alpha)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::set_to_zero

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::set_to_zero()

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::axpy

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::axpy(const ScalarType &alpha, const ThisType &xx)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::has_equal_shape

template<class ScalarType>
bool Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::has_equal_shape(const ThisType &other) const

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::rows

template<class ScalarType>
inline int Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::rows() const

Method Dune::XT::LA::EigenRowMajorSparseMatrix::cols

template<class ScalarType>
inline int Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::cols() const

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::add_to_entry

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::add_to_entry(const int ii, const int jj, const ScalarType &value)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::set_entry

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::set_entry(const int ii, const int jj, const ScalarType &value)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::get_entry

template<class ScalarType>
ScalarType Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::get_entry(const int ii, const int jj) const

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::clear_row

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::clear_row(const int ii)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::clear_col

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::clear_col(const int jj)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::unit_row

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::unit_row(const int ii)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::unit_col

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::unit_col(const int jj)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::valid

template<class ScalarType>
bool Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::valid() const

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::non_zeros

template<class ScalarType>
int Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::non_zeros() const final

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::pattern

template<class ScalarType>
SparsityPatternDefault Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::pattern(const bool prune = false, const ScalarType eps) const override

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::pruned

template<class ScalarType>
ThisType Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::pruned(const ScalarType eps) const final

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::entries

template<class ScalarType>
ScalarType *Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::entries()

\ }

Method Dune::XT::LA::EigenRowMajorSparseMatrix::entries

template<class ScalarType>
const ScalarType *Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::entries() const

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::outer_index_ptr

template<class ScalarType>
int *Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::outer_index_ptr()

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::outer_index_ptr

template<class ScalarType>
const int *Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::outer_index_ptr() const

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::inner_index_ptr

template<class ScalarType>
int *Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::inner_index_ptr()

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::inner_index_ptr

template<class ScalarType>
const int *Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::inner_index_ptr() const

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::set_num_mutexes

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::set_num_mutexes(const int num_mutexes)

No documentation provided.

Method Dune::XT::LA::EigenRowMajorSparseMatrix::these_are_valid_indices

template<class ScalarType>
bool Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::these_are_valid_indices(const int ii, const int jj) const

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix<ScalarType>

template<>
template<class ScalarType>
Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix<ScalarType>(const int rr, const int cc, const SparsityPatternDefault &pattern_in, const int num_mutexes = 1)

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

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix<ScalarType>

template<>
template<class ScalarType>
explicit Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix<ScalarType>(const int rr = 0, const int cc = 0, const int num_mutexes = 1)

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix<ScalarType>

template<>
template<class ScalarType>
explicit Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix<ScalarType>(const int rr, const int cc, const ScalarType &val, const int num_mutexes = 1)

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix<ScalarType>

template<>
template<class ScalarType>
Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix<ScalarType>(const ThisType &other)

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix<ScalarType>

template<>
template<class ScalarType>
explicit Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix<ScalarType>(const BackendType &mat, const bool prune = false, const int eps, const int num_mutexes = 1)

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix<ScalarType>

template<>
template<class ScalarType>
explicit Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix<ScalarType>(BackendType *backend_ptr, const int num_mutexes = 1)

Note

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

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix<ScalarType>

template<>
template<class ScalarType>
explicit Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix<ScalarType>(std::shared_ptr<BackendType> backend_ptr, const int num_mutexes = 1)

No documentation provided.

Field Dune::XT::LA::EigenRowMajorSparseMatrix::backend_

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

No documentation provided.

Field Dune::XT::LA::EigenRowMajorSparseMatrix::mutexes_

int Dune::XT::LA::EigenRowMajorSparseMatrix::mutexes_

No documentation provided.

Type alias Dune::XT::LA::EigenRowMajorSparseMatrix::ThisType

type Dune::XT::LA::EigenRowMajorSparseMatrix::ThisType

No documentation provided.

Type alias Dune::XT::LA::EigenRowMajorSparseMatrix::InterfaceType

type Dune::XT::LA::EigenRowMajorSparseMatrix::InterfaceType

No documentation provided.

Type alias Dune::XT::LA::EigenRowMajorSparseMatrix::Traits

type Dune::XT::LA::EigenRowMajorSparseMatrix::Traits

No documentation provided.

Type alias Dune::XT::LA::EigenRowMajorSparseMatrix::MutexesType

type Dune::XT::LA::EigenRowMajorSparseMatrix::MutexesType

No documentation provided.

Type alias Dune::XT::LA::EigenRowMajorSparseMatrix::EIGEN_size_t

type Dune::XT::LA::EigenRowMajorSparseMatrix::EIGEN_size_t

No documentation provided.

Function template Dune::XT::LA::EigenRowMajorSparseMatrix::mv

template<class ScalarType>
template<class T1, class T2>
inline void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::mv(const EigenBaseVector<T1, ScalarType> &xx, EigenBaseVector<T2, ScalarType> &yy) const

No documentation provided.

Function template Dune::XT::LA::EigenRowMajorSparseMatrix::mv

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

No documentation provided.

Function template Dune::XT::LA::EigenRowMajorSparseMatrix::mtv

template<class ScalarType>
template<class T1, class T2>
inline void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::mtv(const EigenBaseVector<T1, ScalarType> &xx, EigenBaseVector<T2, ScalarType> &yy) const

No documentation provided.

Function template Dune::XT::LA::EigenRowMajorSparseMatrix::mtv

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

No documentation provided.