#include <polynom.h>
Public Member Functions | |
Polynom (double *coefs, size_t coefCount, double min, double max, double step) | |
virtual double | GetX (size_t index, size_t serie) |
virtual double | GetY (size_t index, size_t serie) |
virtual size_t | GetCount (size_t serie) |
virtual size_t | GetSerieCount () |
virtual wxString | GetSerieName (size_t serie) |
Public Member Functions inherited from XYDataset | |
XYRenderer * | GetRenderer () |
virtual double | GetMaxY () |
virtual double | GetMinY () |
virtual double | GetMaxX () |
virtual double | GetMinX () |
virtual double | GetMinValue (bool verticalAxis) |
virtual double | GetMaxValue (bool verticalAxis) |
Public Member Functions inherited from Dataset | |
void | SetRenderer (Renderer *renderer) |
Renderer * | GetBaseRenderer () |
void | BeginUpdate () |
void | EndUpdate () |
virtual DateTimeDataset * | AsDateTimeDataset () |
void | AddMarker (Marker *marker) |
size_t | GetMarkersCount () |
Marker * | GetMarker (size_t index) |
virtual void | NeedRedraw (DrawObject *obj) |
Public Member Functions inherited from RefObject | |
void | AddRef () |
void | Unref () |
int | RefCount () |
Public Member Functions inherited from Observable< DatasetObserver > | |
void | AddObserver (DatasetObserver *_observer) |
void | RemoveObserver (DatasetObserver *_observer) |
Additional Inherited Members | |
Public Types inherited from Observable< DatasetObserver > | |
typedef DatasetObserver | Observer |
Public Attributes inherited from Observable< DatasetObserver > | |
std::vector< DatasetObserver * > ::iterator | OIt |
Protected Member Functions inherited from XYDataset | |
virtual bool | AcceptRenderer (Renderer *r) |
Protected Member Functions inherited from Dataset | |
void | DatasetChanged () |
Protected Attributes inherited from Dataset | |
Renderer * | m_renderer |
Protected Attributes inherited from Observable< DatasetObserver > | |
std::vector< DatasetObserver * > | observers |
Polynom function of type: y = c0 * x^n + c1 * x^(n-1) + ... + c(n-1) * x + cn where: c0 ... cn - coefficients
Polynom::Polynom | ( | double * | coefs, |
size_t | coefCount, | ||
double | min, | ||
double | max, | ||
double | step | ||
) |
Constucts new polynom function dataset.
coefs | coefficients for x values |
min | minimal x value |
max | maximal x value |
step | x value step |
|
virtual |
Returns value count in serie specified by index.
serie | index |
Implements Dataset.
|
virtual |
|
virtual |
|
virtual |
Returns x value at index.
index | index |
Implements XYDataset.
|
virtual |
Returns y value at index.
index | index |
Implements XYDataset.