SyTen

◆ operator==() [1/3]

bool syten::STensorImpl::operator== ( SDef const &  b,
STensor const &  a 
)

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.