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.
References syten::abs(), syten::closeThreshold(), and SYTEN_SMALL_THRESHOLD.