1 #ifndef STAN_MATH_REV_SCAL_FUN_LOG10_HPP
2 #define STAN_MATH_REV_SCAL_FUN_LOG10_HPP
12 class log10_vari :
public op_v_vari {
15 explicit log10_vari(vari* avi) :
16 op_v_vari(
std::
log10(avi->val_), avi),
55 return var(
new log10_vari(a.
vi_));
const double LOG_10
The natural logarithm of 10, .
fvar< T > log10(const fvar< T > &x)
Independent (input) and dependent (output) variables for gradients.
vari * vi_
Pointer to the implementation of this variable.