Data namespace reference
[Core module]
Description
Numerical data interpolation and plotting
Members
Types
- class DiscreteSet
- class Grid
- class Plot
- class PlotData
- class SampleSet
- enum Interpolation
- enum PlotStyleMask
- class Set
- class Set1d
Functions
- PlotStyleMask operator&(PlotStyleMask a, PlotStyleMask b)
- std::ostream & operator<<(std::ostream &o, const Set &s)
- PlotStyleMask operator|(PlotStyleMask a, PlotStyleMask b)
- PlotStyleMask operator~(PlotStyleMask a)
Members detail
Specifies data interpolation methods. Availability depends on data container used.
Identifier | Description |
---|---|
Nearest | 1d and 2d nearest interpolation |
Linear | 1d linear and 2d bilinear interpolations |
Quadratic | 1d quadratic interpolation |
CubicSimple | 1d cubic piecewise interpolation. It has continuous piecewise first derivative, non-continuous piecewise linear second derivative. Use segments slope as first derivative. Less accurate than other cubic interpolants but requires less computation on data set change. |
Cubic | 1d cubic piecewise interpolation. It has smooth first derivative and continuous piecewise linear second derivative. Derivatives for first and last entries are based on first and last segments slope. It uses linear extrapolation (continuous but non-smooth first derivative on both ends). |
Cubic2 | Same interpolation as Cubic, with quadratic extrapolation (continous and smooth first derivative on both ends). |
CubicDerivInit | Same as Cubic with first derivative prescribed for first and last entries only. |
Cubic2DerivInit | Same as Cubic2 with first derivative prescribed for first and last entries only. |
CubicDeriv | 1d cubic piecewise interpolation. First derivatives must be provided for all entries. It uses linear extrapolation. |
Cubic2Deriv | 1d cubic piecewise interpolation. First derivatives must be provided for all entries. It uses quadratic extrapolation. |
Bicubic | 2d bicubic interpolation. Use smooth first derivative and continuous piecewise linear second derivative. Use 1d cubic curve to extract gradients (smooth first derivative and continuous piecewise linear second derivative). This is the best 2d interpolation when derivatives are non-prescribed. |
BicubicDiff | 2d bicubic interpolation. Use numerical differencing to extract gradients. Less accurate than Bicubic but requires less computation on data set change. |
BicubicDeriv | 2d bicubic interpolation. x and y gradients must be provided. This is the best 2d interpolation when derivatives values are available. |
Specifies available styles for 2d and 3d plot data rendering
Identifier | Description |
---|---|
LinePlot | Draw lines between knots |
PointPlot | Draw points for each knot |
InterpolatePlot | Draw a smooth curve |
ValuePlot | Print ploted values near knots |
Filled | Draw filled 3d surface |
PlotStyleMask operator&(PlotStyleMask a, PlotStyleMask b)
Bitwise and operation for use on PlotStyleMask enum.
No documentation available
PlotStyleMask operator|(PlotStyleMask a, PlotStyleMask b)
Bitwise or operation for use on PlotStyleMask enum.
PlotStyleMask operator~(PlotStyleMask a)
Bitwise not operation for use on PlotStyleMask enum.