Changeset 1655
- Timestamp:
- Dec 17, 2008, 12:29:55 AM (14 years ago)
- Location:
- trunk/yat/regression
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/regression/GSLInterpolation.cc
r1650 r1655 59 59 60 60 61 size_t GSLInterpolation::bsearch(const double x_array[], double x,62 size_t index_lo, size_t index_hi) const63 {64 return gsl_interp_bsearch(x_array, x, index_lo, index_hi);65 }66 67 68 61 int GSLInterpolation::error_status(void) const 69 62 { -
trunk/yat/regression/GSLInterpolation.h
r1654 r1655 62 62 63 63 public: 64 /**65 \brief Search index.66 67 This function returns the index \f$ i \f$ of the array \a68 x_array such that \f$ x_array[i] <= x < x_array[i+1] \f$. The69 index is searched for in the range70 \f$ [index_lo, index_hi] \f$.71 */72 size_t bsearch(const double x_array[], double x, size_t index_lo,73 size_t index_hi) const;74 75 64 /** 76 65 \brief Check the error status
Note: See TracChangeset
for help on using the changeset viewer.