]> git.donarmstrong.com Git - mothur.git/blobdiff - rabundvector.hpp
added the Calculators Thomas made in the fall. Added parameter and command error...
[mothur.git] / rabundvector.hpp
index 327b29b5dc8fa881ca8f8f543c1f5f293974cda8..2a866bcbc4a39cf76c99885763f801e837d3570c 100644 (file)
@@ -17,6 +17,7 @@ class RAbundVector : public DataVector {
 public:
        RAbundVector();
        RAbundVector(int);
+       RAbundVector(vector<int>, int, int, int);
 //     RAbundVector(const RAbundVector&);
        RAbundVector(string, vector<int>);
        RAbundVector(const RAbundVector& bv) : DataVector(bv), data(bv.data), maxRank(bv.maxRank), numBins(bv.numBins), numSeqs(bv.numSeqs){};
@@ -33,6 +34,10 @@ public:
        void pop_back();
        void resize(int);
        int size();
+       void quicksort();
+       int sum();
+       int sum(int);
+       int numNZ();
        vector<int>::reverse_iterator rbegin();
        vector<int>::reverse_iterator rend();