Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
fma.hpp File Reference
#include <cmath>
#include <valarray>
#include <stan/agrad/rev/var.hpp>
#include <stan/agrad/rev/internal/ddv_vari.hpp>
#include <stan/agrad/rev/internal/vdd_vari.hpp>
#include <stan/agrad/rev/internal/vvv_vari.hpp>
#include <stan/agrad/rev/internal/vvd_vari.hpp>
#include <stan/agrad/rev/internal/vdv_vari.hpp>
#include <stan/math/constants.hpp>
#include <boost/math/special_functions/fpclassify.hpp>
#include <stan/meta/likely.hpp>

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::fma (const stan::agrad::var &a, const stan::agrad::var &b, const stan::agrad::var &c)
 The fused multiply-add function for three variables (C99). More...
 
var stan::agrad::fma (const stan::agrad::var &a, const stan::agrad::var &b, const double &c)
 The fused multiply-add function for two variables and a value (C99). More...
 
var stan::agrad::fma (const stan::agrad::var &a, const double &b, const stan::agrad::var &c)
 The fused multiply-add function for a variable, value, and variable (C99). More...
 
var stan::agrad::fma (const stan::agrad::var &a, const double &b, const double &c)
 The fused multiply-add function for a variable and two values (C99). More...
 
var stan::agrad::fma (const double &a, const stan::agrad::var &b, const double &c)
 The fused multiply-add function for a value, variable, and value (C99). More...
 
var stan::agrad::fma (const double &a, const double &b, const stan::agrad::var &c)
 The fused multiply-add function for two values and a variable, and value (C99). More...
 
var stan::agrad::fma (const double &a, const stan::agrad::var &b, const stan::agrad::var &c)
 The fused multiply-add function for a value and two variables (C99). More...
 

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