Xped
Loading...
Searching...
No Matches
Xped::MatrixInterface Struct Reference

#include <MatrixInterface_Cyclops_impl.hpp>

Inheritance diagram for Xped::MatrixInterface:

Public Types

template<typename Scalar >
using MType = CTF::Matrix< Scalar >
 
template<typename Scalar >
using cMType = const CTF::Matrix< Scalar >
 
template<typename Scalar >
using MapMType = CTF::Matrix< Scalar >
 
template<typename Scalar >
using cMapMType = const CTF::Matrix< Scalar >
 
typedef int MIndextype
 
template<typename Scalar >
using MType = Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic >
 
template<typename Scalar >
using cMType = const Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic >
 
template<typename Scalar >
using MapMType = Eigen::Map< MType< Scalar > >
 
template<typename Scalar >
using cMapMType = Eigen::Map< cMType< Scalar > >
 
typedef Eigen::Index MIndextype
 

Static Public Member Functions

template<typename Scalar >
static MType< Scalar > construct (const MIndextype &rows, const MIndextype &cols, CTF::World &world)
 
template<typename Scalar >
static MType< Scalar > construct_with_zero (const MIndextype &rows, const MIndextype &cols, CTF::World &world)
 
template<typename Scalar >
static void resize (MType< Scalar > &M, const MIndextype &new_rows, const MIndextype &new_cols)
 
template<typename Scalar >
static void setZero (MType< Scalar > &M)
 
template<typename Scalar >
static void setRandom (MType< Scalar > &M)
 
template<typename Scalar >
static void setIdentity (MType< Scalar > &M)
 
template<typename Scalar >
static void setConstant (MType< Scalar > &M, const Scalar &val)
 
template<typename Scalar >
static void setVal (MType< Scalar > &M, const MIndextype row, const MIndextype col, const Scalar &val)
 
template<typename Scalar >
static MType< Scalar > Identity (const MIndextype &rows, const MIndextype &cols, CTF::World &world)
 
template<typename Scalar >
static MIndextype rows (const MType< Scalar > &M)
 
template<typename Scalar >
static MIndextype cols (const MType< Scalar > &M)
 
template<typename MT >
static ctf_traits< MT >::Scalar trace (MT &&M)
 
template<typename MT >
static ctf_traits< MT >::Scalar maxNorm (MT &&M)
 
template<typename MT >
static ctf_traits< MT >::Scalar maxCoeff (MT &&M, MIndextype &maxrow, MIndextype &maxcol)
 
template<typename Scalar >
static Scalar getVal (const MType< Scalar > &M, const MIndextype &row, const MIndextype &col)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > kronecker_prod (MT1 &&M1, MT2 &&M2)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > prod (MT1 &&M1, MT2 &&M2)
 
template<typename Scalar , typename MatrixExpr1 , typename MatrixExpr2 , typename MatrixExpr3 , typename MatrixExprRes >
static void optimal_prod (const Scalar &scale, MatrixExpr1 &&M1, MatrixExpr2 &&M2, MatrixExpr3 &&M3, MatrixExprRes &Mres)
 
template<typename Scalar , typename MatrixExpr1 , typename MatrixExpr2 , typename MatrixExpr3 , typename MatrixExprRes >
static void optimal_prod_add (const Scalar &scale, MatrixExpr1 &&M1, MatrixExpr2 &&M2, MatrixExpr3 &&M3, MatrixExprRes &Mres)
 
template<typename MT >
static MType< typename ctf_traits< MT >::Scalar > msqrt (MT &&M)
 
template<typename MT >
static MType< typename ctf_traits< MT >::Scalar > mexp (MT &&M)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > add (MT1 &&M1, MT2 &&M2)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > difference (MT1 &&M1, MT2 &&M2)
 
template<typename Scalar >
static void scale (MType< Scalar > &M, const Scalar &val)
 
template<typename Scalar , typename MT >
static MType< Scalar > unaryFunc (MT &&M, const std::function< Scalar(Scalar)> &func)
 
