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

Function complex__Arg

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

Source from the content-addressed store, hash-verified

63 return y ;
64}
65inline double complex__Arg( Rcomplex x ){ return ::atan2(x.i, x.r); }
66// TODO: this does not use HAVE_C99_COMPLEX as in R, perhaps it should
67inline Rcomplex complex__exp( Rcomplex x){
68 Rcomplex y ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected