Changeset 2666 for trunk/src/STFitter.h
- Timestamp:
- 10/15/12 15:52:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFitter.h
r1932 r2666 39 39 #include <scimath/Functionals/Function.h> 40 40 #include <scimath/Functionals/CompoundFunction.h> 41 #include <scimath/Fitting/GenericL2Fit.h> 42 41 43 42 44 #include "STFitEntry.h" 45 43 46 44 47 namespace asap { … … 55 58 bool setParameters(std::vector<float> params); 56 59 bool setFixedParameters(std::vector<bool> fixed); 60 void addConstraint(const std::vector<float>& constraint); 57 61 58 62 std::vector<float> getResidual() const; … … 76 80 private: 77 81 void clear(); 82 void applyConstraints(casa::GenericL2Fit<casa::Float>& fitter); 78 83 casa::Vector<casa::Float> x_; 79 84 casa::Vector<casa::Float> y_; … … 87 92 casa::Vector<casa::Float> parameters_; 88 93 casa::Vector<casa::Bool> fixedpar_; 94 std::vector<std::vector<float> > constraints_; 89 95 90 96 casa::Vector<casa::Float> error_;
Note: See TracChangeset
for help on using the changeset viewer.