Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
fmod.hpp File Reference
#include <cmath>
#include <stan/agrad/rev/var.hpp>
#include <stan/agrad/rev/op/v_vari.hpp>
#include <stan/agrad/rev/op/vv_vari.hpp>
#include <stan/agrad/rev/op/dv_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::fmod (const var &a, const var &b)
 Return the floating point remainder after dividing the first variable by the second (cmath).
 
var stan::agrad::fmod (const var &a, const double b)
 Return the floating point remainder after dividing the the first variable by the second scalar (cmath).
 
var stan::agrad::fmod (const double a, const var &b)
 Return the floating point remainder after dividing the first scalar by the second variable (cmath).
 

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