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

◆ isinf() [2/2]

template<typename T , typename = require_autodiff_t<T>>
bool stan::math::isinf ( const T &  v)
inline

Return true if specified argument is infinite (positive or negative).

Overloads std::isinf from <cmath> for argument-dependent lookup.

Template Parameters
ADTypetype of argument
Parameters
[in]vargument
Returns
true if argument is infinite

Definition at line 23 of file isinf.hpp.