MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / real

Function real

extensions/include/cuMat/src/Matrix.h:1251–1255  ·  view source on GitHub ↗

* \brief Extracts the real part of the complex matrix. * This method is only available for complex matrices. * This is the non-const lvalue version */

Source from the content-addressed store, hash-verified

1249 * This is the non-const lvalue version
1250 */
1251 ExtractComplexPartOp<Type, false, true> real()
1252 {
1253 CUMAT_STATIC_ASSERT(internal::NumTraits<_Scalar>::IsComplex, "Matrix must be complex");
1254 return ExtractComplexPartOp<Type, false, true>(*this);
1255 }
1256#else
1257 /**
1258 * \brief Extracts the real part of the complex matrix.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected