namespace alps {
template <class T>
struct conj_mult
{
inline T operator()(const T& a, const T& b) const
};
template <class T>
struct conj_mult >
{
inline std::complex<T> operator()(const std::complex<T>& a, const std::complex<T>& b) const;
};
are like std::multiplies but take the complex conjugate of the
first argument if the type T is complex.
copyright (c) 1994-2010 by Matthias Troyer
Distributed under the Boost Software License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt)