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