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