![]() |
Stan
1.3
probability, sampling & optimization
|
#include <stan/agrad/rev/var.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::fmax (const stan::agrad::var &a, const stan::agrad::var &b) |
| Returns the maximum of the two variable arguments (C99). | |
| var | stan::agrad::fmax (const stan::agrad::var &a, const double &b) |
| Returns the maximum of the variable and scalar, promoting the scalar to a variable if it is larger (C99). | |
| var | stan::agrad::fmax (const double &a, const stan::agrad::var &b) |
| Returns the maximum of a scalar and variable, promoting the scalar to a variable if it is larger (C99). | |