Data::DiscreteSet class reference
[Core module]
Declaration
#include <Goptical/Data/DiscreteSet>
namespace Goptical {
namespace Data {
class DiscreteSet;
};
};
This class is a member of the Data namespace.
Inheritance
Description
This class provides a numerical data container where value pairs can be defined at arbitrary positions (x, y).
Severals interpolation algorithms are available to guess values between defined knots, see Interpolation.
See also SampleSet class.
Members
See also the full member list section for this class.
Inherited members
- 19 members inherited from Set1d
Functions
- DiscreteSet()
- void add_data(double x, double y, double yp = [...])
- void clear()
- virtual unsigned int get_count() const
- double get_d_value(unsigned int x) const
- double & get_d_value(unsigned int x)
- virtual Math::range_t get_x_range() const
- virtual double get_x_value(unsigned int x) const
- virtual double get_y_value(unsigned int x) const
- virtual double & get_y_value(unsigned int x)
- virtual double interpolate(const double x) const
- virtual double interpolate(const double x, unsigned int deriv) const
- void reserve(size_t n)
- virtual void set_interpolation(Interpolation i)
Members detail
No documentation available