![]() |
Stan
2.5.0
probability, sampling & optimization
|
#include <valarray>#include <stan/agrad/rev/var.hpp>#include <stan/agrad/rev/internal/vv_vari.hpp>#include <stan/agrad/rev/internal/v_vari.hpp>#include <math.h>Go to the source code of this file.
Namespaces | |
| stan | |
| Probability, optimization and sampling library. | |
| 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). More... | |
| 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). More... | |
| 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). More... | |