That seems to work perfectly, even for scalar obsevaulators, thank you very much. It requires me to set up some temporary vectorobsevaluators, but I assume that should not create too much overhead.
Regards Johannes
On Sat, Jun 14, 2008 at 4:38 PM, Matthias Troyer troyer@phys.ethz.ch wrote:
Can you try whether operator*= works, i.e. try writing
myvectorobseval*=2.;
On Jun 14, 2008, at 4:20 PM, Johannes Wilms wrote:
Hi everyone,
am I right in assuming that the alea library does not yet implement functions of RealVectorObsevaluators that involve scalars or scalar RealObsevaluators? I keep getting errors like: error: no match for 'operator*' in '2.0e+0 * myvectorobseval I would be very grateful if someone could point out a way to make these kinds of functions work, or tell me if this is a planned feature, or, as a kind of last resort, give a hint about how I could possibly implement this.
Thank you very much in advance, best regards, Johannes Wilms