ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Meta-Observable that returns the product of two other observables. More...
#include <observable.hpp>
Public Member Functions | |
Product (Left left={}, Right right={}) | |
template<class Particle , class Traits = default_traits<Particle>> | |
decltype(auto) | operator() (Particle const &p, Traits const &traits={}) const |
Meta-Observable that returns the product of two other observables.
The operand observables are stored by privately deriving from them to get the empty case optimization if they do not have state.
Left | left operand of the product. |
Right | right operand of the product. |
Definition at line 37 of file observable.hpp.
|
inline |
Definition at line 38 of file observable.hpp.
|
inline |
Definition at line 42 of file observable.hpp.