MPQC  3.0.0-alpha
sc::LazyTensor< T, DIM, ElementGenerator > Class Template Reference

Tile of a DIM-order tensor that's "evaluated" when needed by calling ElementGenerator({i0, i1, i2, .... i_DIM-1}) More...

#include <chemistry/qc/mbptr12/sr_r12intermediates.h>

Public Types

typedef T value_type
 
typedef TA::Tensor< T > eval_type
 
typedef eval_type::range_type range_type
 

Public Member Functions

 LazyTensor (const LazyTensor &other)
 
LazyTensoroperator= (const LazyTensor &other)
 
 LazyTensor (TA::Array< T, DIM, LazyTensor > *owner, const std::array< std::size_t, DIM > &index, ElementGenerator *gen)
 
 operator TA::Tensor< T > () const
 
template<typename Archive >
void serialize (Archive &ar)
 

Detailed Description

template<typename T, unsigned int DIM, typename ElementGenerator>
class sc::LazyTensor< T, DIM, ElementGenerator >

Tile of a DIM-order tensor that's "evaluated" when needed by calling ElementGenerator({i0, i1, i2, .... i_DIM-1})

Member Function Documentation

◆ serialize()

template<typename T , unsigned int DIM, typename ElementGenerator >
template<typename Archive >
void sc::LazyTensor< T, DIM, ElementGenerator >::serialize ( Archive &  ar)
inline
Template Parameters
ArchiveThe serialization archive type
Parameters
arThe serialization archive

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

Generated at Sun Jan 26 2020 23:24:06 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.