Automatic Differentiation
 
Loading...
Searching...
No Matches
fdim.hpp File Reference

Go to the source code of this file.

Classes

class  stan::math::internal::fdim_vv_vari
 
class  stan::math::internal::fdim_vd_vari
 
class  stan::math::internal::fdim_dv_vari
 

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

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).
 
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).
 
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).