Stan Math Library
2.12.0
reverse mode automatic differentiation
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
stan
math
prim
scal
fun
inv_sqrt.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_FUN_INV_SQRT_HPP
2
#define STAN_MATH_PRIM_SCAL_FUN_INV_SQRT_HPP
3
4
#include <cmath>
5
6
namespace
stan
{
7
namespace
math {
8
9
inline
double
inv_sqrt
(
const
double
x) {
10
using
std::sqrt
;
11
return
1.0 /
sqrt
(x);
12
}
13
14
}
15
}
16
17
#endif
stan::math::inv_sqrt
fvar< T > inv_sqrt(const fvar< T > &x)
Definition:
inv_sqrt.hpp:14
stan::math::sqrt
fvar< T > sqrt(const fvar< T > &x)
Definition:
sqrt.hpp:14
stan
Definition:
log_sum_exp.hpp:8
[
Stan Home Page
]
© 2011–2016, Stan Development Team.