triqs::hilbert_space::imperative_operator::update_coeffs

#include <triqs/hilbert_space/imperative_operator.hpp>

Synopsis

template<typename Lambda>
void update_coeffs (Lambda 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

  • Lambda Type of the callable object

Parameters

  • L Callable object