|
COMMON_API int | VetsUtil::IsOdd (int x) |
|
COMMON_API int | VetsUtil::IsPowerOfTwo (unsigned int x) |
| Return true if power of two. More...
|
|
COMMON_API int | VetsUtil::Min (int a, int b) |
|
COMMON_API int | VetsUtil::Max (int a, int b) |
|
COMMON_API size_t | VetsUtil::Min (size_t a, size_t b) |
|
COMMON_API size_t | VetsUtil::Max (size_t a, size_t b) |
|
COMMON_API float | VetsUtil::Min (float a, float b) |
|
COMMON_API float | VetsUtil::Max (float a, float b) |
|
COMMON_API double | VetsUtil::Min (double a, double b) |
|
COMMON_API double | VetsUtil::Max (double a, double b) |
|
COMMON_API double | VetsUtil::LogBaseN (double x, double n) |
|
COMMON_API int | VetsUtil::ILog2 (int n) |
|
COMMON_API int | VetsUtil::StrCmpNoCase (const string &s, const string &t) |
| Case-insensitive string comparison. More...
|
|
COMMON_API void | VetsUtil::StrRmWhiteSpace (string &s) |
| Remove white space from a string. More...
|
|
COMMON_API void | VetsUtil::StrToWordVec (const string &s, vector< string > &v) |
| Parse a string, returning a vector of words. More...
|
|
std::vector< std::string > & | VetsUtil::SplitString (const std::string &s, char delim, std::vector< std::string > &elems) |
|
std::vector< size_t > & | VetsUtil::SplitString (const std::string &s, char delim, std::vector< size_t > &elems) |
|
std::vector< int > & | VetsUtil::SplitString (const std::string &s, char delim, std::vector< int > &elems) |
|
std::vector< float > & | VetsUtil::SplitString (const std::string &s, char delim, std::vector< float > &elems) |
|
std::vector< double > & | VetsUtil::SplitString (const std::string &s, char delim, std::vector< double > &elems) |
|
COMMON_API unsigned long long | VetsUtil::GetBits64 (unsigned long long targ, int pos, int n) |
|
COMMON_API unsigned long long | VetsUtil::SetBits64 (unsigned long long targ, int pos, int n, unsigned long long src) |
|
COMMON_API double | VetsUtil::ran1 (long *) |
|