QNANO
|
Class to store a rank-4 (complex) tensor: More...
#include <Tensor4.h>
Public Member Functions | |
size_t | get_index (size_t i, size_t j, size_t k, size_t l) const |
size_t | get_totalsize () const |
size_t | get_size (size_t i) const |
void | resize (size_t i, size_t j, size_t k, size_t l) |
void | set_zero () |
const std::complex< double > & | operator() (size_t i, size_t j, size_t k, size_t l) const |
std::complex< double > & | operator() (size_t i, size_t j, size_t k, size_t l) |
const std::complex< double > & | get_check (int i, int j, int k, int l) |
void | copy (const Tensor4 &other) |
Tensor4 & | operator= (const Tensor4 &other) |
Tensor4 (const Tensor4 &other) | |
Tensor4 (size_t i, size_t j, size_t k, size_t l) | |
Public Attributes | |
size_t | size [4] |
std::complex< double > * | data |
Protected Member Functions | |
void | allocate () |
void | deallocate () |
Class to store a rank-4 (complex) tensor: