sisi4s
Loading...
Searching...
No Matches
sisi4s::SlicedCtfTensor< F > Class Template Reference

#include <SlicedCtfTensor.hpp>

Inheritance diagram for sisi4s::SlicedCtfTensor< F >:
Collaboration diagram for sisi4s::SlicedCtfTensor< F >:

Public Member Functions

 SlicedCtfTensor (Tensor< F > &T, const std::initializer_list< int > &list)
 
template<typename Iterator >
 SlicedCtfTensor (Tensor< F > &T, Iterator begin, Iterator end)
 
void create (Tensor< F > &T, const std::vector< int > &slicedDims)
 
 ~SlicedCtfTensor ()
 
Tensor< F > & operator() (const std::initializer_list< int > &slicePos)
 
template<typename Iterator >
Tensor< F > & operator() (Iterator begin, Iterator end)
 
Tensor< F > & operator() (const std::vector< int > &slicePosition)
 

Public Attributes

std::vector< int > slicedLens
 
std::vector< Tensor< F > * > slices
 

Constructor & Destructor Documentation

◆ SlicedCtfTensor() [1/2]

template<typename F = double>
sisi4s::SlicedCtfTensor< F >::SlicedCtfTensor ( Tensor< F > &  T,
const std::initializer_list< int > &  list 
)
inline
Here is the call graph for this function:

◆ SlicedCtfTensor() [2/2]

template<typename F = double>
template<typename Iterator >
sisi4s::SlicedCtfTensor< F >::SlicedCtfTensor ( Tensor< F > &  T,
Iterator  begin,
Iterator  end 
)
inline
Here is the call graph for this function:

◆ ~SlicedCtfTensor()

template<typename F = double>
sisi4s::SlicedCtfTensor< F >::~SlicedCtfTensor ( )
inline

Member Function Documentation

◆ create()

template<typename F = double>
void sisi4s::SlicedCtfTensor< F >::create ( Tensor< F > &  T,
const std::vector< int > &  slicedDims 
)
inline
Here is the caller graph for this function:

◆ operator()() [1/3]

template<typename F = double>
Tensor< F > & sisi4s::SlicedCtfTensor< F >::operator() ( const std::initializer_list< int > &  slicePos)
inline

◆ operator()() [2/3]

template<typename F = double>
Tensor< F > & sisi4s::SlicedCtfTensor< F >::operator() ( const std::vector< int > &  slicePosition)
inline

◆ operator()() [3/3]

template<typename F = double>
template<typename Iterator >
Tensor< F > & sisi4s::SlicedCtfTensor< F >::operator() ( Iterator  begin,
Iterator  end 
)
inline

Member Data Documentation

◆ slicedLens

template<typename F = double>
std::vector<int> sisi4s::SlicedCtfTensor< F >::slicedLens

◆ slices

template<typename F = double>
std::vector<Tensor<F> *> sisi4s::SlicedCtfTensor< F >::slices

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