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

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 size_t Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::rows() const

\ }

Required by MatrixInterface.

\ {

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

template<class ScalarType>
inline size_t 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 size_t ii, const size_t 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 size_t ii, const size_t 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 size_t ii, const size_t jj) const

No documentation provided.

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

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

No documentation provided.

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

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

No documentation provided.

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

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

No documentation provided.

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

template<class ScalarType>
void Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::unit_col(const size_t 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>
size_t 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 = Common::FloatCmp::DefaultEpsilon<ScalarType>::value()) const override

No documentation provided.

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

template<class ScalarType>
ThisType Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::pruned(const ScalarType eps = Common::FloatCmp::DefaultEpsilon<ScalarType>::value()) 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 size_t 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 size_t ii, const size_t jj) const

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix

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

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

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix

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

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix

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

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix

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

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix

template<class ScalarType>
explicit Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix(const BackendType &mat, const bool prune = false, const typename Common::FloatCmp::DefaultEpsilon<ScalarType>::Type eps = Common::FloatCmp::DefaultEpsilon<ScalarType>::value(), const size_t num_mutexes = 1)

No documentation provided.

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix

template<class ScalarType>
explicit Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EigenRowMajorSparseMatrix(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!

Constructor Dune::XT::LA::EigenRowMajorSparseMatrix::EigenRowMajorSparseMatrix

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

No documentation provided.

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

template<class ScalarType>
std::shared_ptr<BackendType> Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::backend_

No documentation provided.

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

template<class ScalarType>
std::unique_ptr<MutexesType> Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::mutexes_

No documentation provided.

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

template<class ScalarType>
using Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::ThisType = EigenRowMajorSparseMatrix<ScalarImp>

No documentation provided.

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

template<class ScalarType>
using Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::InterfaceType = MatrixInterface<internal::EigenRowMajorSparseMatrixTraits<ScalarImp>, ScalarImp>

No documentation provided.

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

template<class ScalarType>
using Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::Traits = typename InterfaceType::Traits

No documentation provided.

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

template<class ScalarType>
using Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::MutexesType = typename Traits::MutexesType

No documentation provided.

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

template<class ScalarType>
using Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::EIGEN_size_t = typename BackendType::Index

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 std::enable_if_t<XT::Common::is_vector<V1>::value && XT::Common::is_vector<V2>::value && (!is_eigen_vector<V1>::value || !is_eigen_vector<V2>::value), void> 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 std::enable_if_t<XT::Common::is_vector<V1>::value && XT::Common::is_vector<V2>::value && !is_eigen_vector<V1>::value, void> Dune::XT::LA::EigenRowMajorSparseMatrix<ScalarType>::mtv(const V1 &xx, V2 &yy) const

No documentation provided.