LSLOpt  1.0
Static Public Member Functions | List of all members
LSLOpt::scalar_traits< double > Struct Template Reference

Scalar for double values. More...

#include <ScalarTraits.hpp>

Static Public Member Functions

static constexpr double epsilon ()
 Machine epsilon for double.
 
static constexpr double infinity ()
 Infinity value for double.
 
static constexpr double nan ()
 NaN value for double.
 
static bool is_nan (const double &d)
 Check if value is NaN. More...
 

Detailed Description

template<>
struct LSLOpt::scalar_traits< double >

Scalar for double values.

Member Function Documentation

◆ is_nan()

static bool LSLOpt::scalar_traits< double >::is_nan ( const double &  d)
inlinestatic

Check if value is NaN.

Parameters
dValue for NaN checking.

The documentation for this struct was generated from the following file: