Equality comparison of an STensor and a scalar.
Throws if STensor has non-zero rank. Checks if the two values are up to a threshold of (|A|+|B|)*0.5*SYTEN_SMALL_THRESHOLD close.
(|A|+|B|)*0.5*SYTEN_SMALL_THRESHOLD