![]() |
Stan Math Library
2.10.0
reverse mode automatic differentiation
|
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) |
Checks if the given number is infinite. More... | |
int | isnan (const stan::math::var &a) |
Checks if the given number is NaN. More... | |
|
inline |
Checks if the given number is infinite.
Return true
if the value of the a is positive or negative infinity.
a | Variable to test. |
true
if value is infinite. Definition at line 18 of file std_isinf.hpp.
|
inline |
Checks if the given number is NaN.
Return true
if the value of the specified variable is not a number.
a | Variable to test. |
true
if value is not a number. Definition at line 18 of file std_isnan.hpp.