Class template Dune::XT::LA::ContainerInterface¶
Inherits from Dune::XT::Common::CRTPInterface.
-
template<class Traits, class ScalarImp>
class Dune::XT::LA::ContainerInterface<Traits, ScalarImp> : public Common::CRTPInterface<ContainerInterface<TraitsImp, ScalarImp>, TraitsImp>¶ CRTP base interface for linear algebra containers, providing copy, scal, axpy and scalar arithmetic.
Method Dune::XT::LA::ContainerInterface::operator=¶
-
template<class Traits, class ScalarImp>
ThisType &Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::operator=(const ThisType &other)¶ No documentation provided.
Method Dune::XT::LA::ContainerInterface::operator=¶
-
template<class Traits, class ScalarImp>
ThisType &Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::operator=(ThisType &&other) noexcept¶ No documentation provided.
Method Dune::XT::LA::ContainerInterface::copy¶
-
template<class Traits, class ScalarImp>
inline derived_type Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::copy() const¶ Creates a (deep) copy of the underlying resource
:returns: A new container
Method Dune::XT::LA::ContainerInterface::scal¶
-
template<class Traits, class ScalarImp>
inline void Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::scal(const ScalarType &alpha)¶ BLAS SCAL operation (in-place sclar multiplication).
:param alpha: The scalar coefficient with which each element of the container is multiplied.
Method Dune::XT::LA::ContainerInterface::axpy¶
-
template<class Traits, class ScalarImp>
inline void Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::axpy(const ScalarType &alpha, const derived_type &xx)¶ BLAS AXPY operation.
:param alpha: The scalar coefficient with which each element of the container is multiplied :param xx: Container that is to be elementwise added.
Method Dune::XT::LA::ContainerInterface::has_equal_shape¶
-
template<class Traits, class ScalarImp>
inline bool Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::has_equal_shape(const derived_type &other) const¶ Test for equal sizes.
:param other: Container the sizes of which this is to be compared to.
Method Dune::XT::LA::ContainerInterface::type_this¶
-
template<class Traits, class ScalarImp>
static std::string Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::type_this()¶ \ }
Are provided by the interface for convenience!
Note
Those marked as virtual may be implemented more efficiently in a derived class! \ {
Method Dune::XT::LA::ContainerInterface::operator*=¶
-
template<class Traits, class ScalarImp>
virtual derived_type &Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::operator*=(const ScalarType &alpha)¶ No documentation provided.
Method Dune::XT::LA::ContainerInterface::operator/=¶
-
template<class Traits, class ScalarImp>
virtual derived_type &Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::operator/=(const ScalarType &alpha)¶ No documentation provided.
Method Dune::XT::LA::ContainerInterface::operator*¶
-
template<class Traits, class ScalarImp>
virtual derived_type Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::operator*(const ScalarType &alpha) const¶ Multiplies every component of this by a scalar.
:param alpha: The scalar. :returns: The scaled copy of this.
Method Dune::XT::LA::ContainerInterface::operator/¶
-
template<class Traits, class ScalarImp>
virtual derived_type Dune::XT::LA::ContainerInterface<Traits, ScalarImp>::operator/(const ScalarType &alpha) const¶ No documentation provided.
Constructor Dune::XT::LA::ContainerInterface::ContainerInterface<Traits, ScalarImp>¶
Constructor Dune::XT::LA::ContainerInterface::ContainerInterface<Traits, ScalarImp>¶
Constructor Dune::XT::LA::ContainerInterface::ContainerInterface<Traits, ScalarImp>¶
Destructor Dune::XT::LA::ContainerInterface::~ContainerInterface<Traits, ScalarImp>¶
-
template<>
virtual ~ContainerInterface<TraitsImp, ScalarImp>() = default¶ No documentation provided.
Type alias Dune::XT::LA::ContainerInterface::CRTP¶
-
type Dune::XT::LA::ContainerInterface::CRTP¶
No documentation provided.
Type alias Dune::XT::LA::ContainerInterface::ThisType¶
-
type Dune::XT::LA::ContainerInterface::ThisType¶
No documentation provided.
Type alias Dune::XT::LA::ContainerInterface::ScalarType¶
-
type Dune::XT::LA::ContainerInterface::ScalarType¶
No documentation provided.
Type alias Dune::XT::LA::ContainerInterface::field_type¶
-
type Dune::XT::LA::ContainerInterface::field_type¶
No documentation provided.
Type alias Dune::XT::LA::ContainerInterface::RealType¶
-
type Dune::XT::LA::ContainerInterface::RealType¶
No documentation provided.