Class template Dune::XT::LA::CommonSparseVector

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

A sparse vector implementation of VectorInterface

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

No documentation provided.

void Dune::XT::LA::CommonSparseVector::deep_copy(const ThisType &other)

No documentation provided.

ThisType &Dune::XT::LA::CommonSparseVector::operator=(const ScalarType &value)

No documentation provided.

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

\ {

Required by ContainerInterface.

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

No documentation provided.

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

No documentation provided.

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

No documentation provided.

inline size_t Dune::XT::LA::CommonSparseVector::size() const

\ }

Required by VectorInterface.

\ {

inline void Dune::XT::LA::CommonSparseVector::resize(const size_t new_size)

No documentation provided.

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

No documentation provided.

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

No documentation provided.

void Dune::XT::LA::CommonSparseVector::set_new_entry(const size_t ii, const ScalarType &value, bool front = false)

No documentation provided.

ScalarType Dune::XT::LA::CommonSparseVector::get_entry(const size_t ii) const

No documentation provided.

inline ScalarType &Dune::XT::LA::CommonSparseVector::get_unchecked_ref(const size_t ii)

No documentation provided.

inline const ScalarType &Dune::XT::LA::CommonSparseVector::get_unchecked_ref(const size_t ii) const

No documentation provided.

inline ScalarType &Dune::XT::LA::CommonSparseVector::operator[](const size_t ii)

No documentation provided.

inline const ScalarType &Dune::XT::LA::CommonSparseVector::operator[](const size_t ii) const

No documentation provided.

EntriesVectorType &Dune::XT::LA::CommonSparseVector::entries()

\ }

const EntriesVectorType &Dune::XT::LA::CommonSparseVector::entries() const

No documentation provided.

IndicesVectorType &Dune::XT::LA::CommonSparseVector::indices()

No documentation provided.

const IndicesVectorType &Dune::XT::LA::CommonSparseVector::indices() const

No documentation provided.

void Dune::XT::LA::CommonSparseVector::clear()

No documentation provided.

ScalarType Dune::XT::LA::CommonSparseVector::dot(const ThisType &other) const final

\ {

These methods override default implementations from VectorInterface.

RealType Dune::XT::LA::CommonSparseVector::l1_norm() const final

No documentation provided.

RealType Dune::XT::LA::CommonSparseVector::l2_norm() const final

No documentation provided.

RealType Dune::XT::LA::CommonSparseVector::sup_norm() const final

No documentation provided.

ThisType Dune::XT::LA::CommonSparseVector::add(const ThisType &other) const final

No documentation provided.

void Dune::XT::LA::CommonSparseVector::add(const ThisType &other, ThisType &result) const final

No documentation provided.

ThisType Dune::XT::LA::CommonSparseVector::sub(const ThisType &other) const final

No documentation provided.

void Dune::XT::LA::CommonSparseVector::sub(const ThisType &other, ThisType &result) const final

No documentation provided.

void Dune::XT::LA::CommonSparseVector::iadd(const ThisType &other) final

No documentation provided.

void Dune::XT::LA::CommonSparseVector::isub(const ThisType &other) final

No documentation provided.

template<>
explicit Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>(const size_t sz = 0, const size_t num_mutexes = 1)

No documentation provided.

template<>
explicit Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>(const size_t sz, const ScalarType value, const size_t num_mutexes = 1)

No documentation provided.

template<>
explicit Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>(const int &other, const size_t num_mutexes = 1)

No documentation provided.

template<>
explicit Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>(const std::initializer_list<ScalarType> &other, const size_t num_mutexes = 1)

No documentation provided.

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

No documentation provided.

size_t Dune::XT::LA::CommonSparseVector::size_

No documentation provided.

std::shared_ptr<EntriesVectorType> Dune::XT::LA::CommonSparseVector::entries_

No documentation provided.

std::shared_ptr<IndicesVectorType> Dune::XT::LA::CommonSparseVector::indices_

No documentation provided.

int Dune::XT::LA::CommonSparseVector::mutexes_

No documentation provided.

type Dune::XT::LA::CommonSparseVector::ThisType

No documentation provided.

type Dune::XT::LA::CommonSparseVector::InterfaceType

No documentation provided.

type Dune::XT::LA::CommonSparseVector::IndicesVectorType

No documentation provided.

type Dune::XT::LA::CommonSparseVector::EntriesVectorType

No documentation provided.

type Dune::XT::LA::CommonSparseVector::derived_type

No documentation provided.

type Dune::XT::LA::CommonSparseVector::MutexesType

No documentation provided.

template<class VectorType>
explicit Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>(const int sz, const VectorType &entries, const IndicesVectorType &indices, const size_t num_mutexes = 1)

No documentation provided.

template<class OtherVectorType>
explicit Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>(const OtherVectorType &other, const int prune = true, const ScalarType eps = <recovery-expr>(), const size_t num_mutexes = 1)

No documentation provided.

template<class OtherVectorType>
explicit Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>(const OtherVectorType &other, const int prune, const size_t num_mutexes)

No documentation provided.

template<int size>
ThisType &Dune::XT::LA::CommonSparseVector::operator=(const Dune::FieldVector<ScalarType, size> &other)

No documentation provided.