Data::SampleSet class reference
[Core module]
Declaration
#include <Goptical/Data/SampleSet>
namespace Goptical {
namespace Data {
class SampleSet;
};
};
This class is a member of the Data namespace.
Inheritance
Description
This class provides a numerical data container where sample values (y) are defined for uniformly distributed (x) values.
Severals interpolation algorithms are available to guess values between defined knots, see Interpolation.
See also DiscreteSet class.
Members
See also the full member list section for this class.
Inherited members
- 19 members inherited from Set1d
Functions
- SampleSet()
- void clear()
- virtual unsigned int get_count() const
- double get_d_value(unsigned int x) const
- double & get_d_value(unsigned int x)
- double get_origin() const
- double get_step() const
- 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 resize(unsigned int n)
- virtual void set_interpolation(Interpolation i)
- void set_metrics(double origin, double step)
- void set_value(unsigned int x, double y, double d = [...])
- void set_value_near(double x, double y, double d = [...])
Members detail
No documentation available