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

#include <PlainInterface_Cyclops_impl.hpp>

Inheritance diagram for Xped::PlainInterface:
Collaboration diagram for Xped::PlainInterface:

Public Types

using Indextype = int
 
using Indextype = Eigen::Index
 
using Indextype = Eigen::Index
 
- Public Types inherited from Xped::MatrixInterface
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
 
- Public Types inherited from Xped::TensorInterface
template<typename Scalar , std::size_t Rank>
using TType = nda::dense_array< Scalar, Rank >
 
template<typename Scalar , std::size_t Rank>
using cTType = const nda::dense_array< Scalar, Rank >
 
template<typename Scalar , std::size_t Rank>
using MapTType = nda::dense_array_ref< Scalar, Rank >
 
template<typename Scalar , std::size_t Rank>
using cMapTType = nda::const_dense_array_ref< Scalar, Rank >
 
using Indextype = nda::index_t
 
template<typename Scalar , std::size_t Rank>
using TType = CTF::Tensor< Scalar >
 
template<typename Scalar , std::size_t Rank>
using cTType = const CTF::Tensor< Scalar >
 
template<typename Scalar , std::size_t Rank>
using MapTType = CTF::Tensor< Scalar >
 
template<typename Scalar , std::size_t Rank>
using cMapTType = const CTF::Tensor< Scalar >
 
using Indextype = int
 
template<typename Scalar , std::size_t Rank>
using TType = Eigen::Tensor< Scalar, Rank >
 
template<typename Scalar , std::size_t Rank>
using cTType = const Eigen::Tensor< Scalar, Rank >
 
template<typename Scalar , std::size_t Rank>
using MapTType = Eigen::TensorMap< TType< Scalar, Rank > >
 
template<typename Scalar , std::size_t Rank>
using cMapTType = Eigen::TensorMap< cTType< Scalar, Rank > >
 
using Indextype = Eigen::Index
 
- Public Types inherited from Xped::VectorInterface
template<typename Scalar >
using VType = CTF::Vector< Scalar >
 
typedef int VIndextype
 
template<typename Scalar >
using VType = Eigen::Array< Scalar, Eigen::Dynamic, 1 >
 
typedef Eigen::Index VIndextype
 

Static Public Member Functions

