new helpers version relevant to const objects
use ScalarReal/ScalarRealShared in math1