Automatic Differentiation
 
Loading...
Searching...
No Matches
conj.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_REV_FUN_CONJ_HPP
2#define STAN_MATH_REV_FUN_CONJ_HPP
3
6#include <complex>
7
8namespace stan {
9namespace math {
10
17inline std::complex<var> conj(const std::complex<var>& z) {
18 return internal::complex_conj(z);
19}
20
21} // namespace math
22} // namespace stan
23
24#endif
std::complex< V > complex_conj(const std::complex< V > &z)
Return the complex conjugate the complex argument.
Definition conj.hpp:58
std::complex< fvar< T > > conj(const std::complex< fvar< T > > &z)
Return the phase angle of the complex argument.
Definition conj.hpp:19
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...