template<std::size_t Rank, typename Scalar >
static void set_block_from_tensor (MType< Scalar > &M, const Indextype &row_off, const Indextype &col_off, const Indextype &rows, const Indextype &cols, const Scalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Scalar >
static void add_to_block_from_tensor (MType< Scalar > &M, const Indextype &row_off, const Indextype &col_off, const Indextype &rows, const Indextype &cols, const Scalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Scalar >
static TType< Scalar, Rank > tensor_from_matrix_block (const MType< Scalar > &M, const Indextype &row_off, const Indextype &col_off, const Indextype &rows, const Indextype &cols, const std::array< Indextype, Rank > &dims)
 
template<typename MT >
static void diagonal_head_matrix_to_vector (VType< typename ctf_traits< MT >::Scalar > &V, MT &&M, const Indextype &n_elems)
 
template<typename VT >
static void vec_diff (VT &&vec, MType< typename ctf_traits< VT >::Scalar > &res)
 
template<typename VT >
static void vec_add (VT &&vec, MType< typename ctf_traits< VT >::Scalar > &res)
 
template<typename MT >
static std::tuple< MType< typename ctf_traits< MT >::Scalar >, VType< typename ctf_traits< MT >::Scalar >, MType< typename ctf_traits< MT >::Scalar > > svd (MT &&M)
 
template<typename Scalar , typename VT >
static MType< Scalar > vec_to_diagmat (VT &&V)
 
template<std::size_t Rank, typename Derived , typename Scalar >
static void set_block_from_tensor (Eigen::MatrixBase< Derived > &M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const Scalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Derived , typename Scalar >
static void add_to_block_from_tensor (Eigen::MatrixBase< Derived > &M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const Scalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Derived , typename Scalar >
static void set_block_from_tensor (Eigen::MatrixBase< Derived > &&M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const Scalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Derived , typename Scalar >
static void add_to_block_from_tensor (Eigen::MatrixBase< Derived > &&M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const Scalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Derived >
static TType< typename Derived::Scalar, Rank > tensor_from_matrix_block (const Eigen::MatrixBase< Derived > &M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const std::array< Indextype, Rank > &dims)
 
template<typename Derived >
static void diagonal_head_matrix_to_vector (VType< typename Derived::Scalar > &V, const Eigen::MatrixBase< Derived > &M, const Indextype &n_elems)
 
template<typename Derived >
static std::tuple< MType< typename Derived::Scalar >, VType< typename Derived::Scalar >, MType< typename Derived::Scalar > > svd (const Eigen::MatrixBase< Derived > &M)
 
template<typename Scalar >
static MType< Scalar > vec_to_diagmat (const VType< Scalar > &V)
 
template<std::size_t Rank, typename Derived , typename ClebschScalar , typename Scalar >
static void set_block_from_tensor (Eigen::MatrixBase< Derived > &M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const ClebschScalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Derived , typename ClebschScalar , typename Scalar >
static void add_to_block_from_tensor (Eigen::MatrixBase< Derived > &M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const ClebschScalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Derived , typename ClebschScalar , typename Scalar >
static void set_block_from_tensor (Eigen::MatrixBase< Derived > &&M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const ClebschScalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Derived , typename ClebschScalar , typename Scalar >
static void add_to_block_from_tensor (Eigen::MatrixBase< Derived > &&M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const ClebschScalar &scale, const TType< Scalar, Rank > &T)
 
template<std::size_t Rank, typename Derived >
static TType< typename Derived::Scalar, Rank > tensor_from_matrix_block (const Eigen::MatrixBase< Derived > &M, const Indextype &row, const Indextype &col, const Indextype &rows, const Indextype &cols, const std::array< Indextype, Rank > &dims)
 
template<typename Derived >
static void diagonal_head_matrix_to_vector (VType< typename Derived::Scalar > &V, const Eigen::MatrixBase< Derived > &M, const Indextype &n_elems)
 
template<typename Scalar >
static void vec_diff (const Eigen::Matrix< Scalar, -1, 1 > &vec, MType< Scalar > &res)
 
template<typename Scalar >
static void vec_add (const Eigen::Matrix< Scalar, -1, 1 > &vec, MType< Scalar > &res)
 
template<typename Derived >
static std::tuple< MType< typename Derived::Scalar >, VType< typename Derived::RealScalar >, MType< typename Derived::Scalar > > svd (const Eigen::MatrixBase< Derived > &M)
 
template<typename Scalar >
static MType< Scalar > vec_to_diagmat (const VType< Scalar > &V)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > add (MT1 &&M1, MT2 &&M2)
 
template<typename DerivedL , typename DerivedR >
static auto add (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename Scalar >
static MType< Scalar > construct (const MIndextype &rows, const MIndextype &cols, CTF::World &world)
 
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, CTF::World &world)
 
template<typename Scalar >
static MType< Scalar > construct_with_zero (const MIndextype &rows, const MIndextype &cols, const mpi::XpedWorld &)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > difference (MT1 &&M1, MT2 &&M2)
 
template<typename DerivedL , typename DerivedR >
static auto difference (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename Scalar >
static Scalar getVal (const MType< Scalar > &M, const MIndextype &row, const MIndextype &col)
 
template<typename Derived >
static Derived::Scalar getVal (const Eigen::DenseBase< Derived > &M, const MIndextype &row, const MIndextype &col)
 
template<typename MT >
static void print (MT &&M)
 
template<typename Derived >
static std::string print (const Eigen::DenseBase< Derived > &M)
 
template<typename Scalar >
static void scale (MType< Scalar > &M, const Scalar &val)
 
template<typename Derived >
static void scale (Eigen::MatrixBase< Derived > &M, const typename Derived::Scalar &val)
 
template<typename Scalar >
static void setConstant (MType< Scalar > &M, const Scalar &val)
 
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 Scalar >
static void setRandom (MType< Scalar > &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 Scalar >
static void setVal (MType< Scalar > &M, const MIndextype row, const MIndextype col, const 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 void setZero (MType< Scalar > &M)
 
template<typename Derived >
static void setZero (Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static void setZero (Eigen::MatrixBase< Derived > &&M)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, mpi::XpedWorld &world=mpi::getUniverse())
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static cTType< Scalar, Rank > construct (const cMapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, CTF::World &world)
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , int Rank>
static cTType< Scalar, Rank > construct (const cMapTType< Scalar, Rank > &map)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , std::size_t Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , std::size_t Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar >
static VType< Scalar > construct (const VIndextype &elems, CTF::World &world)
 
template<typename Scalar >
static VType< Scalar > construct (const VIndextype &elems, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar >
static VType< Scalar > construct_with_zero (const VIndextype &elems, CTF::World &world)
 
template<typename Scalar >
static VType< Scalar > construct_with_zero (const VIndextype &elems, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar >
static std::string print (const VType< Scalar > &V)
 
template<typename Scalar >
static std::string print (const VType< Scalar > &V)
 
template<typename Scalar , typename VT1 >
static VType< Scalar > scale (VT1 &&V, const Scalar &val)
 
template<typename Scalar >
static const Eigen::CwiseBinaryOp< Eigen::internal::scalar_product_op< Scalar, Scalar >, Scalar, const VType< Scalar > > scale (const VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setConstant (VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setConstant (VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setRandom (VType< Scalar > &V)
 
template<typename Scalar >
static void setRandom (VType< Scalar > &V)
 
template<typename Scalar >
static void setZero (VType< Scalar > &V)
 
template<typename Scalar >
static void setZero (VType< Scalar > &V)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > add (MT1 &&M1, MT2 &&M2)
 
template<typename DerivedL , typename DerivedR >
static auto add (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename Scalar >
static MType< Scalar > construct (const MIndextype &rows, const MIndextype &cols, CTF::World &world)
 
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, CTF::World &world)
 
template<typename Scalar >
static MType< Scalar > construct_with_zero (const MIndextype &rows, const MIndextype &cols, const mpi::XpedWorld &)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > difference (MT1 &&M1, MT2 &&M2)
 
template<typename DerivedL , typename DerivedR >
static auto difference (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename Scalar >
static Scalar getVal (const MType< Scalar > &M, const MIndextype &row, const MIndextype &col)
 
template<typename Derived >
static Derived::Scalar getVal (const Eigen::DenseBase< Derived > &M, const MIndextype &row, const MIndextype &col)
 
template<typename MT >
static void print (MT &&M)
 
template<typename Derived >
static std::string print (const Eigen::DenseBase< Derived > &M)
 
template<typename Scalar >
static void scale (MType< Scalar > &M, const Scalar &val)
 
template<typename Derived >
static void scale (Eigen::MatrixBase< Derived > &M, const typename Derived::Scalar &val)
 
template<typename Scalar >
static void setConstant (MType< Scalar > &M, const Scalar &val)
 
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 Scalar >
static void setRandom (MType< Scalar > &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 Scalar >
static void setZero (MType< Scalar > &M)
 
template<typename Derived >
static void setZero (Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static void setZero (Eigen::MatrixBase< Derived > &&M)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, mpi::XpedWorld &world=mpi::getUniverse())
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static cTType< Scalar, Rank > construct (const cMapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, CTF::World &world)
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , int Rank>
static cTType< Scalar, Rank > construct (const cMapTType< Scalar, Rank > &map)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , std::size_t Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar >
static VType< Scalar > construct (const VIndextype &elems, CTF::World &world)
 
template<typename Scalar >
static VType< Scalar > construct (const VIndextype &elems, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar >
static VType< Scalar > construct_with_zero (const VIndextype &elems, CTF::World &world)
 
template<typename Scalar >
static VType< Scalar > construct_with_zero (const VIndextype &elems, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar >
static std::string print (const VType< Scalar > &V)
 
template<typename Scalar >
static std::string print (const VType< Scalar > &V)
 
template<typename Scalar , typename VT1 >
static VType< Scalar > scale (VT1 &&V, const Scalar &val)
 
template<typename Scalar >
static const Eigen::CwiseBinaryOp< Eigen::internal::scalar_product_op< Scalar, Scalar >, Scalar, const VType< Scalar > > scale (const VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setConstant (VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setConstant (VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setRandom (VType< Scalar > &V)
 
template<typename Scalar >
static void setRandom (VType< Scalar > &V)
 
template<typename Scalar >
static void setZero (VType< Scalar > &V)
 
template<typename Scalar >
static void setZero (VType< Scalar > &V)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > add (MT1 &&M1, MT2 &&M2)
 
template<typename DerivedL , typename DerivedR >
static auto add (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
template<typename Scalar >
static MType< Scalar > construct (const MIndextype &rows, const MIndextype &cols, CTF::World &world)
 
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, CTF::World &world)
 
template<typename Scalar >
static MType< Scalar > construct_with_zero (const MIndextype &rows, const MIndextype &cols, const mpi::XpedWorld &)
 
template<typename MT1 , typename MT2 >
static MType< typename ctf_traits< MT1 >::Scalar > difference (MT1 &&M1, MT2 &&M2)
 
template<typename DerivedL , typename DerivedR >
static auto difference (const Eigen::MatrixBase< DerivedL > &M1, const Eigen::MatrixBase< DerivedR > &M2)
 
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 Scalar >
static Scalar getVal (const MType< Scalar > &M, const MIndextype &row, const MIndextype &col)
 
template<typename Derived >
static Derived::Scalar getVal (const Eigen::DenseBase< Derived > &M, const MIndextype &row, const MIndextype &col)
 
template<typename MT >
static void print (MT &&M)
 
template<typename Derived >
static std::string print (const Eigen::DenseBase< Derived > &M)
 
template<typename Scalar >
static void scale (MType< Scalar > &M, const Scalar &val)
 
template<typename Derived >
static void scale (Eigen::MatrixBase< Derived > &M, const typename Derived::Scalar &val)
 
template<typename Scalar >
static void setConstant (MType< Scalar > &M, const Scalar &val)
 
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 Scalar >
static void setRandom (MType< Scalar > &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 Scalar >
static void setVal (MType< Scalar > &M, const MIndextype row, const MIndextype col, const 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 void setZero (MType< Scalar > &M)
 
template<typename Derived >
static void setZero (Eigen::MatrixBase< Derived > &M)
 
template<typename Derived >
static void setZero (Eigen::MatrixBase< Derived > &&M)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, mpi::XpedWorld &world=mpi::getUniverse())
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static cTType< Scalar, Rank > construct (const cMapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, CTF::World &world)
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , int Rank>
static cTType< Scalar, Rank > construct (const cMapTType< Scalar, Rank > &map)
 
template<typename Scalar , int Rank>
static const Scalar * get_raw_data (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static Scalar * get_raw_data (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static Scalar * get_raw_data (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static const Scalar * get_raw_data (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static Scalar * get_raw_data (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , std::size_t Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , std::size_t Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar >
static VType< Scalar > construct (const VIndextype &elems, CTF::World &world)
 
template<typename Scalar >
static VType< Scalar > construct (const VIndextype &elems, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar >
static VType< Scalar > construct_with_zero (const VIndextype &elems, CTF::World &world)
 
template<typename Scalar >
static VType< Scalar > construct_with_zero (const VIndextype &elems, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar >
static std::string print (const VType< Scalar > &V)
 
template<typename Scalar >
static std::string print (const VType< Scalar > &V)
 
template<typename Scalar , typename VT1 >
static VType< Scalar > scale (VT1 &&V, const Scalar &val)
 
template<typename Scalar >
static const Eigen::CwiseBinaryOp< Eigen::internal::scalar_product_op< Scalar, Scalar >, Scalar, const VType< Scalar > > scale (const VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setConstant (VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setConstant (VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static void setRandom (VType< Scalar > &V)
 
template<typename Scalar >
static void setRandom (VType< Scalar > &V)
 
template<typename Scalar >
static void setZero (VType< Scalar > &V)
 
template<typename Scalar >
static void setZero (VType< Scalar > &V)
 
- Static Public Member Functions inherited from Xped::MatrixInterface
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)
 
- Static Public Member Functions inherited from Xped::TensorInterface
template<typename element_t , std::size_t N, size_t... Is>
static nda::internal::tuple_of_n< element_t, N > as_tuple (std::array< element_t, N > const &arr, std::index_sequence< Is... >)
 
template<typename element_t , std::size_t N>
static nda::internal::tuple_of_n< element_t, N > as_tuple (std::array< element_t, N > const &arr)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, mpi::XpedWorld &world=mpi::getUniverse())
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static cTType< Scalar, Rank > construct (const cMapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static cMapTType< Scalar, Rank > cMap (const Scalar *data, const std::array< Indextype, Rank > &dims)
 
template<typename Scalar , std::size_t Rank>
static MapTType< Scalar, Rank > Map (Scalar *data, const std::array< Indextype, Rank > &dims)
 
template<typename Scalar , std::size_t Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static const Scalar * get_raw_data (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static Scalar * get_raw_data (TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static std::array< Indextype, Rank > dimensions (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > tensorProd (const TType< Scalar, Rank > &T1, const TType< Scalar, Rank > &T2)
 
template<typename Scalar , std::size_t Rank, Indextype... Is, typename Expr1 , typename Expr2 >
static void addScale_helper (const Expr1 &src, Expr2 &dst, const Scalar &scale, seq::iseq< Indextype, Is... > S)
 
template<typename Scalar , std::size_t Rank, typename Expr1 , typename Expr2 >
static void addScale (const Expr1 &src, Expr2 &dst, const Scalar &scale)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2, Indextype... Is1, Indextype... Is2, Indextype... Ist>
static auto contract_helper (const TType< Scalar, Rank1 > &T1, const TType< Scalar, Rank2 > &T2, seq::iseq< Indextype, Is1... > S1, seq::iseq< Indextype, Is2... > S2, seq::iseq< Indextype, Ist... > St)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2, Indextype... Is>
static TType< Scalar, Rank1+Rank2 - sizeof...(Is)> contract (const TType< Scalar, Rank1 > &T1, const TType< Scalar, Rank2 > &T2)
 
template<typename Expr , Indextype... p>
static auto shuffle_view (const Expr &T)
 
template<typename Scalar , std::size_t Rank, Indextype... p>
static TType< Scalar, Rank > shuffle (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank, Indextype... p>
static TType< Scalar, Rank > shuffle (const cMapTType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank, Indextype... p>
static TType< Scalar, Rank > shuffle (const TType< Scalar, Rank > &T, seq::iseq< Indextype, p... > s)
 
template<typename Scalar , std::size_t Rank, Indextype... p>
static auto shuffle_view (const cMapTType< Scalar, Rank > &T, seq::iseq< Indextype, p... > s)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2>
static TType< Scalar, Rank2 > reshape (const TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &dims)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2>
static auto slice (TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &offsets, const std::array< Indextype, Rank2 > &extents)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2>
static void setSubTensor (TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &offsets, const std::array< Indextype, Rank2 > &extents, const TType< Scalar, Rank1 > &S)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2>
static auto reshape (TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &dims)
 
template<typename Scalar , int Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
static constexpr char idx (const Indextype &i)
 
template<std::size_t Rank>
static constexpr std::array< char, Rank > get_idx (std::size_t shift=0)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, CTF::World &world)
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , int Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static Scalar * get_raw_data (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static std::array< Indextype, Rank > dimensions (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > tensorProd (TType< Scalar, Rank > &T1, TType< Scalar, Rank > &T2)
 
template<typename Scalar , std::size_t Rank, typename Expr1 , typename Expr2 >
static void addScale (const Expr1 &src, Expr2 &dst, const Scalar &scale)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2, Indextype... Is1, Indextype... Is2, Indextype... Ist>
static TType< Scalar, sizeof...(Ist)> contract_helper (TType< Scalar, Rank1 > &T1, TType< Scalar, Rank2 > &T2, seq::iseq< Indextype, Is1... > S1, seq::iseq< Indextype, Is2... > S2, seq::iseq< Indextype, Ist... > St)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2, Indextype... Is>
static TType< Scalar, Rank1+Rank2 - sizeof...(Is)> contract (TType< Scalar, Rank1 > &T1, TType< Scalar, Rank2 > &T2)
 
template<typename Scalar , std::size_t Rank, Indextype... p>
static TType< Scalar, Rank > shuffle (TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank, Indextype... p>
static TType< Scalar, Rank > shuffle (TType< Scalar, Rank > &T, seq::iseq< Indextype, p... > s)
 
template<typename Expr , Indextype... p>
static Expr shuffle_view (const Expr &T)
 
template<typename Scalar , int Rank1, std::size_t Rank2>
static TType< Scalar, Rank2 > reshape (const TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &dims)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2>
static void setSubTensor (TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &offsets, const std::array< Indextype, Rank2 > &extents, const TType< Scalar, Rank1 > &S)
 
template<typename Scalar , int Rank1, std::size_t Rank2>
static TType< Scalar, Rank1 > slice (TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &offsets, const std::array< Indextype, Rank2 > &extents)
 
template<typename Scalar , std::size_t Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > construct (const std::array< Indextype, Rank > &dims, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > construct (const MapTType< Scalar, Rank > &map)
 
template<typename Scalar , int Rank>
static cTType< Scalar, Rank > construct (const cMapTType< Scalar, Rank > &map)
 
template<typename Scalar , std::size_t Rank>
static cMapTType< Scalar, Rank > cMap (const Scalar *data, const std::array< Indextype, Rank > &dims)
 
template<typename Scalar , std::size_t Rank>
static MapTType< Scalar, Rank > Map (Scalar *data, const std::array< Indextype, Rank > &dims)
 
template<typename Scalar , int Rank>
static void setZero (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setRandom (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static void setConstant (TType< Scalar, Rank > &T, const Scalar &val)
 
template<typename Scalar , int Rank>
static void setVal (TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index, const Scalar &val)
 
template<typename Scalar , int Rank>
static Scalar getVal (const TType< Scalar, Rank > &T, const std::array< Indextype, Rank > &index)
 
template<typename Scalar , int Rank>
static const Scalar * get_raw_data (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static Scalar * get_raw_data (TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static std::array< Indextype, Rank > dimensions (const TType< Scalar, Rank > &T)
 
template<typename Scalar , int Rank>
static TType< Scalar, Rank > tensorProd (const TType< Scalar, Rank > &T1, const TType< Scalar, Rank > &T2)
 
template<typename Scalar , std::size_t Rank, typename Expr1 , typename Expr2 >
static void addScale (const Expr1 &src, Expr2 &dst, const Scalar &scale)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2, Indextype... Is>
static TType< Scalar, Rank1+Rank2 - sizeof...(Is)> contract (const TType< Scalar, Rank1 > &T1, const TType< Scalar, Rank2 > &T2)
 
template<typename Scalar , std::size_t Rank, Indextype... p>
static TType< Scalar, Rank > shuffle (const TType< Scalar, Rank > &T)
 
template<typename Scalar , std::size_t Rank, Indextype... p>
static TType< Scalar, Rank > shuffle (const TType< Scalar, Rank > &T, seq::iseq< Indextype, p... > s)
 
template<typename Expr , Indextype... p>
static const Eigen::TensorShufflingOp< const std::array< Indextype, Eigen::internal::traits< Expr >::NumDimensions >, const Expr > shuffle_view (const Expr &T)
 
template<typename Scalar , int Rank1, std::size_t Rank2>
static TType< Scalar, Rank2 > reshape (const TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &dims)
 
template<typename Scalar , std::size_t Rank1, std::size_t Rank2>
static void setSubTensor (TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &offsets, const std::array< Indextype, Rank2 > &extents, const TType< Scalar, Rank1 > &S)
 
template<typename Scalar , int Rank1, std::size_t Rank2>
static const Eigen::TensorSlicingOp< const std::array< Indextype, Rank2 >, const std::array< Indextype, Rank2 >, const TType< Scalar, Rank1 > > slice (TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &offsets, const std::array< Indextype, Rank2 > &extents)
 
template<typename Scalar , int Rank1, std::size_t Rank2>
static const Eigen::TensorReshapingOp< const std::array< Indextype, Rank2 >, const TType< Scalar, Rank1 > > reshape (TType< Scalar, Rank1 > &T, const std::array< Indextype, Rank2 > &dims)
 
template<typename Scalar , int Rank>
static std::string print (const TType< Scalar, Rank > &T)
 
- Static Public Member Functions inherited from Xped::VectorInterface
template<typename Scalar >
static VType< Scalar > construct (const VIndextype &elems, CTF::World &world)
 
template<typename Scalar >
static VType< Scalar > construct_with_zero (const VIndextype &elems, CTF::World &world)
 
template<typename Scalar >
static void resize (VType< Scalar > &V, const VIndextype &new_elems)
 
template<typename Scalar >
static void setZero (VType< Scalar > &V)
 
template<typename Scalar >
static void setRandom (VType< Scalar > &V)
 
template<typename Scalar >
static void setConstant (VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static VIndextype length (const VType< Scalar > &V)
 
template<typename Scalar , typename VT1 >
static VType< Scalar > scale (VT1 &&V, const Scalar &val)
 
template<typename Scalar >
static VType< Scalar > sub (const VType< Scalar > &V, const VIndextype &off, const VIndextype &elems)
 
template<typename Scalar >
static std::string print (const VType< Scalar > &V)
 
template<typename Scalar , typename VT >
static void vec_to_stdvec (VT &&V, std::vector< Scalar > &vec)
 
template<typename Scalar >
static VType< Scalar > construct (const VIndextype &elems, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar >
static VType< Scalar > construct_with_zero (const VIndextype &elems, const mpi::XpedWorld &=mpi::getUniverse())
 
template<typename Scalar >
static void resize (VType< Scalar > &V, const VIndextype &new_elems)
 
template<typename Scalar >
static void setZero (VType< Scalar > &V)
 
template<typename Scalar >
static void setRandom (VType< Scalar > &V)
 
template<typename Scalar >
static void setConstant (VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static VIndextype length (const VType< Scalar > &V)
 
template<typename Scalar >
static const Eigen::CwiseBinaryOp< Eigen::internal::scalar_sum_op< Scalar, Scalar >, const VType< Scalar >, const VType< Scalar > > sum (const VType< Scalar > &V1, const VType< Scalar > &V2)
 
template<typename Scalar >
static const Eigen::CwiseBinaryOp< Eigen::internal::scalar_difference_op< Scalar, Scalar >, const VType< Scalar >, const VType< Scalar > > substract (const VType< Scalar > &V1, const VType< Scalar > &V2)
 
template<typename Scalar >
static const Eigen::CwiseBinaryOp< Eigen::internal::scalar_product_op< Scalar, Scalar >, Scalar, const VType< Scalar > > scale (const VType< Scalar > &V, const Scalar &val)
 
template<typename Scalar >
static const Eigen::VectorBlock< const VType< Scalar > > sub (const VType< Scalar > &V, const VIndextype &off, const VIndextype &elems)
 
template<typename Scalar >
static std::string print (const VType< Scalar > &V)
 
template<typename Scalar >
static void vec_to_stdvec (const VType< Scalar > &V, std::vector< Scalar > &vec)
 

Member Typedef Documentation

◆ Indextype [1/3]

◆ Indextype [2/3]

using Xped::PlainInterface::Indextype = Eigen::Index

◆ Indextype [3/3]

using Xped::PlainInterface::Indextype = Eigen::Index

Member Function Documentation

◆ add() [1/6]

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

◆ add() [2/6]

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

◆ add() [3/6]

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

◆ add() [4/6]

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

◆ add() [5/6]

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

◆ add() [6/6]

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

◆ add_to_block_from_tensor() [1/5]

template<std::size_t Rank, typename Derived , typename ClebschScalar , typename Scalar >
void Xped::PlainInterface::add_to_block_from_tensor ( Eigen::MatrixBase< Derived > &&  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const ClebschScalar &  scale,
const TType< Scalar, Rank > &  T 
)
static
Here is the call graph for this function:

◆ add_to_block_from_tensor() [2/5]

template<std::size_t Rank, typename Derived , typename Scalar >
static void Xped::PlainInterface::add_to_block_from_tensor ( Eigen::MatrixBase< Derived > &&  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const Scalar &  scale,
const TType< Scalar, Rank > &  T 
)
inlinestatic
Here is the call graph for this function:

◆ add_to_block_from_tensor() [3/5]

template<std::size_t Rank, typename Derived , typename ClebschScalar , typename Scalar >
void Xped::PlainInterface::add_to_block_from_tensor ( Eigen::MatrixBase< Derived > &  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const ClebschScalar &  scale,
const TType< Scalar, Rank > &  T 
)
static
Here is the call graph for this function:

◆ add_to_block_from_tensor() [4/5]

template<std::size_t Rank, typename Derived , typename Scalar >
static void Xped::PlainInterface::add_to_block_from_tensor ( Eigen::MatrixBase< Derived > &  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const Scalar &  scale,
const TType< Scalar, Rank > &  T 
)
inlinestatic
Here is the call graph for this function:

◆ add_to_block_from_tensor() [5/5]

template<std::size_t Rank, typename Scalar >
void Xped::PlainInterface::add_to_block_from_tensor ( MType< Scalar > &  M,
const Indextype row_off,
const Indextype col_off,
const Indextype rows,
const Indextype cols,
const Scalar &  scale,
const TType< Scalar, Rank > &  T 
)
static
Here is the call graph for this function:

◆ construct() [1/36]

template<typename Scalar , std::size_t Rank>
cTType< Scalar, Rank > Xped::TensorInterface::construct ( const cMapTType< Scalar, Rank > &  map)
inlinestatic

◆ construct() [2/36]

template<typename Scalar , int Rank>
static cTType< Scalar, Rank > Xped::TensorInterface::construct ( const cMapTType< Scalar, Rank > &  map)
static

◆ construct() [3/36]

template<typename Scalar , std::size_t Rank>
cTType< Scalar, Rank > Xped::TensorInterface::construct ( const cMapTType< Scalar, Rank > &  map)
inlinestatic

◆ construct() [4/36]

template<typename Scalar , int Rank>
static cTType< Scalar, Rank > Xped::TensorInterface::construct ( const cMapTType< Scalar, Rank > &  map)
static

◆ construct() [5/36]

template<typename Scalar , std::size_t Rank>
cTType< Scalar, Rank > Xped::TensorInterface::construct ( const cMapTType< Scalar, Rank > &  map)
inlinestatic

◆ construct() [6/36]

template<typename Scalar , int Rank>
static cTType< Scalar, Rank > Xped::TensorInterface::construct ( const cMapTType< Scalar, Rank > &  map)
static

◆ construct() [7/36]

template<typename Scalar , int Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
static

◆ construct() [8/36]

template<typename Scalar , int Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
static

◆ construct() [9/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
inlinestatic

◆ construct() [10/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
inlinestatic

◆ construct() [11/36]

template<typename Scalar , int Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
static

◆ construct() [12/36]

template<typename Scalar , int Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
static

◆ construct() [13/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
inlinestatic

◆ construct() [14/36]

template<typename Scalar , int Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
static

◆ construct() [15/36]

template<typename Scalar , int Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const MapTType< Scalar, Rank > &  map)
static

◆ construct() [16/36]

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

◆ construct() [17/36]

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

◆ construct() [18/36]

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

◆ construct() [19/36]

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

◆ construct() [20/36]

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

◆ construct() [21/36]

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

◆ construct() [22/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct() [23/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct() [24/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct() [25/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
CTF::World &  world 
)
static

◆ construct() [26/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
CTF::World &  world 
)
static

◆ construct() [27/36]

template<typename Scalar , std::size_t Rank>
TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
CTF::World &  world 
)
static

◆ construct() [28/36]

template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
mpi::XpedWorld world = mpi::getUniverse() 
)
inlinestatic

◆ construct() [29/36]

template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
mpi::XpedWorld world = mpi::getUniverse() 
)
inlinestatic

◆ construct() [30/36]

template<typename Scalar , std::size_t Rank>
static TType< Scalar, Rank > Xped::TensorInterface::construct ( const std::array< Indextype, Rank > &  dims,
mpi::XpedWorld world = mpi::getUniverse() 
)
inlinestatic

◆ construct() [31/36]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct ( const VIndextype elems,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct() [32/36]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct ( const VIndextype elems,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct() [33/36]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct ( const VIndextype elems,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct() [34/36]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct ( const VIndextype elems,
CTF::World &  world 
)
static

◆ construct() [35/36]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct ( const VIndextype elems,
CTF::World &  world 
)
static

◆ construct() [36/36]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct ( const VIndextype elems,
CTF::World &  world 
)
static

◆ construct_with_zero() [1/12]

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

◆ construct_with_zero() [2/12]

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

◆ construct_with_zero() [3/12]

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

◆ construct_with_zero() [4/12]

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

◆ construct_with_zero() [5/12]

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

◆ construct_with_zero() [6/12]

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

◆ construct_with_zero() [7/12]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct_with_zero ( const VIndextype elems,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct_with_zero() [8/12]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct_with_zero ( const VIndextype elems,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct_with_zero() [9/12]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct_with_zero ( const VIndextype elems,
const mpi::XpedWorld = mpi::getUniverse() 
)
static

◆ construct_with_zero() [10/12]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct_with_zero ( const VIndextype elems,
CTF::World &  world 
)
static

◆ construct_with_zero() [11/12]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct_with_zero ( const VIndextype elems,
CTF::World &  world 
)
static

◆ construct_with_zero() [12/12]

template<typename Scalar >
VType< Scalar > Xped::VectorInterface::construct_with_zero ( const VIndextype elems,
CTF::World &  world 
)
static

◆ diagonal_head_matrix_to_vector() [1/3]

template<typename MT >
void Xped::PlainInterface::diagonal_head_matrix_to_vector ( VType< typename ctf_traits< MT >::Scalar > &  V,
MT &&  M,
const Indextype n_elems 
)
static

◆ diagonal_head_matrix_to_vector() [2/3]

template<typename Derived >
void Xped::PlainInterface::diagonal_head_matrix_to_vector ( VType< typename Derived::Scalar > &  V,
const Eigen::MatrixBase< Derived > &  M,
const Indextype n_elems 
)
inlinestatic

◆ diagonal_head_matrix_to_vector() [3/3]

template<typename Derived >
static void Xped::PlainInterface::diagonal_head_matrix_to_vector ( VType< typename Derived::Scalar > &  V,
const Eigen::MatrixBase< Derived > &  M,
const Indextype n_elems 
)
static

◆ difference() [1/6]

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

◆ difference() [2/6]

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

◆ difference() [3/6]

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

◆ difference() [4/6]

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

◆ difference() [5/6]

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

◆ difference() [6/6]

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

◆ get_raw_data() [1/7]

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

◆ get_raw_data() [2/7]

template<typename Scalar , int Rank>
static const Scalar * Xped::TensorInterface::get_raw_data ( const TType< Scalar, Rank > &  T)
static

◆ get_raw_data() [3/7]

template<typename Scalar , int Rank>
Scalar * Xped::TensorInterface::get_raw_data ( const TType< Scalar, Rank > &  T)
static

◆ get_raw_data() [4/7]

template<typename Scalar , int Rank>
const Scalar * Xped::TensorInterface::get_raw_data ( const TType< Scalar, Rank > &  T)
inlinestatic

◆ get_raw_data() [5/7]

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

◆ get_raw_data() [6/7]

template<typename Scalar , int Rank>
static Scalar * Xped::TensorInterface::get_raw_data ( TType< Scalar, Rank > &  T)
static

◆ get_raw_data() [7/7]

template<typename Scalar , int Rank>
Scalar * Xped::TensorInterface::get_raw_data ( TType< Scalar, Rank > &  T)
inlinestatic

◆ getVal() [1/15]

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

◆ getVal() [2/15]

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

◆ getVal() [3/15]

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

◆ getVal() [4/15]

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

◆ getVal() [5/15]

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

◆ getVal() [6/15]

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

◆ getVal() [7/15]

template<typename Scalar , int Rank>
Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
inlinestatic

◆ getVal() [8/15]

template<typename Scalar , int Rank>
static Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
static

◆ getVal() [9/15]

template<typename Scalar , int Rank>
static Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
static

◆ getVal() [10/15]

template<typename Scalar , int Rank>
Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
inlinestatic

◆ getVal() [11/15]

template<typename Scalar , int Rank>
static Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
static

◆ getVal() [12/15]

template<typename Scalar , int Rank>
static Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
static

◆ getVal() [13/15]

template<typename Scalar , int Rank>
static Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
static

◆ getVal() [14/15]

template<typename Scalar , int Rank>
static Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
static

◆ getVal() [15/15]

template<typename Scalar , int Rank>
Scalar Xped::TensorInterface::getVal ( const TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index 
)
inlinestatic

◆ print() [1/21]

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

◆ print() [2/21]

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

◆ print() [3/21]

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

◆ print() [4/21]

template<typename Scalar , int Rank>
std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
inlinestatic

◆ print() [5/21]

template<typename Scalar , int Rank>
static std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
static

◆ print() [6/21]

template<typename Scalar , std::size_t Rank>
static std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
static

◆ print() [7/21]

template<typename Scalar , std::size_t Rank>
static std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
static

◆ print() [8/21]

template<typename Scalar , int Rank>
static std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
static

◆ print() [9/21]

template<typename Scalar , int Rank>
std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
inlinestatic

◆ print() [10/21]

template<typename Scalar , int Rank>
static std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
static

◆ print() [11/21]

template<typename Scalar , std::size_t Rank>
static std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
static

◆ print() [12/21]

template<typename Scalar , int Rank>
std::string Xped::TensorInterface::print ( const TType< Scalar, Rank > &  T)
inlinestatic

◆ print() [13/21]

template<typename Scalar >
std::string Xped::VectorInterface::print ( const VType< Scalar > &  V)
static

◆ print() [14/21]

template<typename Scalar >
static std::string Xped::VectorInterface::print ( const VType< Scalar > &  V)
static

◆ print() [15/21]

template<typename Scalar >
static std::string Xped::VectorInterface::print ( const VType< Scalar > &  V)
static

◆ print() [16/21]

template<typename Scalar >
std::string Xped::VectorInterface::print ( const VType< Scalar > &  V)
static

◆ print() [17/21]

template<typename Scalar >
std::string Xped::VectorInterface::print ( const VType< Scalar > &  V)
static

◆ print() [18/21]

template<typename Scalar >
static std::string Xped::VectorInterface::print ( const VType< Scalar > &  V)
static

◆ print() [19/21]

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

◆ print() [20/21]

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

◆ print() [21/21]

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

◆ scale() [1/12]

template<typename Scalar >
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_product_op< Scalar, Scalar >, Scalar, const VType< Scalar > > Xped::VectorInterface::scale ( const VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ scale() [2/12]

template<typename Scalar >
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_product_op< Scalar, Scalar >, Scalar, const VType< Scalar > > Xped::VectorInterface::scale ( const VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ scale() [3/12]

template<typename Scalar >
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_product_op< Scalar, Scalar >, Scalar, const VType< Scalar > > Xped::VectorInterface::scale ( const VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ scale() [4/12]

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

◆ scale() [5/12]

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

◆ scale() [6/12]

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

◆ scale() [7/12]

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

◆ scale() [8/12]

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

◆ scale() [9/12]

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

◆ scale() [10/12]

template<typename Scalar , typename VT1 >
VType< Scalar > Xped::VectorInterface::scale ( VT1 &&  V,
const Scalar &  val 
)
static

◆ scale() [11/12]

template<typename Scalar , typename VT1 >
VType< Scalar > Xped::VectorInterface::scale ( VT1 &&  V,
const Scalar &  val 
)
static

◆ scale() [12/12]

template<typename Scalar , typename VT1 >
VType< Scalar > Xped::VectorInterface::scale ( VT1 &&  V,
const Scalar &  val 
)
static

◆ set_block_from_tensor() [1/5]

template<std::size_t Rank, typename Derived , typename ClebschScalar , typename Scalar >
void Xped::PlainInterface::set_block_from_tensor ( Eigen::MatrixBase< Derived > &&  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const ClebschScalar &  scale,
const TType< Scalar, Rank > &  T 
)
static
Here is the call graph for this function:

◆ set_block_from_tensor() [2/5]

template<std::size_t Rank, typename Derived , typename Scalar >
static void Xped::PlainInterface::set_block_from_tensor ( Eigen::MatrixBase< Derived > &&  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const Scalar &  scale,
const TType< Scalar, Rank > &  T 
)
inlinestatic
Here is the call graph for this function:

◆ set_block_from_tensor() [3/5]

template<std::size_t Rank, typename Derived , typename ClebschScalar , typename Scalar >
void Xped::PlainInterface::set_block_from_tensor ( Eigen::MatrixBase< Derived > &  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const ClebschScalar &  scale,
const TType< Scalar, Rank > &  T 
)
static
Here is the call graph for this function:

◆ set_block_from_tensor() [4/5]

template<std::size_t Rank, typename Derived , typename Scalar >
static void Xped::PlainInterface::set_block_from_tensor ( Eigen::MatrixBase< Derived > &  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const Scalar &  scale,
const TType< Scalar, Rank > &  T 
)
inlinestatic
Here is the call graph for this function:

◆ set_block_from_tensor() [5/5]

template<std::size_t Rank, typename Scalar >
void Xped::PlainInterface::set_block_from_tensor ( MType< Scalar > &  M,
const Indextype row_off,
const Indextype col_off,
const Indextype rows,
const Indextype cols,
const Scalar &  scale,
const TType< Scalar, Rank > &  T 
)
static
Here is the call graph for this function:

◆ setConstant() [1/24]

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

◆ setConstant() [2/24]

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

◆ setConstant() [3/24]

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

◆ setConstant() [4/24]

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

◆ setConstant() [5/24]

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

◆ setConstant() [6/24]

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

◆ setConstant() [7/24]

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

◆ setConstant() [8/24]

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

◆ setConstant() [9/24]

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

◆ setConstant() [10/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
static

◆ setConstant() [11/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
inlinestatic

◆ setConstant() [12/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
static

◆ setConstant() [13/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
static

◆ setConstant() [14/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
inlinestatic

◆ setConstant() [15/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
static

◆ setConstant() [16/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
static

◆ setConstant() [17/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
static

◆ setConstant() [18/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setConstant ( TType< Scalar, Rank > &  T,
const Scalar &  val 
)
inlinestatic

◆ setConstant() [19/24]

template<typename Scalar >
void Xped::VectorInterface::setConstant ( VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ setConstant() [20/24]

template<typename Scalar >
static void Xped::VectorInterface::setConstant ( VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ setConstant() [21/24]

template<typename Scalar >
void Xped::VectorInterface::setConstant ( VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ setConstant() [22/24]

template<typename Scalar >
static void Xped::VectorInterface::setConstant ( VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ setConstant() [23/24]

template<typename Scalar >
static void Xped::VectorInterface::setConstant ( VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ setConstant() [24/24]

template<typename Scalar >
void Xped::VectorInterface::setConstant ( VType< Scalar > &  V,
const Scalar &  val 
)
static

◆ setRandom() [1/24]

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

◆ setRandom() [2/24]

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

◆ setRandom() [3/24]

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

◆ setRandom() [4/24]

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

◆ setRandom() [5/24]

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

◆ setRandom() [6/24]

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

◆ setRandom() [7/24]

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

◆ setRandom() [8/24]

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

◆ setRandom() [9/24]

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

◆ setRandom() [10/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
inlinestatic

◆ setRandom() [11/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
static

◆ setRandom() [12/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
static

◆ setRandom() [13/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
static

◆ setRandom() [14/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
static

◆ setRandom() [15/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
inlinestatic

◆ setRandom() [16/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
inlinestatic

◆ setRandom() [17/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
static

◆ setRandom() [18/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setRandom ( TType< Scalar, Rank > &  T)
static

◆ setRandom() [19/24]

template<typename Scalar >
static void Xped::VectorInterface::setRandom ( VType< Scalar > &  V)
static

◆ setRandom() [20/24]

template<typename Scalar >
void Xped::VectorInterface::setRandom ( VType< Scalar > &  V)
static

◆ setRandom() [21/24]

template<typename Scalar >
void Xped::VectorInterface::setRandom ( VType< Scalar > &  V)
static

◆ setRandom() [22/24]

template<typename Scalar >
static void Xped::VectorInterface::setRandom ( VType< Scalar > &  V)
static

◆ setRandom() [23/24]

template<typename Scalar >
static void Xped::VectorInterface::setRandom ( VType< Scalar > &  V)
static

◆ setRandom() [24/24]

template<typename Scalar >
void Xped::VectorInterface::setRandom ( VType< Scalar > &  V)
static

◆ setVal() [1/10]

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

◆ setVal() [2/10]

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

◆ setVal() [3/10]

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

◆ setVal() [4/10]

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

◆ setVal() [5/10]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setVal ( TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index,
const Scalar &  val 
)
static

◆ setVal() [6/10]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setVal ( TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index,
const Scalar &  val 
)
static

◆ setVal() [7/10]

template<typename Scalar , int Rank>
void Xped::TensorInterface::setVal ( TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index,
const Scalar &  val 
)
inlinestatic

◆ setVal() [8/10]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setVal ( TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index,
const Scalar &  val 
)
static

◆ setVal() [9/10]

template<typename Scalar , int Rank>
void Xped::TensorInterface::setVal ( TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index,
const Scalar &  val 
)
inlinestatic

◆ setVal() [10/10]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setVal ( TType< Scalar, Rank > &  T,
const std::array< Indextype, Rank > &  index,
const Scalar &  val 
)
static

◆ setZero() [1/24]

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

◆ setZero() [2/24]

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

◆ setZero() [3/24]

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

◆ setZero() [4/24]

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

◆ setZero() [5/24]

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

◆ setZero() [6/24]

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

◆ setZero() [7/24]

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

◆ setZero() [8/24]

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

◆ setZero() [9/24]

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

◆ setZero() [10/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
static

◆ setZero() [11/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
static

◆ setZero() [12/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
inlinestatic

◆ setZero() [13/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
static

◆ setZero() [14/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
static

◆ setZero() [15/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
inlinestatic

◆ setZero() [16/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
static

◆ setZero() [17/24]

template<typename Scalar , int Rank>
static void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
static

◆ setZero() [18/24]

template<typename Scalar , std::size_t Rank>
void Xped::TensorInterface::setZero ( TType< Scalar, Rank > &  T)
inlinestatic

◆ setZero() [19/24]

template<typename Scalar >
static void Xped::VectorInterface::setZero ( VType< Scalar > &  V)
static

◆ setZero() [20/24]

template<typename Scalar >
void Xped::VectorInterface::setZero ( VType< Scalar > &  V)
static

◆ setZero() [21/24]

template<typename Scalar >
static void Xped::VectorInterface::setZero ( VType< Scalar > &  V)
static

◆ setZero() [22/24]

template<typename Scalar >
void Xped::VectorInterface::setZero ( VType< Scalar > &  V)
static

◆ setZero() [23/24]

template<typename Scalar >
void Xped::VectorInterface::setZero ( VType< Scalar > &  V)
static

◆ setZero() [24/24]

template<typename Scalar >
static void Xped::VectorInterface::setZero ( VType< Scalar > &  V)
static

◆ svd() [1/3]

template<typename Derived >
static std::tuple< MType< typename Derived::Scalar >, VType< typename Derived::Scalar >, MType< typename Derived::Scalar > > Xped::PlainInterface::svd ( const Eigen::MatrixBase< Derived > &  M)
inlinestatic

◆ svd() [2/3]

template<typename Derived >
std::tuple< MType< typename Derived::Scalar >, VType< typename Derived::RealScalar >, MType< typename Derived::Scalar > > Xped::PlainInterface::svd ( const Eigen::MatrixBase< Derived > &  M)
static

◆ svd() [3/3]

template<typename MT >
std::tuple< MType< typename ctf_traits< MT >::Scalar >, VType< typename ctf_traits< MT >::Scalar >, MType< typename ctf_traits< MT >::Scalar > > Xped::PlainInterface::svd ( MT &&  M)
static

◆ tensor_from_matrix_block() [1/3]

template<std::size_t Rank, typename Derived >
TType< typename Derived::Scalar, Rank > Xped::PlainInterface::tensor_from_matrix_block ( const Eigen::MatrixBase< Derived > &  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const std::array< Indextype, Rank > &  dims 
)
inlinestatic
Here is the call graph for this function:

◆ tensor_from_matrix_block() [2/3]

template<std::size_t Rank, typename Derived >
static TType< typename Derived::Scalar, Rank > Xped::PlainInterface::tensor_from_matrix_block ( const Eigen::MatrixBase< Derived > &  M,
const Indextype row,
const Indextype col,
const Indextype rows,
const Indextype cols,
const std::array< Indextype, Rank > &  dims 
)
static

◆ tensor_from_matrix_block() [3/3]

template<std::size_t Rank, typename Scalar >
TType< Scalar, Rank > Xped::PlainInterface::tensor_from_matrix_block ( const MType< Scalar > &  M,
const Indextype row_off,
const Indextype col_off,
const Indextype rows,
const Indextype cols,
const std::array< Indextype, Rank > &  dims 
)
static
Here is the call graph for this function:

◆ vec_add() [1/2]

template<typename Scalar >
void Xped::PlainInterface::vec_add ( const Eigen::Matrix< Scalar, -1, 1 > &  vec,
MType< Scalar > &  res 
)
static

◆ vec_add() [2/2]

template<typename VT >
static void Xped::PlainInterface::vec_add ( VT &&  vec,
MType< typename ctf_traits< VT >::Scalar > &  res 
)
static

◆ vec_diff() [1/2]

template<typename Scalar >
void Xped::PlainInterface::vec_diff ( const Eigen::Matrix< Scalar, -1, 1 > &  vec,
MType< Scalar > &  res 
)
static

◆ vec_diff() [2/2]

template<typename VT >
static void Xped::PlainInterface::vec_diff ( VT &&  vec,
MType< typename ctf_traits< VT >::Scalar > &  res 
)
static
Here is the caller graph for this function:

◆ vec_to_diagmat() [1/3]

template<typename Scalar >
MType< Scalar > Xped::PlainInterface::vec_to_diagmat ( const VType< Scalar > &  V)
inlinestatic

◆ vec_to_diagmat() [2/3]

template<typename Scalar >
static MType< Scalar > Xped::PlainInterface::vec_to_diagmat ( const VType< Scalar > &  V)
static

◆ vec_to_diagmat() [3/3]

template<typename Scalar , typename VT >
MType< Scalar > Xped::PlainInterface::vec_to_diagmat ( VT &&  V)
static

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