'ElMo-Knock'

util Namespace Reference

Functions

bool strcmp_ignore_case (string first, string second)
int current_time (double *t)
string get_time_str ()
int get_proc_id_nump (int &proc_id, int &nump)
void fast_gcd (double *a, t_UnsignedInt len, double *gcd)
double infnormvec (vector< vector< double > > A)
int right_nullspace_integer (vector< vector< double > > &A, vector< vector< double > > &K)
int right_nullspace_nonint (vector< vector< double > > &A, vector< vector< double > > &K)
int swap_rows (vector< vector< double > > &mat, t_UnsignedInt row1, t_UnsignedInt row2)
int swap_columns (vector< vector< double > > &mat, t_UnsignedInt col1, t_UnsignedInt col2)
t_UnsignedInt row_echelon (vector< vector< double > > mat, t_UnsignedInt reduced, vector< t_UnsignedInt > rowmap, vector< t_UnsignedInt > colmap)
int nullspace (vector< vector< double > > mat, vector< vector< double > > &kernel)
string trim_right (const string &source, const string &t=" ")
string trim_left (const string &source, const string &t=" ")
string trim (const string &source, const string &t=" ")
bool file_exists (const string &fname)

Function Documentation

int util::current_time ( double *  t)

Definition at line 33 of file util.cpp.

void util::fast_gcd ( double *  a,
t_UnsignedInt  len,
double *  gcd 
)

Definition at line 75 of file util.cpp.

bool util::file_exists ( const string &  fname)

Definition at line 795 of file util.cpp.

int util::get_proc_id_nump ( int &  proc_id,
int &  nump 
)

Definition at line 55 of file util.cpp.

string util::get_time_str ( )

Definition at line 64 of file util.cpp.

double util::infnormvec ( vector< vector< double > >  A)

Definition at line 98 of file util.cpp.

int util::nullspace ( vector< vector< double > >  mat,
vector< vector< double > > &  kernel 
)

Definition at line 737 of file util.cpp.

int util::right_nullspace_integer ( vector< vector< double > > &  A,
vector< vector< double > > &  K 
)

Definition at line 121 of file util.cpp.

int util::right_nullspace_nonint ( vector< vector< double > > &  A,
vector< vector< double > > &  K 
)

Definition at line 411 of file util.cpp.

t_UnsignedInt util::row_echelon ( vector< vector< double > >  mat,
t_UnsignedInt  reduced,
vector< t_UnsignedInt >  rowmap,
vector< t_UnsignedInt >  colmap 
)

Definition at line 605 of file util.cpp.

bool util::strcmp_ignore_case ( string  first,
string  second 
)

Definition at line 21 of file util.cpp.

int util::swap_columns ( vector< vector< double > > &  mat,
t_UnsignedInt  col1,
t_UnsignedInt  col2 
)

Definition at line 713 of file util.cpp.

int util::swap_rows ( vector< vector< double > > &  mat,
t_UnsignedInt  row1,
t_UnsignedInt  row2 
)

Definition at line 691 of file util.cpp.

string util::trim ( const string &  source,
const string &  t = " " 
) [inline]

Definition at line 57 of file util.h.

string util::trim_left ( const string &  source,
const string &  t = " " 
) [inline]

Definition at line 51 of file util.h.

string util::trim_right ( const string &  source,
const string &  t = " " 
) [inline]

Definition at line 45 of file util.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines