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(), and SYTEN_ASSERT_MSG.

+ Here is the call graph for this function: