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

Function conjugateCoeff

extensions/include/cuMat/src/TransposeOp.h:50–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49 //helper functions to conjugate the argument if supported
50 template<typename Scalar, bool _IsConjugated> __device__ CUMAT_STRONG_INLINE Scalar conjugateCoeff(const Scalar& val) { return val; };
51 template<> __device__ CUMAT_STRONG_INLINE cfloat conjugateCoeff<cfloat, true>(const cfloat& val) { return conj(val); }
52 template<> __device__ CUMAT_STRONG_INLINE cdouble conjugateCoeff<cdouble, true>(const cdouble& val) { return conj(val); }
53} //end namespace internal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected