Changeset 2731 for trunk/src/BisectionLocator.h
- Timestamp:
- 01/16/13 16:45:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/BisectionLocator.h
r2730 r2731 21 21 * @author TakeshiNakazato 22 22 */ 23 class BisectionLocator : public Locator{23 template <class T> class BisectionLocator : public Locator<T> { 24 24 public: 25 25 // Default constructor. … … 31 31 // @param[in] copystorage whether allocate internal memory or not. 32 32 // @see Locator::set() 33 BisectionLocator( double*v, unsigned int n, bool copystorage=true);33 BisectionLocator(T *v, unsigned int n, bool copystorage=true); 34 34 35 35 // Destructor. … … 40 40 // @return location as an index j. 41 41 // @see Locator::locate() 42 unsigned int locate( doublex);42 unsigned int locate(T x); 43 43 }; 44 44 45 45 } 46 47 #include "BisectionLocator.tcc" 48 46 49 #endif
Note: See TracChangeset
for help on using the changeset viewer.