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