]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurout.h
changes while testing
[mothur.git] / mothurout.h
index 77b1b6d4ec1efb758973d332aa8e4df00619f58b..9987374e6c824cafe4aaf343c319d5bca14f209b 100644 (file)
@@ -93,7 +93,9 @@ class MothurOut {
                string getRootName(string);
                bool isBlank(string);
                int openOutputFile(string, ofstream&);
+        int openOutputFileBinary(string, ofstream&);
                int openOutputFileAppend(string, ofstream&);
+        int openOutputFileBinaryAppend(string, ofstream&);
                int openInputFile(string, ifstream&);
                int openInputFile(string, ifstream&, string); //no error given 
                string getline(ifstream&);
@@ -136,6 +138,7 @@ class MothurOut {
                bool isTrue(string);
                bool isContainingOnlyDigits(string);
                bool isNumeric1(string);
+        string findEdianness();
        
                
                //string manipulation
@@ -156,11 +159,14 @@ class MothurOut {
         map<string, vector<string> > parseClasses(string);
                
                //math operation
+        double max(vector<double>&); //returns largest value in vector
+        double min(vector<double>&); //returns smallest value in vector
                int factorial(int num);
                vector<vector<double> > binomial(int);
                float ceilDist(float, int);
                float roundDist(float, int);
                unsigned int fromBase36(string);
+        double median(vector<double>);
                int getRandomIndex(int); //highest
         double getStandardDeviation(vector<int>&);
         vector<double> getStandardDeviation(vector< vector<double> >&);