template<typename Scalar , typename MT >
static MType< Scalar > diagUnaryFunc (MT &&M, const std::function< Scalar(Scalar)> &func)
 
template<typename Scalar , typename MTL , typename MTR >
static MType< Scalar > diagBinaryFunc (MTL &&M_left, MTR &&M_right, const std::function< Scalar(Scalar, Scalar)> &func)
 
template<typename Scalar , typename MTL , typename MTR >
static MType< Scalar > binaryFunc (MTL &&M_left, MTR &&M_right, const std::function< Scalar(Scalar, Scalar)> &func)
 
template<typename MT >
static MType< typename ctf_traits< MT >::Scalar > adjoint (MT &&M)
 
template<typename Scalar >
static MType< Scalar > block (const MType< Scalar > &M, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols)
 
template<typename MT >
static std::pair< MType< typename ctf_traits< MT >::Scalar >, MType< typename ctf_traits< MT >::Scalar > > eigh (MT &&M)
 
template<typename MT >
static std::pair< MType< typename ctf_traits< MT >::Scalar >, MType< typename ctf_traits< MT >::Scalar > > qr (MT &&M)
 
template<typename Scalar >
static void add_to_block (MType< Scalar > &M1, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols, const MType< Scalar > &M2)
 
template<typename MT >
static void print (MT &&M)
 
template<typename Scalar >
static MType< Scalar > construct (const MIndextype &rows, const MIndextype &cols, const mpi::XpedWorld &)
 
template<typename Scalar >
static MType< Scalar > construct_with_zero (const MIndextype &rows, const MIndextype &cols, const mpi::XpedWorld &)
 
template<typename Scalar >
static void resize (MType< Scalar > &M, const MIndextype &new_rows, const MIndextype &new_cols)
 
