Changeset 2730 for trunk/src/BisectionLocator.h
- Timestamp:
- 01/16/13 16:00:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/BisectionLocator.h
r2727 r2730 23 23 class BisectionLocator : public Locator { 24 24 public: 25 BisectionLocator() {;}26 BisectionLocator( double *v, unsigned int n);25 // Default constructor. 26 BisectionLocator(); 27 27 28 // Construct with data 29 // @param[in] v pointer to input data. 30 // @param[in] n length of the data. 31 // @param[in] copystorage whether allocate internal memory or not. 32 // @see Locator::set() 33 BisectionLocator(double *v, unsigned int n, bool copystorage=true); 34 35 // Destructor. 28 36 virtual ~BisectionLocator(); 29 37 38 // Return right hand side index of location using bisection search. 39 // @param[in] x input value to be located. 40 // @return location as an index j. 41 // @see Locator::locate() 30 42 unsigned int locate(double x); 31 43 };
Note: See TracChangeset
for help on using the changeset viewer.