Stan Math Library  2.12.0
reverse mode automatic differentiation
Classes | Functions
std Namespace Reference

Classes

struct  numeric_limits< stan::math::fvar< T > >
 
struct  numeric_limits< stan::math::var >
 Specialization of numeric limits for var objects. More...
 

Functions

int isinf (const stan::math::var &a)
 Return 1 if the specified argument is positive infinity or negative infinity and 0 otherwise. More...
 
int isnan (const stan::math::var &a)
 Checks if the given number is NaN. More...
 

Function Documentation

int std::isinf ( const stan::math::var a)
inline

Return 1 if the specified argument is positive infinity or negative infinity and 0 otherwise.

Parameters
aArgument.
Returns
1 if argument is infinite and 0 otherwise.

Definition at line 16 of file std_isinf.hpp.

int std::isnan ( const stan::math::var a)
inline

Checks if the given number is NaN.

Return true if the value of the specified variable is not a number.

Parameters
aVariable to test.
Returns
true if value is not a number.

Definition at line 18 of file std_isnan.hpp.


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