Stan Math Library  2.14.0
reverse mode automatic differentiation
Namespaces | Functions
hypot.hpp File Reference
#include <stan/math/prim/scal/fun/is_nan.hpp>
#include <boost/math/tools/promotion.hpp>
#include <cmath>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T1 , typename T2 >
boost::math::tools::promote_args< T1, T2 >::type stan::math::hypot (const T1 &x, const T2 &y)
 Return the length of the hypoteneuse of a right triangle with opposite and adjacent side lengths given by the specified arguments (C++11). More...
 

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