[Kst] branches/work/kst/1.5/kst/src/libkstmath

Andrew Walker arwalker at sumusltd.com
Fri Jul 27 01:33:17 CEST 2007


SVN commit 693077 by arwalker:

remove unused methods

 M  +0 -17     ksthistogram.cpp  
 M  +0 -8      ksthistogram.h  
 M  +0 -15     kstvectorview.cpp  
 M  +0 -4      kstvectorview.h  


--- branches/work/kst/1.5/kst/src/libkstmath/ksthistogram.cpp #693076:693077
@@ -445,21 +445,6 @@
 }
 
 
-double KstHistogram::vMax() const {
-  return _inputVectors[RAWVECTOR]->max();
-}
-
-
-double KstHistogram::vMin() const {
-  return _inputVectors[RAWVECTOR]->min();
-}
-
-
-int KstHistogram::vNumSamples() const {
-  return _inputVectors[RAWVECTOR]->length();
-}
-
-
 KstDataObjectPtr KstHistogram::makeDuplicate(KstDataObjectDataObjectMap& duplicatedMap) {
   QString name(tagName() + '\'');
   while (KstData::self()->dataTagNameNotUnique(name, false)) {
@@ -471,5 +456,3 @@
   return KstDataObjectPtr(histogram);
 }
 
-
-// vim: ts=2 sw=2 et
--- branches/work/kst/1.5/kst/src/libkstmath/ksthistogram.h #693076:693077
@@ -15,10 +15,6 @@
  *                                                                         *
  ***************************************************************************/
 
-/** A class for handling power spectra for kst
-
- *@author C. Barth Netterfield
- */
 #ifndef KSTHISTOGRAM_H
 #define KSTHISTOGRAM_H
 
@@ -81,10 +77,6 @@
   double xMax() const { return _MaxX; }
   double width() const { return _W; }
 
-  double vMax() const;
-  double vMin() const;
-  int vNumSamples() const;
-
   virtual KstDataObjectPtr makeDuplicate(KstDataObjectDataObjectMap& duplicatedMap);
 
 private:
--- branches/work/kst/1.5/kst/src/libkstmath/kstvectorview.cpp #693076:693077
@@ -548,21 +548,6 @@
   return true;
 }
 
-double KstVectorView::vMax() const {
-  return _inputVectors[IN_XVECTOR]->max();
-}
-
-
-double KstVectorView::vMin() const {
-  return _inputVectors[IN_YVECTOR]->min();
-}
-
-
-int KstVectorView::vNumSamples() const {
-  return _inputVectors[IN_XVECTOR]->length(); //??
-}
-
-
 KstDataObjectPtr KstVectorView::makeDuplicate(KstDataObjectDataObjectMap& duplicatedMap) {
   QString name(tagName() + '\'');
   while (KstData::self()->dataTagNameNotUnique(name, false)) {
--- branches/work/kst/1.5/kst/src/libkstmath/kstvectorview.h #693076:693077
@@ -95,10 +95,6 @@
     KstVectorPtr vX() const { return *_cxVector; }
     KstVectorPtr vY() const { return *_cyVector; }
 
-    double vMax() const;
-    double vMin() const;
-    int vNumSamples() const;
-
     virtual KstDataObjectPtr makeDuplicate(KstDataObjectDataObjectMap& duplicatedMap);
 
   protected slots:


More information about the Kst mailing list