Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return the complex number composed of the real and complex parts with signs copied from the real and complex parts of the first arguments to the real and complex parts of the second.
This is an overload of the standard libary copysign
for complex numbers that will be used with argument-dependent lookup. Rather than using the standard library copysign
, it uses copysign_non_zero
, which does not change sign if the reference value is zero (-0.0
or 0.0
).
T | value type of first argument |
U | value type of second argument |
[in] | x | first complex argument |
[in] | y | second complex argument |
Definition at line 72 of file copysign.hpp.