IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.MPetekLib.Algorithms.Plotting.FunctionSampler Class Reference

Public Member Functions

PlotZedgraphCurve NewCurveFromPlottableData (PlotterZedGraph plotter, int x, int y)
 A general curve. A base method for other curves. More...
 
void Sample ()
 Samples the function and stores the coordiantes of the points into the solution list. More...
 
double Atan (double x)
 
double AtanModified (double x)
 

Protected Attributes

string _title
 
List< double[]> _solution
 
double _from
 
double _to
 
int _nPoints
 
Function1D _function
 

Properties

string Title [get, set]
 The name of the function we want to sample. More...
 
List< double[]> Solution [get, set]
 The sampled coordinates. More...
 
double From [get, set]
 The start point for sampling. More...
 
double To [get, set]
 The end point for sampling. More...
 
int NPoints [get, set]
 The number of sampling points. More...
 
Function1D Function [get, set]
 A delegate of the 1D function we are sampling. More...
 

Member Function Documentation

PlotZedgraphCurve IG.MPetekLib.Algorithms.Plotting.FunctionSampler.NewCurveFromPlottableData ( PlotterZedGraph  plotter,
int  x,
int  y 
)
inline

A general curve. A base method for other curves.

Parameters
plotterThe PlotHQ's plotter.
xThe position of the desired dimension in the solution list to be plotted against the x-axis.
yThe position of the desired dimension in the solution list to be plotted against the y-axis.
Returns
A PlotZedGraphCurve object filled with values.

References IG.Gr.PlotZedgraphCurve.AddPoint().

void IG.MPetekLib.Algorithms.Plotting.FunctionSampler.Sample ( )
inline

Samples the function and stores the coordiantes of the points into the solution list.

double IG.MPetekLib.Algorithms.Plotting.FunctionSampler.Atan ( double  x)
inline
double IG.MPetekLib.Algorithms.Plotting.FunctionSampler.AtanModified ( double  x)
inline

Member Data Documentation

string IG.MPetekLib.Algorithms.Plotting.FunctionSampler._title
protected
List<double[]> IG.MPetekLib.Algorithms.Plotting.FunctionSampler._solution
protected
double IG.MPetekLib.Algorithms.Plotting.FunctionSampler._from
protected
double IG.MPetekLib.Algorithms.Plotting.FunctionSampler._to
protected
int IG.MPetekLib.Algorithms.Plotting.FunctionSampler._nPoints
protected
Function1D IG.MPetekLib.Algorithms.Plotting.FunctionSampler._function
protected

Property Documentation

string IG.MPetekLib.Algorithms.Plotting.FunctionSampler.Title
getset

The name of the function we want to sample.

List<double[]> IG.MPetekLib.Algorithms.Plotting.FunctionSampler.Solution
getset

The sampled coordinates.

double IG.MPetekLib.Algorithms.Plotting.FunctionSampler.From
getset

The start point for sampling.

double IG.MPetekLib.Algorithms.Plotting.FunctionSampler.To
getset

The end point for sampling.

int IG.MPetekLib.Algorithms.Plotting.FunctionSampler.NPoints
getset

The number of sampling points.

Function1D IG.MPetekLib.Algorithms.Plotting.FunctionSampler.Function
getset

The documentation for this class was generated from the following file: