1#ifndef STAN_MATH_FWD_FUN_SQRT_HPP
2#define STAN_MATH_FWD_FUN_SQRT_HPP
33inline std::complex<fvar<T>>
sqrt(
const std::complex<
fvar<T>>& z) {
std::complex< V > complex_sqrt(const std::complex< V > &z)
Return the square root of the complex argument.
double value_of_rec(const fvar< T > &v)
Return the value of the specified variable.
fvar< T > sqrt(const fvar< T > &x)
fvar< T > inv_sqrt(const fvar< T > &x)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
Scalar d_
The tangent (derivative) of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...