Stan Math Library  2.15.0
reverse mode automatic differentiation
Namespaces | Functions
rising_factorial.hpp File Reference
#include <stan/math/prim/scal/fun/log_rising_factorial.hpp>
#include <cmath>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T1 , typename T2 >
boost::math::tools::promote_args< T1, T2 >::type stan::math::rising_factorial (const T1 x, const T2 n)
 

\[ \mbox{rising\_factorial}(x, n) = \begin{cases} \textrm{error} & \mbox{if } x \leq 0\\ x^{(n)} & \mbox{if } x > 0 \textrm{ and } -\infty \leq n \leq \infty \\[6pt] \textrm{NaN} & \mbox{if } x = \textrm{NaN or } n = \textrm{NaN} \end{cases} \]

More...
 

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