Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/abs.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/squared_distance.hpp>
#include <stan/math/prim/fun/sqrt.hpp>
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
Functions | |
template<typename T1 , typename T2 , require_all_stan_scalar_t< T1, T2 > * = nullptr> | |
return_type_t< T1, T2 > | stan::math::distance (const T1 &x1, const T2 &x2) |
Returns the distance between two scalars. | |