Xped
Loading...
Searching...
No Matches
Xped::AdjointOp< XprType > Class Template Reference

#include <AdjointOp.hpp>

Inheritance diagram for Xped::AdjointOp< XprType >:
Collaboration diagram for Xped::AdjointOp< XprType >:

Public Types

typedef XprType::Scalar Scalar
 
typedef XprType::Symmetry Symmetry
 
using AllocationPolicy = typename XprType::AllocationPolicy
 
typedef Symmetry::qType qType
 
- Public Types inherited from Xped::TensorBase< AdjointOp< XprType > >
typedef TensorTraits< AdjointOp< XprType > >::Scalar Scalar
 
typedef TensorTraits< AdjointOp< XprType > >::Symmetry Symmetry
 
using AllocationPolicy = typename TensorTraits< AdjointOp< XprType > >::AllocationPolicy
 
using MatrixType = PlainInterface::MType< Scalar >
 

Public Member Functions

 AdjointOp (XPED_CONST XprType &xpr)
 
const std::string name () const
 
constexpr std::size_t rank () const
 
constexpr std::size_t corank () const
 
const auto sector () const
 
const qType sector (std::size_t i) const
 
const auto block (std::size_t i) const
 
auto block (std::size_t i)
 
const auto dict () const
 
const mpi::XpedWorldworld () const
 
const auto uncoupledDomain () const
 
const auto uncoupledCodomain () const
 
const auto coupledDomain () const
 
const auto coupledCodomain () const
 
auto domainTrees (const qType &q) const
 
auto codomainTrees (const qType &q) const
 
- Public Member Functions inherited from Xped::TensorBase< AdjointOp< XprType > >
XPED_CONST AdjointOp< AdjointOp< XprType > > adjoint () XPED_CONST
 
XPED_CONST CoeffUnaryOp< AdjointOp< XprType >, ReturnScalar > unaryExpr (const std::function< ReturnScalar(Scalar)> &coeff_func) XPED_CONST
 
XPED_CONST BlockUnaryOp< AdjointOp< XprType > > unaryExpr (const std::function< MatrixType(const MatrixType &)> &coeff_func) XPED_CONST
 
XPED_CONST CoeffUnaryOp< AdjointOp< XprType >, Scalarsqrt () XPED_CONST
 
XPED_CONST CoeffUnaryOp< AdjointOp< XprType >, Scalarinv () XPED_CONST
 
XPED_CONST CoeffUnaryOp< AdjointOp< XprType >, Scalarsquare () XPED_CONST
 
XPED_CONST CoeffUnaryOp< AdjointOp< XprType >, typename ScalarTraits< Scalar >::Real > abs () XPED_CONST
 
XPED_CONST CoeffUnaryOp< AdjointOp< XprType >, OtherScalar > cast () XPED_CONST
 
XPED_CONST BlockUnaryOp< AdjointOp< XprType > > msqrt () XPED_CONST
 
XPED_CONST BlockUnaryOp< AdjointOp< XprType > > mexp (Scalar factor) XPED_CONST
 
AdjointOp< XprType > & operator+= (const Scalar offset)
 
AdjointOp< XprType > & operator+= (XPED_CONST TensorBase< OtherDerived > &other)
 
AdjointOp< XprType > & operator-= (const Scalar offset)
 
AdjointOp< XprType > & operator-= (XPED_CONST TensorBase< OtherDerived > &other)
 
AdjointOp< XprType > & operator*= (const Scalar factor)
 
AdjointOp< XprType > & operator/= (const Scalar divisor)
 
XPED_CONST DiagCoeffUnaryOp< AdjointOp< XprType > > diagUnaryExpr (const std::function< Scalar(Scalar)> &coeff_func) XPED_CONST
 
XPED_CONST DiagCoeffUnaryOp< AdjointOp< XprType > > diag_inv () XPED_CONST
 
XPED_CONST DiagCoeffUnaryOp< AdjointOp< XprType > > diag_sqrt () XPED_CONST
 
XPED_CONST DiagCoeffBinaryOp< AdjointOp< XprType >, OtherDerived > diagBinaryExpr (XPED_CONST TensorBase< OtherDerived > &other, const std::function< Scalar(Scalar, Scalar)> &coeff_func) XPED_CONST
 
XPED_CONST CoeffBinaryOp< AdjointOp< XprType >, OtherDerived > binaryExpr (XPED_CONST TensorBase< OtherDerived > &other, const std::function< Scalar(Scalar, Scalar)> &coeff_func) XPED_CONST
 
Tensor< std::common_type_t< Scalar, typename TensorTraits< OtherDerived >::Scalar >, TensorTraits< AdjointOp< XprType > >::Rank, TensorTraits< typename std::remove_const< std::remove_reference_t< OtherDerived > >::type >::CoRank, Symmetry, false, AllocationPolicyoperator* (XPED_CONST TensorBase< OtherDerived > &other) XPED_CONST
 
Tensor< std::common_type_t< Scalar, typename TensorTraits< OtherDerived >::Scalar >, Rank, TensorTraits< typename std::remove_const< std::remove_reference_t< OtherDerived > >::type >::CoRank, Symmetry, false, AllocationPolicyoperator* (TensorBase< OtherDerived > &&other) XPED_CONST
 
