Stan Math Library
2.15.0
reverse mode automatic differentiation
stan
math
prim
scal
fun
log1m.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_FUN_LOG1M_HPP
2
#define STAN_MATH_PRIM_SCAL_FUN_LOG1M_HPP
3
4
#include <
stan/math/prim/scal/fun/log1p.hpp
>
5
6
namespace
stan
{
7
namespace
math {
8
39
inline
double
log1m
(
double
x) {
40
return
stan::math::log1p
(-x);
41
}
42
43
}
44
}
45
46
#endif
stan
Definition:
log_sum_exp.hpp:8
stan::math::log1p
fvar< T > log1p(const fvar< T > &x)
Definition:
log1p.hpp:11
log1p.hpp
stan::math::log1m
fvar< T > log1m(const fvar< T > &x)
Definition:
log1m.hpp:13
[
Stan Home Page
]
© 2011–2016, Stan Development Team.