X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=mothurout.h;h=9987374e6c824cafe4aaf343c319d5bca14f209b;hp=3cf6fa4963672b5d69acb7de389eb266b957ba24;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=4283eb0248ca6e7e3e3344647f16166da0e14147 diff --git a/mothurout.h b/mothurout.h index 3cf6fa4..9987374 100644 --- a/mothurout.h +++ b/mothurout.h @@ -138,6 +138,7 @@ class MothurOut { bool isTrue(string); bool isContainingOnlyDigits(string); bool isNumeric1(string); + string findEdianness(); //string manipulation @@ -158,11 +159,14 @@ class MothurOut { map > parseClasses(string); //math operation + double max(vector&); //returns largest value in vector + double min(vector&); //returns smallest value in vector int factorial(int num); vector > binomial(int); float ceilDist(float, int); float roundDist(float, int); unsigned int fromBase36(string); + double median(vector); int getRandomIndex(int); //highest double getStandardDeviation(vector&); vector getStandardDeviation(vector< vector >&);