124 { value =
binaryNA_;
is.clear();
is.setstate(std::ios::failbit);}
150 std::map<String, Binary>::const_iterator
it=
mapping.find(
str);
176 std::map<Binary, String>::const_iterator
it=
mapping.find(value);
#define _T(x)
Let x unmodified.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
ostream & operator<<(ostream &s, const CAllocator< Type, SizeRows_, SizeCols_, Orient_ > &V)
output stream for CAllocator.
Binary stringToType< Binary >(String const &str)
specialization for Binary
Binary stringToBinary(String const &str)
Convert a String to a Binary.
Binary
STK fundamental type of a binary.
String typeToString< Binary >(Binary const &t, std::ios_base &(*f)(std::ios_base &))
specialization for Binary
String const & toUpperString(String &s)
convert the characters of the String to upper case
String binaryToString(Binary const &value, std::ios_base &(*f)(std::ios_base &)=std::dec)
Convert a Binary to a String.
String stringNa
Representation of a Not Available value.
@ binaryNA_
Not Available value.
IdType
Id for the Type of a variable.
@ binary_
Binary type {0, 1}.
std::basic_string< Char > String
STK fundamental type of a String.
std::basic_ostream< Char > ostream
ostream for Char
std::basic_ostringstream< Char > ostringstream
ostringstream (ostringstream) for Char
std::basic_istream< Char > istream
istream for Char
The namespace STK is the main domain space of the Statistical ToolKit project.
istream & operator>>(istream &is, Binary &value)
Overloading of the istream >> for the type Binary.
static Binary NA()
Adding a Non Available (NA) special number.
static bool isFinite(const Binary &x)
test if x is finite.
static bool isInfinite(const Binary &x)
test if x is infinite.
static bool isNA(const Binary &x)
Test if x is a Non Available (NA) special number.
Arithmetic properties of STK fundamental types.
static bool isInfinite(Type const &x)
static const bool hasNA
True if the type has a representation for a "Not Available."
static Type NA()
Adding a Non Available (NA) special number.
static bool isNA(Type const &x)
static Base::IdType returnType()
Implementation of the return type.