Changeset 1722


Ignore:
Timestamp:
Jan 15, 2009, 2:12:16 PM (12 years ago)
Author:
Jari Häkkinen
Message:

Addresses #466. Moved default contructor to be public.

File:
1 edited

Legend:

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

    r1676 r1722  
    55
    66/*
    7   Copyright (C) 2008 Jari Häkkinen
     7  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
     8  Copyright (C) 2009 Jari Häkkinen
    89
    910  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    6263
    6364  public:
     65    /**
     66       \brief The default constructor
     67
     68       Initialization of the interpolation object for the data \f$ (x,
     69       y) \f$ where \a x and \a y are vector like objects of the same
     70       size. The content of \a x and \a y are copied for internal
     71       storage. \a x is always assumed to be strictly ordered, with
     72       increasing \a x values; the behavior for other arrangements is
     73       not defined.
     74
     75       Some underlying GSL functions return GSL error codes. The error
     76       code is stored internally and should be checked for by the
     77       caller. Refer to the gsl_errno.h for the error code listing.
     78
     79       \see error_status(void)
     80    */
     81    GSLInterpolation(const gsl_interp_type*, const utility::VectorBase& x,
     82                     const utility::VectorBase& y);
     83
    6484    /**
    6585       \brief The destructor
     
    154174    unsigned int min_size(void) const;
    155175
    156   protected:
    157     /**
    158        \brief The default constructor
    159 
    160        Initialization of the interpolation object for the data \f$ (x,
    161        y) \f$ where \a x and \a y are vector like objects of the same
    162        size. The content of \a x and \a y are copied for internal
    163        storage. \a x is always assumed to be strictly ordered, with
    164        increasing \a x values; the behavior for other arrangements is
    165        not defined.
    166 
    167        Some underlying GSL functions return GSL error codes. The error
    168        code is stored internally and should be checked for by the
    169        caller. Refer to the gsl_errno.h for the error code listing.
    170 
    171        \see error_status(void)
    172     */
    173     GSLInterpolation(const gsl_interp_type*, const utility::VectorBase& x,
    174                      const utility::VectorBase& y);
    175 
    176176  private:
    177177    /**
Note: See TracChangeset for help on using the changeset viewer.