Stan Math Library  2.15.0
reverse mode automatic differentiation
Namespaces | Functions
fdim.hpp File Reference
#include <stan/math/prim/scal/fun/is_nan.hpp>
#include <stan/math/prim/scal/meta/likely.hpp>
#include <stan/math/rev/core.hpp>
#include <limits>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

var stan::math::fdim (const var &a, const var &b)
 Return the positive difference between the first variable's the value and the second's (C99, C++11). More...
 
var stan::math::fdim (double a, const var &b)
 Return the positive difference between the first value and the value of the second variable (C99, C++11). More...
 
var stan::math::fdim (const var &a, double b)
 Return the positive difference between the first variable's value and the second value (C99, C++11). More...
 

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