QNANO
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
template_Tensor3< T > Class Template Reference

Class to store a rank-3 (complex) tensor, i.e., a matrix: More...

#include <Tensor3.h>

Inheritance diagram for template_Tensor3< T >:
Inheritance graph
[legend]

Public Member Functions

size_t get_index (size_t i, size_t j, size_t k) 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)
 
const T & operator() (size_t i, size_t j, size_t k) const
 
T & operator() (size_t i, size_t j, size_t k)
 
const T & get_check (int i, int j, int k)
 
void copy (const template_Tensor3 &other)
 
template_Tensor3operator= (const template_Tensor3 &other)
 
 template_Tensor3 (const template_Tensor3 &other)
 
 template_Tensor3 (size_t i, size_t j, size_t k)
 

Public Attributes

size_t size [3]
 
T * data
 

Protected Member Functions

void allocate ()
 
void deallocate ()
 

Detailed Description

template<typename T>
class template_Tensor3< T >

Class to store a rank-3 (complex) tensor, i.e., a matrix:


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