55template<
typename Type>
struct Arithmetic;
56template<
typename Type>
struct IdTypeImpl;
132 { value =
signNA_;
is.clear();
is.setstate(std::ios::failbit);}
158 std::map<String, Sign>::const_iterator
it=
mapping.find(
str);
184{
return mapping.find(value)->second;}
#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.
String typeToString< Sign >(Sign const &t, std::ios_base &(*f)(std::ios_base &))
specialization for Sign
String signToString(Sign const &value, std::ios_base &(*f)(std::ios_base &)=std::dec)
Convert a Sign to a String.
Sign
STK fundamental type of a sign.
String const & toUpperString(String &s)
convert the characters of the String to upper case
Sign stringToSign(String const &str)
Convert a String to a Sign.
String stringNa
Representation of a Not Available value.
Sign stringToType< Sign >(String const &str)
specialization for Sign
@ signNA_
Not Available value.
IdType
Id for the Type of a variable.
@ sign_
Sign type {-1, 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 Sign NA()
Adding a Non Available (NA) special number.
static bool isNA(const Sign &x)
Test if x is a Non Available (NA) special number.
static bool isInfinite(const Sign &x)
Test if x is infinite.
static bool isFinite(const Sign &x)
Test if x is finite.
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 bool isNA(Type const &x)
static Base::IdType returnType()
Give the IdType of the type Sign.
Implementation of the return type.