NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ smul() [1/2]

template<typename T >
void cntr::herm_matrix_timestep< T >::smul ( int  tstp,
weight 
)

Multiply herm_matrix_timestep with scalar weight.

Purpose

Multiply herm_matrix_timestep with a scalar. If \(t>-1\) then ret,les,tv components are set, otherwise mat. Works for scalar or square-matrix contour objects.

Parameters
tstp

time step tstp, identical to the time step of herm_matrix_timestep e(dummy argument in release mode)

weight

The template argument multiplication factor

Definition at line 2099 of file cntr_herm_matrix_timestep_impl.hpp.

References cntr::herm_matrix_timestep_view< T >::smul().

2099  {
2100  assert(tstp == tstp_);
2101  herm_matrix_timestep_view<T> g_view(*this);
2102 
2103  g_view.smul(weight);
2104 
2105 }
+ Here is the call graph for this function: