NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ herm_matrix_timestep_view() [5/7]

template<typename T >
cntr::herm_matrix_timestep_view< T >::herm_matrix_timestep_view ( int  tstp,
int  ntau,
int  size1,
int  size2,
int  sig 
)

Initializes the herm_matrix_timestep_view class for a general matrix.

Purpose

Initializes the herm_matrix_timestep_view class for a general matrix, where the number of column and rows can be different.

Parameters
tstp

Time step

ntau

Number of points on Matsubara axis

size1

Number of matrix rows

size2

Number of matrix columns

sig

Set sig = -1 for fermions or sig = +1 for bosons.

Definition at line 95 of file cntr_herm_matrix_timestep_view_impl.hpp.

95  {
96 
97  assert(size1>=0 && tstp>=-1 && ntau>=0);
98  ret_ = 0;
99  les_ = 0;
100  tv_ = 0;
101  mat_ = 0;
102  size1_=size1;
103  size2_=size2;
104  element_size_=size1*size2;
105  tstp_=tstp;
106  ntau_=ntau;
107  sig_=sig;
108 
109 }