|
QNANO
|
Class to store a rank-2 (complex) tensor, i.e., a matrix: More...
#include <Tensor2.h>


Public Member Functions | |
| size_t | get_index (size_t i, size_t j) const |
| size_t | get_totalsize () const |
| size_t | get_size (size_t i) const |
| void | resize (size_t i, size_t j) |
| void | set_zero () |
| const T & | operator() (size_t i, size_t j) const |
| T & | operator() (size_t i, size_t j) |
| const T & | get_check (int i, int j) |
| void | swap_lines (size_t l1, size_t l2) |
| void | copy (const template_Tensor2 &other) |
| template_Tensor2 & | operator= (const template_Tensor2 &other) |
| template_Tensor2 (const template_Tensor2 &other) | |
| template_Tensor2 (size_t i, size_t j) | |
Public Attributes | |
| size_t | size [2] |
| T * | data |
Protected Member Functions | |
| void | allocate () |
| void | deallocate () |
Class to store a rank-2 (complex) tensor, i.e., a matrix:
1.8.11