Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ rising_factorial() [1/4]

template<typename T >
fvar< T > stan::math::rising_factorial ( const fvar< T > &  x,
int  n 
)
inline

Return autodiff variable with the gradient and result of the rising factorial function applied to the inputs.

Will throw for NaN x and for negative n, as implemented in primitive function.

Template Parameters
Tinner type of the fvar
Parameters
xArgument.
nArgument
Returns
tangent of rising factorial at arguments.

Definition at line 26 of file rising_factorial.hpp.