All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
abs.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_REV_SCAL_FUN_ABS_HPP
#define STAN_MATH_REV_SCAL_FUN_ABS_HPP
#include <stan/math/rev/scal/fun/fabs.hpp>
namespace stan {
namespace math {
inline var abs(const var& a) {
return fabs(a);
}
}
}
#endif
stan::math::abs
fvar< T > abs(const fvar< T > &x)
Definition: abs.hpp:15
stan::math::fabs
fvar< T > fabs(const fvar< T > &x)
Definition: fabs.hpp:14
stan::math::var
Independent (input) and dependent (output) variables for gradients.
Definition: var.hpp:32
fabs.hpp

[ Stan Home Page ] © 2011–2015, Stan Development Team.