triqs::hilbert_space::imperative_operator::update

#include <triqs/hilbert_space/imperative_operator.hpp>

Synopsis

template<typename w_max>
void update (w_max L)

Apply a callable object to each coefficient of the operator by reference

The callable object must take one argument convertible to ScalarType &

Template parameters

  • w_max Type of the callable object

Parameters

  • L Callable object