SyTen

◆ operator SRDef()

syten::STensorImpl::STensor::operator SRDef ( ) const
explicit

Explicit conversion to a SRDef.

Only enabled if SYTEN_COMPLEX_SCALAR is true. Asserts that the imaginary part of *this is exactly zero.

References syten::STensorImpl::imag(), syten::STensorImpl::real(), SYTEN_ASSERT_MSG, and SYTEN_SMALL_THRESHOLD.

+ Here is the call graph for this function: