Class ApproximateControl¶
Defined in File Approximate.h
Class Documentation¶
-
class
ApproximateControl
¶ Control how to make an approximation
- Note
the x- and y-order must be the same, due to a limitation of Chebyshev1Function2
Public Types
Public Functions
-
ApproximateControl
(Style style, int orderX, int orderY = -1, bool weighting = true)¶ ctor
- Parameters
style
: Type of approximationorderX
: Order of approximation to use in x-directionorderY
: Order of approximation to use in y-directionweighting
: Use inverse variance weighting?
-
int
getOrderX
() const¶ Return the order of approximation to use in the x-direction.
-
void
setOrderX
(int const orderX)¶ Set the order of approximation to use in the x-direction.
-
int
getOrderY
() const¶ Return the order of approximation to use in the y-direction.
-
void
setOrderY
(int const orderY)¶ Set the order of approximation to use in the y-direction.
-
bool
getWeighting
() const¶ Return whether inverse variance weighting will be used in calculation.
-
void
setWeighting
(bool const weighting)¶ Set whether inverse variance weighting will be used in calculation.