localInnerProductReal(const RComplex<T1>& l, const RComplex<T2>& r)
localInnerProductReal(const RScalar<T1>& s1, const RScalar<T2>& s2)
localInnerProductReal(const RComplex<T1>& l, const RComplex<T2>& r){  return localInnerProduct(l.real(),r.real()) + localInnerProduct(l.imag(),r.imag());}