Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
pow.hpp File Reference
#include <cmath>
#include <stan/agrad/rev/var.hpp>
#include <stan/agrad/rev/op/vv_vari.hpp>
#include <stan/agrad/rev/op/vd_vari.hpp>
#include <stan/agrad/rev/op/dv_vari.hpp>
#include <stan/agrad/rev/sqrt.hpp>
#include <stan/agrad/rev/operator_multiplication.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::pow (const var &base, const var &exponent)
 Return the base raised to the power of the exponent (cmath).
 
var stan::agrad::pow (const var &base, const double exponent)
 Return the base variable raised to the power of the exponent scalar (cmath).
 
var stan::agrad::pow (const double base, const var &exponent)
 Return the base scalar raised to the power of the exponent variable (cmath).
 

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