MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / complex__Im

Function complex__Im

inst/include/Rcpp/sugar/functions/complex.h:57–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55namespace internal{
56inline double complex__Re( Rcomplex x){ return x.r ; }
57inline double complex__Im( Rcomplex x){ return x.i ; }
58inline double complex__Mod( Rcomplex x){ return ::sqrt( x.i * x.i + x.r * x.r) ; }
59inline Rcomplex complex__Conj( Rcomplex x){
60 Rcomplex y ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected