Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
fdim.hpp File Reference
#include <stan/agrad/rev/var.hpp>
#include <stan/agrad/rev/op/vv_vari.hpp>
#include <stan/agrad/rev/op/v_vari.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::fdim (const stan::agrad::var &a, const stan::agrad::var &b)
 Return the positive difference between the first variable's the value and the second's (C99).
 
var stan::agrad::fdim (const double &a, const stan::agrad::var &b)
 Return the positive difference between the first value and the value of the second variable (C99).
 
var stan::agrad::fdim (const stan::agrad::var &a, const double &b)
 Return the positive difference between the first variable's value and the second value (C99).
 

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