Changeset 1655


Ignore:
Timestamp:
Dec 17, 2008, 12:29:55 AM (14 years ago)
Author:
Jari Häkkinen
Message:

Addresses #466. Removed bsearch from the GSL wrapper.

Location:
trunk/yat/regression
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/GSLInterpolation.cc

    r1650 r1655  
    5959
    6060
    61   size_t GSLInterpolation::bsearch(const double x_array[], double x,
    62                                    size_t index_lo, size_t index_hi) const
    63   {
    64     return gsl_interp_bsearch(x_array, x, index_lo, index_hi);
    65   }
    66 
    67 
    6861  int GSLInterpolation::error_status(void) const
    6962  {
  • trunk/yat/regression/GSLInterpolation.h

    r1654 r1655  
    6262
    6363  public:
    64     /**
    65        \brief Search index.
    66 
    67        This function returns the index \f$ i \f$ of the array \a
    68        x_array such that \f$ x_array[i] <= x < x_array[i+1] \f$. The
    69        index is searched for in the range
    70        \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 
    7564    /**
    7665       \brief Check the error status
Note: See TracChangeset for help on using the changeset viewer.