template<typename Derived >
static void setZero (Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static void setZero (Eigen::MatrixBase< Derived > &&M)
 
template<typename Derived >
static void setRandom (Eigen::MatrixBase< Derived > &M, std::mt19937 &engine)
 
template<typename Derived >
static void setRandom (Eigen::MatrixBase< Derived > &&M, std::mt19937 &engine)
 
template<typename Derived >
static void setIdentity (Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static void setIdentity (Eigen::MatrixBase< Derived > &&M)
 
template<typename Derived >
static void setConstant (Eigen::MatrixBase< Derived > &M, const typename Derived::Scalar &val)
 
template<typename Derived >
static void setConstant (Eigen::MatrixBase< Derived > &&M, const typename Derived::Scalar &val)
 
template<typename Derived >
static void setVal (Eigen::DenseBase< Derived > &M, const MIndextype &row, const MIndextype &col, typename Derived::Scalar val)
 
template<typename Scalar >
static MType< Scalar > Identity (const MIndextype &rows, const MIndextype &cols, const mpi::XpedWorld &)
 
template<typename Derived >
static MIndextype rows (const Eigen::DenseBase< Derived > &M)
 
template<typename Derived >
static MIndextype cols (const Eigen::DenseBase< Derived > &M)
 
template<typename Derived >
static Derived::Scalar getVal (const Eigen::DenseBase< Derived > &M, const MIndextype &row, const MIndextype &col)
 
template<typename Scalar >
static const Scalar * get_raw_data (const Eigen::Matrix< Scalar, -1, -1 > &M)
 
template<typename Scalar >
static Scalar * get_raw_data (Eigen::Matrix< Scalar, -1, -1 > &M)
 
template<typename Derived >
static Derived::Scalar trace (const Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static Derived::RealScalar maxNorm (const Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static Derived::RealScalar maxCoeff (const Eigen::MatrixBase< Derived > &M, MIndextype &maxrow, MIndextype &maxcol)
 
template<typename DerivedL , typename DerivedR >
static MType< std::common_type_t< typename DerivedL::Scalar, typename DerivedR::Scalar > > kronecker_prod (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename DerivedL , typename DerivedR >
static MType< std::common_type_t< typename DerivedL::Scalar, typename DerivedR::Scalar > > prod (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename Scalar , typename MatrixExpr1 , typename MatrixExpr2 , typename MatrixExpr3 , typename MatrixExprRes >
static void optimal_prod (const Scalar &scale, const MatrixExpr1 &M1, const MatrixExpr2 &M2, const MatrixExpr3 &M3, MatrixExprRes &Mres)
 
template<typename Scalar , typename MatrixExpr1 , typename MatrixExpr2 , typename MatrixExpr3 , typename MatrixExprRes >
static void optimal_prod_add (const Scalar &scale, const MatrixExpr1 &M1, const MatrixExpr2 &M2, const MatrixExpr3 &M3, MatrixExprRes &Mres)
 
template<typename DerivedL , typename DerivedR >
static auto add (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename DerivedL , typename DerivedR >
static auto difference (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename Derived >
static void scale (Eigen::MatrixBase< Derived > &M, const typename Derived::Scalar &val)
 
template<typename Scalar , typename Derived >
static auto diagUnaryFunc (const Eigen::MatrixBase< Derived > &M, const std::function< Scalar(Scalar)> &func)
 
template<typename Scalar , typename Derived >
static auto unaryFunc (const Eigen::MatrixBase< Derived > &M, const std::function< Scalar(typename Derived::Scalar)> &func)
 
template<typename Scalar , typename Derived , typename OtherDerived >
static auto diagBinaryFunc (const Eigen::MatrixBase< Derived > &M_left, const Eigen::MatrixBase< OtherDerived > &M_right, const std::function< Scalar(Scalar, Scalar)> &func)
 
template<typename Scalar , typename Derived , typename OtherDerived >
static auto binaryFunc (const Eigen::MatrixBase< Derived > &M_left, const Eigen::MatrixBase< OtherDerived > &M_right, const std::function< Scalar(Scalar, Scalar)> &func)
 
template<typename Scalar , typename Derived >
static auto msqrt (const Eigen::MatrixBase< Derived > &M)
 
template<typename Derived , typename Scalar >
static auto mexp (const Eigen::MatrixBase< Derived > &M, Scalar factor)
 
template<typename Derived >
static auto adjoint (const Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static auto block (const Eigen::MatrixBase< Derived > &M, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols)
 
template<typename Derived >
static auto block (Eigen::MatrixBase< Derived > &&M, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols)
 
template<typename Derived >
static auto block (Eigen::MatrixBase< Derived > &M, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols)
 
template<typename Derived >
static void add_to_block (Eigen::MatrixBase< Derived > &M1, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols, const Eigen::MatrixBase< Derived > &M2)
 
template<typename Derived >
static void set_block (Eigen::MatrixBase< Derived > &M1, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols, const Eigen::MatrixBase< Derived > &M2)
 
template<typename Derived >
static void add_to_block (Eigen::MatrixBase< Derived > &&M1, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols, const Eigen::MatrixBase< Derived > &M2)
 
template<typename Derived >
static void set_block (Eigen::MatrixBase< Derived > &&M1, const MIndextype &row_off, const MIndextype &col_off, const MIndextype &rows, const MIndextype &cols, const Eigen::MatrixBase< Derived > &M2)
 
template<typename Derived >
static std::pair< MType< typename Derived::Scalar >, MType< typename Derived::Scalar > > eigh (const Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static std::pair< MType< typename Derived::Scalar >, MType< typename Derived::Scalar > > qr (const Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static std::string print (const Eigen::DenseBase< Derived > &M)
 

Member Typedef Documentation

◆ cMapMType [1/2]

template<typename Scalar >
using Xped::MatrixInterface::cMapMType = const CTF::Matrix<Scalar>

◆ cMapMType [2/2]

template<typename Scalar >
using Xped::MatrixInterface::cMapMType = Eigen::Map<cMType<Scalar> >

◆ cMType [1/2]

template<typename Scalar >
using Xped::MatrixInterface::cMType = const CTF::Matrix<Scalar>

◆ cMType [2/2]

template<typename Scalar >
using Xped::MatrixInterface::cMType = const Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>

◆ MapMType [1/2]

template<typename Scalar >
using Xped::MatrixInterface::MapMType = CTF::Matrix<Scalar>

◆ MapMType [2/2]

template<typename Scalar >
using Xped::MatrixInterface::MapMType = Eigen::Map<MType<Scalar> >

◆ MIndextype [1/2]

◆ MIndextype [2/2]

typedef Eigen::Index Xped::MatrixInterface::MIndextype

◆ MType [1/2]

template<typename Scalar >
using Xped::MatrixInterface::MType = CTF::Matrix<Scalar>

◆ MType [2/2]

template<typename Scalar >
using Xped::MatrixInterface::MType = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>

Member Function Documentation

◆ add() [1/2]

template<typename DerivedL , typename DerivedR >
static auto Xped::MatrixInterface::add ( const Eigen::MatrixBase< DerivedL > &  M1,
const Eigen::MatrixBase< DerivedR > &  M2 
)
inlinestatic

◆ add() [2/2]

template<typename MT1 , typename MT2 >
MType< typename ctf_traits< MT1 >::Scalar > Xped::MatrixInterface::add ( MT1 &&  M1,
MT2 &&  M2 
)
static

◆ add_to_block() [1/3]

template<typename Derived >
void Xped::MatrixInterface::add_to_block ( Eigen::MatrixBase< Derived > &&  M1,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols,
const Eigen::MatrixBase< Derived > &  M2 
)
static

◆ add_to_block() [2/3]

template<typename Derived >
void Xped::MatrixInterface::add_to_block ( Eigen::MatrixBase< Derived > &  M1,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols,
const Eigen::MatrixBase< Derived > &  M2 
)
static

◆ add_to_block() [3/3]

template<typename Scalar >
void Xped::MatrixInterface::add_to_block ( MType< Scalar > &  M1,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols,
const MType< Scalar > &  M2 
)
static
Here is the call graph for this function:

◆ adjoint() [1/2]

template<typename Derived >
static auto Xped::MatrixInterface::adjoint ( const Eigen::MatrixBase< Derived > &  M)
inlinestatic

◆ adjoint() [2/2]

template<typename MT >
MType< typename ctf_traits< MT >::Scalar > Xped::MatrixInterface::adjoint ( MT &&  M)
static
Here is the caller graph for this function:

◆ binaryFunc() [1/2]

template<typename Scalar , typename Derived , typename OtherDerived >
static auto Xped::MatrixInterface::binaryFunc ( const Eigen::MatrixBase< Derived > &  M_left,
const Eigen::MatrixBase< OtherDerived > &  M_right,
const std::function< Scalar(Scalar, Scalar)> &  func 
)
inlinestatic

◆ binaryFunc() [2/2]

template<typename Scalar , typename MTL , typename MTR >
static MType< Scalar > Xped::MatrixInterface::binaryFunc ( MTL &&  M_left,
MTR &&  M_right,
const std::function< Scalar(Scalar, Scalar)> &  func 
)
static
Here is the caller graph for this function:

◆ block() [1/4]

template<typename Derived >
static auto Xped::MatrixInterface::block ( const Eigen::MatrixBase< Derived > &  M,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols 
)
inlinestatic
Here is the call graph for this function:

◆ block() [2/4]

template<typename Scalar >
MType< Scalar > Xped::MatrixInterface::block ( const MType< Scalar > &  M,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ block() [3/4]

template<typename Derived >
static auto Xped::MatrixInterface::block ( Eigen::MatrixBase< Derived > &&  M,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols 
)
inlinestatic
Here is the call graph for this function:

◆ block() [4/4]

template<typename Derived >
static auto Xped::MatrixInterface::block ( Eigen::MatrixBase< Derived > &  M,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols 
)
inlinestatic
Here is the call graph for this function:

◆ cols() [1/2]

template<typename Derived >
MIndextype Xped::MatrixInterface::cols ( const Eigen::DenseBase< Derived > &  M)
static

◆ cols() [2/2]

template<typename Scalar >
MIndextype Xped::MatrixInterface::cols ( const MType< Scalar > &  M)
static
Here is the caller graph for this function:

◆ construct() [1/2]

template<typename Scalar >
MType< Scalar > Xped::MatrixInterface::construct ( const MIndextype rows,
const MIndextype cols,
const mpi::XpedWorld  
)
static
Here is the call graph for this function:

◆ construct() [2/2]

template<typename Scalar >
MType< Scalar > Xped::MatrixInterface::construct ( const MIndextype rows,
const MIndextype cols,
CTF::World &  world 
)
static
Here is the call graph for this function:

◆ construct_with_zero() [1/2]

template<typename Scalar >
MType< Scalar > Xped::MatrixInterface::construct_with_zero ( const MIndextype rows,
const MIndextype cols,
const mpi::XpedWorld  
)
static
Here is the call graph for this function:

◆ construct_with_zero() [2/2]

template<typename Scalar >
MType< Scalar > Xped::MatrixInterface::construct_with_zero ( const MIndextype rows,
const MIndextype cols,
CTF::World &  world 
)
static
Here is the call graph for this function:

◆ diagBinaryFunc() [1/2]

template<typename Scalar , typename Derived , typename OtherDerived >
static auto Xped::MatrixInterface::diagBinaryFunc ( const Eigen::MatrixBase< Derived > &  M_left,
const Eigen::MatrixBase< OtherDerived > &  M_right,
const std::function< Scalar(Scalar, Scalar)> &  func 
)
inlinestatic

◆ diagBinaryFunc() [2/2]

template<typename Scalar , typename MTL , typename MTR >
static MType< Scalar > Xped::MatrixInterface::diagBinaryFunc ( MTL &&  M_left,
MTR &&  M_right,
const std::function< Scalar(Scalar, Scalar)> &  func 
)
static
Here is the caller graph for this function:

◆ diagUnaryFunc() [1/2]

template<typename Scalar , typename Derived >
static auto Xped::MatrixInterface::diagUnaryFunc ( const Eigen::MatrixBase< Derived > &  M,
const std::function< Scalar(Scalar)> &  func 
)
inlinestatic

◆ diagUnaryFunc() [2/2]

template<typename Scalar , typename MT >
MType< Scalar > Xped::MatrixInterface::diagUnaryFunc ( MT &&  M,
const std::function< Scalar(Scalar)> &  func 
)
static
Here is the caller graph for this function:

◆ difference() [1/2]

template<typename DerivedL , typename DerivedR >
static auto Xped::MatrixInterface::difference ( const Eigen::MatrixBase< DerivedL > &  M1,
const Eigen::MatrixBase< DerivedR > &  M2 
)
inlinestatic

◆ difference() [2/2]

template<typename MT1 , typename MT2 >
MType< typename ctf_traits< MT1 >::Scalar > Xped::MatrixInterface::difference ( MT1 &&  M1,
MT2 &&  M2 
)
static

◆ eigh() [1/2]

template<typename Derived >
std::pair< MType< typename Derived::Scalar >, MType< typename Derived::Scalar > > Xped::MatrixInterface::eigh ( const Eigen::MatrixBase< Derived > &  M)
static

◆ eigh() [2/2]

template<typename MT >
std::pair< MType< typename ctf_traits< MT >::Scalar >, MType< typename ctf_traits< MT >::Scalar > > Xped::MatrixInterface::eigh ( MT &&  M)
static

◆ get_raw_data() [1/2]

template<typename Scalar >
static const Scalar * Xped::MatrixInterface::get_raw_data ( const Eigen::Matrix< Scalar, -1, -1 > &  M)
inlinestatic

◆ get_raw_data() [2/2]

template<typename Scalar >
static Scalar * Xped::MatrixInterface::get_raw_data ( Eigen::Matrix< Scalar, -1, -1 > &  M)
inlinestatic

◆ getVal() [1/2]

template<typename Derived >
Derived::Scalar Xped::MatrixInterface::getVal ( const Eigen::DenseBase< Derived > &  M,
const MIndextype row,
const MIndextype col 
)
static

◆ getVal() [2/2]

template<typename Scalar >
Scalar Xped::MatrixInterface::getVal ( const MType< Scalar > &  M,
const MIndextype row,
const MIndextype col 
)
static

◆ Identity() [1/2]

template<typename Scalar >
MType< Scalar > Xped::MatrixInterface::Identity ( const MIndextype rows,
const MIndextype cols,
const mpi::XpedWorld  
)
static

◆ Identity() [2/2]

template<typename Scalar >
MType< Scalar > Xped::MatrixInterface::Identity ( const MIndextype rows,
const MIndextype cols,
CTF::World &  world 
)
static

◆ kronecker_prod() [1/2]

template<typename DerivedL , typename DerivedR >
MType< std::common_type_t< typename DerivedL::Scalar, typename DerivedR::Scalar > > Xped::MatrixInterface::kronecker_prod ( const Eigen::MatrixBase< DerivedL > &  M1,
const Eigen::MatrixBase< DerivedR > &  M2 
)
static

◆ kronecker_prod() [2/2]

template<typename MT1 , typename MT2 >
MType< typename ctf_traits< MT1 >::Scalar > Xped::MatrixInterface::kronecker_prod ( MT1 &&  M1,
MT2 &&  M2 
)
static

◆ maxCoeff() [1/2]

template<typename Derived >
Derived::RealScalar Xped::MatrixInterface::maxCoeff ( const Eigen::MatrixBase< Derived > &  M,
MIndextype maxrow,
MIndextype maxcol 
)
static

◆ maxCoeff() [2/2]

template<typename MT >
ctf_traits< MT >::Scalar Xped::MatrixInterface::maxCoeff ( MT &&  M,
MIndextype maxrow,
MIndextype maxcol 
)
static

◆ maxNorm() [1/2]

template<typename Derived >
Derived::RealScalar Xped::MatrixInterface::maxNorm ( const Eigen::MatrixBase< Derived > &  M)
static

◆ maxNorm() [2/2]

template<typename MT >
ctf_traits< MT >::Scalar Xped::MatrixInterface::maxNorm ( MT &&  M)
static
Here is the caller graph for this function:

◆ mexp() [1/2]

template<typename Derived , typename Scalar >
static auto Xped::MatrixInterface::mexp ( const Eigen::MatrixBase< Derived > &  M,
Scalar  factor 
)
inlinestatic

◆ mexp() [2/2]

template<typename MT >
static MType< typename ctf_traits< MT >::Scalar > Xped::MatrixInterface::mexp ( MT &&  M)
static
Here is the caller graph for this function:

◆ msqrt() [1/2]

template<typename Scalar , typename Derived >
static auto Xped::MatrixInterface::msqrt ( const Eigen::MatrixBase< Derived > &  M)
inlinestatic

◆ msqrt() [2/2]

template<typename MT >
static MType< typename ctf_traits< MT >::Scalar > Xped::MatrixInterface::msqrt ( MT &&  M)
static
Here is the caller graph for this function:

◆ optimal_prod() [1/2]

template<typename Scalar , typename MatrixExpr1 , typename MatrixExpr2 , typename MatrixExpr3 , typename MatrixExprRes >
void Xped::MatrixInterface::optimal_prod ( const Scalar &  scale,
const MatrixExpr1 &  M1,
const MatrixExpr2 &  M2,
const MatrixExpr3 &  M3,
MatrixExprRes &  Mres 
)
static

◆ optimal_prod() [2/2]

template<typename Scalar , typename MatrixExpr1 , typename MatrixExpr2 , typename MatrixExpr3 , typename MatrixExprRes >
void Xped::MatrixInterface::optimal_prod ( const Scalar &  scale,
MatrixExpr1 &&  M1,
MatrixExpr2 &&  M2,
MatrixExpr3 &&  M3,
MatrixExprRes &  Mres 
)
static
Here is the call graph for this function:

◆ optimal_prod_add() [1/2]

template<typename Scalar , typename MatrixExpr1 , typename MatrixExpr2 , typename MatrixExpr3 , typename MatrixExprRes >
void Xped::MatrixInterface::optimal_prod_add ( const Scalar &  scale,
const MatrixExpr1 &  M1,
const MatrixExpr2 &  M2,
const MatrixExpr3 &  M3,
MatrixExprRes &  Mres 
)
static

◆ optimal_prod_add() [2/2]

template<typename Scalar , typename MatrixExpr1 , typename MatrixExpr2 , typename MatrixExpr3 , typename MatrixExprRes >
void Xped::MatrixInterface::optimal_prod_add ( const Scalar &  scale,
MatrixExpr1 &&  M1,
MatrixExpr2 &&  M2,
MatrixExpr3 &&  M3,
MatrixExprRes &  Mres 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print() [1/2]

template<typename Derived >
std::string Xped::MatrixInterface::print ( const Eigen::DenseBase< Derived > &  M)
static

◆ print() [2/2]

template<typename MT >
void Xped::MatrixInterface::print ( MT &&  M)
static

◆ prod() [1/2]

template<typename DerivedL , typename DerivedR >
MType< std::common_type_t< typename DerivedL::Scalar, typename DerivedR::Scalar > > Xped::MatrixInterface::prod ( const Eigen::MatrixBase< DerivedL > &  M1,
const Eigen::MatrixBase< DerivedR > &  M2 
)
static

◆ prod() [2/2]

template<typename MT1 , typename MT2 >
MType< typename ctf_traits< MT1 >::Scalar > Xped::MatrixInterface::prod ( MT1 &&  M1,
MT2 &&  M2 
)
static
Here is the caller graph for this function:

◆ qr() [1/2]

template<typename Derived >
std::pair< MType< typename Derived::Scalar >, MType< typename Derived::Scalar > > Xped::MatrixInterface::qr ( const Eigen::MatrixBase< Derived > &  M)
static

◆ qr() [2/2]

template<typename MT >
std::pair< MType< typename ctf_traits< MT >::Scalar >, MType< typename ctf_traits< MT >::Scalar > > Xped::MatrixInterface::qr ( MT &&  M)
static

◆ resize() [1/2]

template<typename Scalar >
void Xped::MatrixInterface::resize ( MType< Scalar > &  M,
const MIndextype new_rows,
const MIndextype new_cols 
)
static

◆ resize() [2/2]

template<typename Scalar >
static void Xped::MatrixInterface::resize ( MType< Scalar > &  M,
const MIndextype new_rows,
const MIndextype new_cols 
)
static

◆ rows() [1/2]

template<typename Derived >
MIndextype Xped::MatrixInterface::rows ( const Eigen::DenseBase< Derived > &  M)
static

◆ rows() [2/2]

template<typename Scalar >
MIndextype Xped::MatrixInterface::rows ( const MType< Scalar > &  M)
static
Here is the caller graph for this function:

◆ scale() [1/2]

template<typename Derived >
void Xped::MatrixInterface::scale ( Eigen::MatrixBase< Derived > &  M,
const typename Derived::Scalar &  val 
)
static

◆ scale() [2/2]

template<typename Scalar >
void Xped::MatrixInterface::scale ( MType< Scalar > &  M,
const Scalar &  val 
)
static
Here is the caller graph for this function:

◆ set_block() [1/2]

template<typename Derived >
void Xped::MatrixInterface::set_block ( Eigen::MatrixBase< Derived > &&  M1,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols,
const Eigen::MatrixBase< Derived > &  M2 
)
static

◆ set_block() [2/2]

template<typename Derived >
void Xped::MatrixInterface::set_block ( Eigen::MatrixBase< Derived > &  M1,
const MIndextype row_off,
const MIndextype col_off,
const MIndextype rows,
const MIndextype cols,
const Eigen::MatrixBase< Derived > &  M2 
)
static

◆ setConstant() [1/3]

template<typename Derived >
void Xped::MatrixInterface::setConstant ( Eigen::MatrixBase< Derived > &&  M,
const typename Derived::Scalar &  val 
)
static

◆ setConstant() [2/3]

template<typename Derived >
void Xped::MatrixInterface::setConstant ( Eigen::MatrixBase< Derived > &  M,
const typename Derived::Scalar &  val 
)
static

◆ setConstant() [3/3]

template<typename Scalar >
void Xped::MatrixInterface::setConstant ( MType< Scalar > &  M,
const Scalar &  val 
)
static

◆ setIdentity() [1/3]

template<typename Derived >
void Xped::MatrixInterface::setIdentity ( Eigen::MatrixBase< Derived > &&  M)
static

◆ setIdentity() [2/3]

template<typename Derived >
void Xped::MatrixInterface::setIdentity ( Eigen::MatrixBase< Derived > &  M)
static

◆ setIdentity() [3/3]

template<typename Scalar >
void Xped::MatrixInterface::setIdentity ( MType< Scalar > &  M)
static

◆ setRandom() [1/3]

template<typename Derived >
void Xped::MatrixInterface::setRandom ( Eigen::MatrixBase< Derived > &&  M,
std::mt19937 &  engine 
)
static

◆ setRandom() [2/3]

template<typename Derived >
void Xped::MatrixInterface::setRandom ( Eigen::MatrixBase< Derived > &  M,
std::mt19937 &  engine 
)
static

◆ setRandom() [3/3]

template<typename Scalar >
void Xped::MatrixInterface::setRandom ( MType< Scalar > &  M)
static

◆ setVal() [1/2]

template<typename Derived >
void Xped::MatrixInterface::setVal ( Eigen::DenseBase< Derived > &  M,
const MIndextype row,
const MIndextype col,
typename Derived::Scalar  val 
)
static

◆ setVal() [2/2]

template<typename Scalar >
static void Xped::MatrixInterface::setVal ( MType< Scalar > &  M,
const MIndextype  row,
const MIndextype  col,
const Scalar &  val 
)
static

◆ setZero() [1/3]

template<typename Derived >
void Xped::MatrixInterface::setZero ( Eigen::MatrixBase< Derived > &&  M)
static

◆ setZero() [2/3]

template<typename Derived >
void Xped::MatrixInterface::setZero ( Eigen::MatrixBase< Derived > &  M)
static

◆ setZero() [3/3]

template<typename Scalar >
void Xped::MatrixInterface::setZero ( MType< Scalar > &  M)
static

◆ trace() [1/2]

template<typename Derived >
Derived::Scalar Xped::MatrixInterface::trace ( const Eigen::MatrixBase< Derived > &  M)
static

◆ trace() [2/2]

template<typename MT >
ctf_traits< MT >::Scalar Xped::MatrixInterface::trace ( MT &&  M)
static
Here is the caller graph for this function:

◆ unaryFunc() [1/2]

template<typename Scalar , typename Derived >
static auto Xped::MatrixInterface::unaryFunc ( const Eigen::MatrixBase< Derived > &  M,
const std::function< Scalar(typename Derived::Scalar)> &  func 
)
inlinestatic

◆ unaryFunc() [2/2]

template<typename Scalar , typename MT >
MType< Scalar > Xped::MatrixInterface::unaryFunc ( MT &&  M,
const std::function< Scalar(Scalar)> &  func 
)
static

The documentation for this struct was generated from the following files: