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

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

A sparse vector implementation of VectorInterface

Method Dune::XT::LA::CommonSparseVector::operator=

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::deep_copy

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::operator=

template<class ScalarImp>
ThisType &Dune::XT::LA::CommonSparseVector<ScalarImp>::operator=(const ScalarType &value)

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::copy

template<class ScalarImp>
ThisType Dune::XT::LA::CommonSparseVector<ScalarImp>::copy() const

\ {

Required by ContainerInterface.

Method Dune::XT::LA::CommonSparseVector::scal

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::axpy

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::has_equal_shape

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::size

template<class ScalarImp>
inline int Dune::XT::LA::CommonSparseVector<ScalarImp>::size() const

Method Dune::XT::LA::CommonSparseVector::resize

template<class ScalarImp>
inline void Dune::XT::LA::CommonSparseVector<ScalarImp>::resize(const int new_size)

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::add_to_entry

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::set_entry

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::set_new_entry

template<class ScalarImp>
void Dune::XT::LA::CommonSparseVector<ScalarImp>::set_new_entry(const int ii, const ScalarType &value, bool front = false)

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::get_entry

template<class ScalarImp>
ScalarType Dune::XT::LA::CommonSparseVector<ScalarImp>::get_entry(const int ii) const

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::get_unchecked_ref

template<class ScalarImp>
inline ScalarType &Dune::XT::LA::CommonSparseVector<ScalarImp>::get_unchecked_ref(const int ii)

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::get_unchecked_ref

template<class ScalarImp>
inline const ScalarType &Dune::XT::LA::CommonSparseVector<ScalarImp>::get_unchecked_ref(const int ii) const

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::operator[]

template<class ScalarImp>
inline ScalarType &Dune::XT::LA::CommonSparseVector<ScalarImp>::operator[](const int ii)

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::operator[]

template<class ScalarImp>
inline const ScalarType &Dune::XT::LA::CommonSparseVector<ScalarImp>::operator[](const int ii) const

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::entries

template<class ScalarImp>
EntriesVectorType &Dune::XT::LA::CommonSparseVector<ScalarImp>::entries()

\ }

Method Dune::XT::LA::CommonSparseVector::entries

template<class ScalarImp>
const EntriesVectorType &Dune::XT::LA::CommonSparseVector<ScalarImp>::entries() const

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::indices

template<class ScalarImp>
IndicesVectorType &Dune::XT::LA::CommonSparseVector<ScalarImp>::indices()

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::indices

template<class ScalarImp>
const IndicesVectorType &Dune::XT::LA::CommonSparseVector<ScalarImp>::indices() const

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::clear

template<class ScalarImp>
void Dune::XT::LA::CommonSparseVector<ScalarImp>::clear()

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::dot

template<class ScalarImp>
ScalarType Dune::XT::LA::CommonSparseVector<ScalarImp>::dot(const ThisType &other) const final

\ {

These methods override default implementations from VectorInterface.

Method Dune::XT::LA::CommonSparseVector::l1_norm

template<class ScalarImp>
RealType Dune::XT::LA::CommonSparseVector<ScalarImp>::l1_norm() const final

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::l2_norm

template<class ScalarImp>
RealType Dune::XT::LA::CommonSparseVector<ScalarImp>::l2_norm() const final

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::sup_norm

template<class ScalarImp>
RealType Dune::XT::LA::CommonSparseVector<ScalarImp>::sup_norm() const final

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::add

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::add

template<class ScalarImp>
void Dune::XT::LA::CommonSparseVector<ScalarImp>::add(const ThisType &other, ThisType &result) const final

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::sub

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

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::sub

template<class ScalarImp>
void Dune::XT::LA::CommonSparseVector<ScalarImp>::sub(const ThisType &other, ThisType &result) const final

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::iadd

template<class ScalarImp>
void Dune::XT::LA::CommonSparseVector<ScalarImp>::iadd(const ThisType &other) final

No documentation provided.

Method Dune::XT::LA::CommonSparseVector::isub

template<class ScalarImp>
void Dune::XT::LA::CommonSparseVector<ScalarImp>::isub(const ThisType &other) final

No documentation provided.

Constructor Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>

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

No documentation provided.

Constructor Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>

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

No documentation provided.

Constructor Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>

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

No documentation provided.

Constructor Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>

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

No documentation provided.

Constructor Dune::XT::LA::CommonSparseVector::CommonSparseVector<ScalarImp>

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

No documentation provided.

Field Dune::XT::LA::CommonSparseVector::size_

int Dune::XT::LA::CommonSparseVector::size_

No documentation provided.

Field Dune::XT::LA::CommonSparseVector::entries_

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

No documentation provided.

Field Dune::XT::LA::CommonSparseVector::indices_

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

No documentation provided.

Field Dune::XT::LA::CommonSparseVector::mutexes_

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

No documentation provided.

Type alias Dune::XT::LA::CommonSparseVector::ThisType

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

No documentation provided.

Type alias Dune::XT::LA::CommonSparseVector::InterfaceType

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

No documentation provided.

Type alias Dune::XT::LA::CommonSparseVector::IndicesVectorType

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

No documentation provided.

Type alias Dune::XT::LA::CommonSparseVector::EntriesVectorType

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

No documentation provided.

Type alias Dune::XT::LA::CommonSparseVector::derived_type

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

No documentation provided.

Type alias Dune::XT::LA::CommonSparseVector::MutexesType

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

No documentation provided.

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

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

No documentation provided.

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

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

No documentation provided.

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

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

No documentation provided.

Function template Dune::XT::LA::CommonSparseVector::operator=

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

No documentation provided.