![]() |
Stan
2.5.0
probability, sampling & optimization
|
Template specification of functions in std for Stan. More...
Classes | |
| struct | numeric_limits< stan::agrad::fvar< T > > |
| struct | numeric_limits< stan::agrad::var > |
| Specialization of numeric limits for var objects. More... | |
Functions | |
| int | isnan (const stan::agrad::var &a) |
| Checks if the given number is NaN. More... | |
| int | isinf (const stan::agrad::var &a) |
| Checks if the given number is infinite. More... | |
Template specification of functions in std for Stan.
|
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 75 of file numeric_limits.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 62 of file numeric_limits.hpp.