NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ clear()

template<typename T >
void cntr::herm_matrix_timestep< T >::clear ( void  )

Sets all values to zero.

Purpose

Sets all values to zero.

Definition at line 304 of file cntr_herm_matrix_timestep_impl.hpp.

304  {
305  if (total_size_ > 0)
306  memset(data_, 0, sizeof(cplx) * total_size_);
307 }