Go to the source code of this file.
Functions | |
| double | vnl_na (double) |
| A particular qNaN to indicate not available. More... | |
| float | vnl_na (float) |
| A particular qNaN to indicate not available. More... | |
| bool | vnl_na_isna (double x) |
| True if parameter is specific NA qNaN. More... | |
| bool | vnl_na_isna (float x) |
| True if parameter is specific NA qNaN. More... | |
| double | vnl_na_nan_to_na (double v) |
| Replace NaNs with NA, leave other values alone. More... | |
| float | vnl_na_nan_to_na (float v) |
| Replace NaNs with NA, leave other values alone. More... | |
| template<class T > | |
| void | vnl_na_extract_type (std::istream &is, T &value) |
| Read a floating point number or "NA" from a stream. More... | |
| void | vnl_na_extract (std::istream &is, double &x) |
| void | vnl_na_extract (std::istream &is, float &x) |
| void | vnl_na_insert (std::ostream &os, double x) |
| Write a floating point number or "NA" to a stream. More... | |
| void | vnl_na_insert (std::ostream &os, float x) |
| Write a floating point number or "NA" to a stream. More... | |
| double vnl_na | ( | double | ) |
A particular qNaN to indicate not available.
qNaN to indicate value Not Available.
This returns the bit pattern 0x7ff00000000007a2, as used by Octave and R Don't assume that any VXL functions will treat the value as NA rather than NaN, unless explicitly documented.
Definition at line 17 of file vnl_na.cxx.
| float vnl_na | ( | float | ) |
A particular qNaN to indicate not available.
qNaN to indicate value Not Available.
This returns the bit pattern 0x7f8007a2 Don't assume that any VXL functions will treat the value as NA rather than NaN, unless explicitly documented.
Definition at line 43 of file vnl_na.cxx.
| void vnl_na_extract | ( | std::istream & | is, |
| double & | x | ||
| ) |
Definition at line 151 of file vnl_na.cxx.
| void vnl_na_extract | ( | std::istream & | is, |
| float & | x | ||
| ) |
Definition at line 152 of file vnl_na.cxx.
|
inline |
Read a floating point number or "NA" from a stream.
Definition at line 87 of file vnl_na.cxx.
| void vnl_na_insert | ( | std::ostream & | os, |
| double | x | ||
| ) |
Write a floating point number or "NA" to a stream.
Definition at line 155 of file vnl_na.cxx.
| void vnl_na_insert | ( | std::ostream & | os, |
| float | x | ||
| ) |
Write a floating point number or "NA" to a stream.
Definition at line 164 of file vnl_na.cxx.
| bool vnl_na_isna | ( | double | x | ) |
True if parameter is specific NA qNaN.
Tests for bit pattern 0x7ff00000000007a2, as used by Octave and R
Definition at line 54 of file vnl_na.cxx.
| bool vnl_na_isna | ( | float | x | ) |
True if parameter is specific NA qNaN.
Tests for bit pattern 0x7F8007a2
Definition at line 67 of file vnl_na.cxx.
| double vnl_na_nan_to_na | ( | double | v | ) |
Replace NaNs with NA, leave other values alone.
Definition at line 75 of file vnl_na.cxx.
| float vnl_na_nan_to_na | ( | float | v | ) |
Replace NaNs with NA, leave other values alone.
Definition at line 81 of file vnl_na.cxx.
1.8.15