Tensor< std::common_type_t< typename TensorTraits< AdjointOp< XprType > >::Scalar, typename TensorTraits< OtherDerived >::Scalar >, TensorTraits< AdjointOp< XprType > >::Rank, TensorTraits< typename std::remove_const< std::remove_reference_t< OtherDerived > >::type >::CoRank, typename TensorTraits< AdjointOp< XprType > >::Symmetry, false, typename TensorTraits< AdjointOp< XprType > >::AllocationPolicy > operator* (XPED_CONST TensorBase< OtherDerived > &other) XPED_CONST
 
Scalar trace () XPED_CONST
 
TensorTraits< AdjointOp< XprType > >::Scalar trace () XPED_CONST
 
ScalarTraits< Scalar >::Real maxNorm () XPED_CONST
 
ScalarTraits< Scalar >::Real squaredNorm () XPED_CONST
 
ScalarTraits< Scalar >::Real norm () XPED_CONST
 
ScalarTraits< Scalar >::Real maxCoeff (std::size_t &max_block, PlainInterface::MIndextype &max_row, PlainInterface::MIndextype &max_col) XPED_CONST
 
Tensor< Scalar, Rank, CoRank, Symmetry, false, AllocationPolicyeval () const
 
const AdjointOp< XprType > & derived () const
 
AdjointOp< XprType > & derived ()
 

Static Public Attributes

static constexpr std::size_t Rank = XprType::CoRank
 
static constexpr std::size_t CoRank = XprType::Rank
 
- Static Public Attributes inherited from Xped::TensorBase< AdjointOp< XprType > >
static constexpr std::size_t Rank
 
static constexpr std::size_t CoRank
 

Protected Attributes

XPED_CONST XprType & refxpr_
 

Member Typedef Documentation

◆ AllocationPolicy

template<typename XprType >
using Xped::AdjointOp< XprType >::AllocationPolicy = typename XprType::AllocationPolicy

◆ qType

template<typename XprType >
typedef Symmetry::qType Xped::AdjointOp< XprType >::qType

◆ Scalar

template<typename XprType >
typedef XprType::Scalar Xped::AdjointOp< XprType >::Scalar

◆ Symmetry

template<typename XprType >
typedef XprType::Symmetry Xped::AdjointOp< XprType >::Symmetry

Constructor & Destructor Documentation

◆ AdjointOp()

template<typename XprType >
Xped::AdjointOp< XprType >::AdjointOp ( XPED_CONST XprType &  xpr)
inline

Member Function Documentation

◆ block() [1/2]

template<typename XprType >
auto Xped::AdjointOp< XprType >::block ( std::size_t  i)
inline
Here is the call graph for this function:

◆ block() [2/2]

template<typename XprType >
const auto Xped::AdjointOp< XprType >::block ( std::size_t  i) const
inline
Here is the call graph for this function:

◆ codomainTrees()

template<typename XprType >
auto Xped::AdjointOp< XprType >::codomainTrees ( const qType q) const
inline

◆ corank()

template<typename XprType >
constexpr std::size_t Xped::AdjointOp< XprType >::corank ( ) const
inlineconstexpr

◆ coupledCodomain()

template<typename XprType >
const auto Xped::AdjointOp< XprType >::coupledCodomain ( ) const
inline

◆ coupledDomain()

template<typename XprType >
const auto Xped::AdjointOp< XprType >::coupledDomain ( ) const
inline

◆ dict()

template<typename XprType >
const auto Xped::AdjointOp< XprType >::dict ( ) const
inline

◆ domainTrees()

template<typename XprType >
auto Xped::AdjointOp< XprType >::domainTrees ( const qType q) const
inline

◆ name()

template<typename XprType >
const std::string Xped::AdjointOp< XprType >::name ( ) const
inline

◆ rank()

template<typename XprType >
constexpr std::size_t Xped::AdjointOp< XprType >::rank ( ) const
inlineconstexpr

◆ sector() [1/2]

template<typename XprType >
const auto Xped::AdjointOp< XprType >::sector ( ) const
inline

◆ sector() [2/2]

template<typename XprType >
const qType Xped::AdjointOp< XprType >::sector ( std::size_t  i) const
inline

◆ uncoupledCodomain()

template<typename XprType >
const auto Xped::AdjointOp< XprType >::uncoupledCodomain ( ) const
inline

◆ uncoupledDomain()

template<typename XprType >
const auto Xped::AdjointOp< XprType >::uncoupledDomain ( ) const
inline

◆ world()

template<typename XprType >
const mpi::XpedWorld & Xped::AdjointOp< XprType >::world ( ) const
inline

Member Data Documentation

◆ CoRank

template<typename XprType >
constexpr std::size_t Xped::AdjointOp< XprType >::CoRank = XprType::Rank
inlinestaticconstexpr

◆ Rank

template<typename XprType >
constexpr std::size_t Xped::AdjointOp< XprType >::Rank = XprType::CoRank
inlinestaticconstexpr

◆ refxpr_

template<typename XprType >
XPED_CONST XprType& Xped::AdjointOp< XprType >::refxpr_
protected

The documentation for this class was generated from the following file: