Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

/home/saunders/linbox/tests/test-common.C File Reference

#include "linbox-config.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "linbox/util/commentator.h"
#include "linbox/field/archetype.h"
#include "test-common.h"

Functions

void printHelpMessage (const char *program, Argument *args, bool printDefaults=false)
ArgumentfindArgument (Argument *args, char c)
void parseArguments (int argc, char **argv, Argument *args, bool printDefaults)
std::ostream & writeCommandString (std::ostream &os, Argument *args, char *programName)
bool isPower (integer n, integer m)
double incompleteGamma (double a, double x, double tol)
double chiSquaredCDF (double chi_sqr, double df)


Function Documentation

void printHelpMessage const char *  program,
Argument args,
bool  printDefaults = false
 

Argument* findArgument Argument args,
char  c
 

void parseArguments int  argc,
char **  argv,
Argument args,
bool  printDefaults
 

std::ostream& writeCommandString std::ostream &  os,
Argument args,
char *  programName
 

writes the values of all arguments, preceded by the programName

bool isPower integer  n,
integer  m
 

double incompleteGamma double  a,
double  x,
double  tol
[inline]
 

double chiSquaredCDF double  chi_sqr,
double  df
 


Generated on Fri Jul 8 10:29:42 2005 for linbox by doxygen 1.3.7