PLearn 0.1
|
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Defines | |
#define | _GNU_SOURCE 1 |
For space_to_underscore. | |
Functions | |
ostream & | PLearn::operator<< (ostream &os, const FieldValue &ft) |
double | PLearn::todouble (const Row::iterator &it) |
Generic conversions from an iterator. | |
string | PLearn::tostring (const RowIterator &it) |
void | PLearn::printFieldName (ostream &o, const Row::iterator &field) |
outputs the given field name in a cell of apropriate size | |
void | PLearn::printFieldNames (ostream &o, const Row &row) |
outputs all field names, separated by " | " | |
ostream & | PLearn::operator<< (ostream &o, const Row::iterator &field) |
outputs a single field flushed right in a cell of apropriate width (as given by field.char_width()) | |
ostream & | PLearn::operator<< (ostream &, const Row &row) |
outputs all fields in a row, separated by " | " | |
void | PLearn::halfShuffleRows (SDB &sdb) |
not quite a random shuffle (see implementation) but more efficient use of disk cache | |
void | PLearn::randomShuffleRows (SDB &sdb) |
Performs a random permutation of all the rows of the SDB (same algorithm as Mat::shuffle) | |
Variables | |
const char | PLearn::MissingString = '\0' |
A few constants for representing missing values. | |
const unsigned char | PLearn::MissingCharacter = (unsigned char)SCHAR_MIN |
const signed char | PLearn::MissingSignedChar = (signed char)SCHAR_MIN |
const short | PLearn::MissingShort = SHRT_MIN |
const int | PLearn::MissingInt = INT_MIN |
const float | PLearn::MissingFloat = MISSING_VALUE |
const double | PLearn::MissingDouble = MISSING_VALUE |
const PDate | PLearn::MissingDate |
#define _GNU_SOURCE 1 |
For space_to_underscore.
Definition at line 35 of file SimpleDB.cc.