![]() |
Stan
1.3
probability, sampling & optimization
|
#include <valarray>#include <stan/agrad/rev/var.hpp>#include <stan/agrad/rev/op/vv_vari.hpp>#include <stan/agrad/rev/op/v_vari.hpp>#include <boost/math/special_functions/hypot.hpp>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| Probability, optimization and sampling library. | |
| namespace | stan::agrad |
| Function gradients via reverse-mode automatic differentiation. | |
Functions | |
| var | stan::agrad::hypot (const stan::agrad::var &a, const stan::agrad::var &b) |
| Returns the length of the hypoteneuse of a right triangle with sides of the specified lengths (C99). | |
| var | stan::agrad::hypot (const stan::agrad::var &a, const double &b) |
| Returns the length of the hypoteneuse of a right triangle with sides of the specified lengths (C99). | |
| var | stan::agrad::hypot (const double &a, const stan::agrad::var &b) |
| Returns the length of the hypoteneuse of a right triangle with sides of the specified lengths (C99). | |