Class template Dune::XT::Common::VectorAbstraction<VecType>

template<class VecType>
class Dune::XT::Common::VectorAbstraction<VecType>

Traits to uniformly handle dense (mathematical) vectors.

If you want your vector class to benefit from the functionality in this header you have to manually specify a specialization of this class in your code with is_vector defined to true and the appropriate static methods implemented and members defined (see the specializations below).

See also: internal::VectorAbstractionBase, internal::HasSubscriptOperatorForVectorAbstraction

Method Dune::XT::Common::VectorAbstraction::create

template<class VecType>
static inline void Dune::XT::Common::VectorAbstraction<VecType>::create(const size_t)

No documentation provided.

Method Dune::XT::Common::VectorAbstraction::create

template<class VecType>
static inline void Dune::XT::Common::VectorAbstraction<VecType>::create(const size_t, const ScalarType&)

No documentation provided.

Method Dune::XT::Common::VectorAbstraction::get_entry

template<class VecType>
static inline void Dune::XT::Common::VectorAbstraction<VecType>::get_entry(const VectorType&, const size_t)

No documentation provided.

Method Dune::XT::Common::VectorAbstraction::set_entry

template<class VecType>
static inline void Dune::XT::Common::VectorAbstraction<VecType>::set_entry(VectorType&, size_t, ScalarType&)

No documentation provided.

Method Dune::XT::Common::VectorAbstraction::data

template<class VecType>
static inline ScalarType *Dune::XT::Common::VectorAbstraction<VecType>::data(std::remove_const_t<VectorType>&)

No documentation provided.

Variable Dune::XT::Common::VectorAbstraction::is_vector

template<class VecType>
const bool Dune::XT::Common::VectorAbstraction<VecType>::is_vector

No documentation provided.

Variable Dune::XT::Common::VectorAbstraction::has_static_size

template<class VecType>
const bool Dune::XT::Common::VectorAbstraction<VecType>::has_static_size

No documentation provided.

Variable Dune::XT::Common::VectorAbstraction::static_size

template<class VecType>
const size_t Dune::XT::Common::VectorAbstraction<VecType>::static_size

No documentation provided.

Variable Dune::XT::Common::VectorAbstraction::has_ostream

template<class VecType>
const bool Dune::XT::Common::VectorAbstraction<VecType>::has_ostream

No documentation provided.

Variable Dune::XT::Common::VectorAbstraction::is_contiguous

template<class VecType>
const bool Dune::XT::Common::VectorAbstraction<VecType>::is_contiguous

No documentation provided.

Type alias Dune::XT::Common::VectorAbstraction::V

template<class VecType>
using Dune::XT::Common::VectorAbstraction<VecType>::V = std::conditional_t<std::is_same<VecType, void>::value, int, VecType>

No documentation provided.

Type alias Dune::XT::Common::VectorAbstraction::VectorType

template<class VecType>
using Dune::XT::Common::VectorAbstraction<VecType>::VectorType = V

No documentation provided.

Type alias Dune::XT::Common::VectorAbstraction::ScalarType

template<class VecType>
using Dune::XT::Common::VectorAbstraction<VecType>::ScalarType = typename Dune::FieldTraits<V>::field_type

No documentation provided.

Type alias Dune::XT::Common::VectorAbstraction::RealType

template<class VecType>
using Dune::XT::Common::VectorAbstraction<VecType>::RealType = typename Dune::FieldTraits<V>::real_type

No documentation provided.

Type alias Dune::XT::Common::VectorAbstraction::S

template<class VecType>
using Dune::XT::Common::VectorAbstraction<VecType>::S = ScalarType

No documentation provided.

Type alias Dune::XT::Common::VectorAbstraction::R

template<class VecType>
using Dune::XT::Common::VectorAbstraction<VecType>::R = RealType

No documentation provided.

Type alias Dune::XT::Common::VectorAbstraction::VectorTypeTemplate

template<class VecType>
using Dune::XT::Common::VectorAbstraction<VecType>::VectorTypeTemplate = VecType

No documentation provided.

Function template Dune::XT::Common::VectorAbstraction::data

template<class VecType>
template<bool is_vec = is_vector>
static inline const std::enable_if_t<is_vec, ScalarType> *Dune::XT::Common::VectorAbstraction<VecType>::data(std::add_const_t<VectorType>&)

No documentation provided.