GraphInterpolationPolynomial¶
-
MLModule
¶
Purpose¶
The module GraphInterpolationPolynomial
supplies a value table of an interpolation polynomial as a CurveData object.
Using some MeVisLab modules, this allows to draw a graph of the polynomial. This naturally only works for polynomials in one variable, since the CurveData object does not support multivariate curves. If the polynomial has more than one variable, a warning will be given and all variables except the first will be set to zero. Usually, in this case, the right solution is to use a PartiallyEvaluateInterpolationPolynomial
module before the GraphInterpolationPolynomial
module.
Parameter Fields¶
Field Index¶
Apply : Trigger |
Auto apply : Bool |
Automatic Bounding Box : String |
Manual Bounding Box : String |
Number of Points : Integer |
Simplify polynomial : Bool |
Use manual bounding box : Bool |
Visible Fields¶
Automatic Bounding Box¶
-
name:
autoBBox
, type:
String
, persistent:
no
¶ Shows the generic bounding box of the polynomial.
The same bounding box can also be obtained with an
EvaluateInterpolationPolynomial
module.
Use manual bounding box¶
-
name:
useManBBox
, type:
Bool
, default:
FALSE
¶ If checked, the bounding box on which the value table is generated is taken from the
Manual Bounding Box
field below.Otherwise, the automatic bounding box above is used. Note that in both cases, only the first dimension of the bounding box is used.
Manual Bounding Box¶
-
name:
manBBox
, type:
String
¶ Sets a bounding box manually if
Use manual bounding box
is checked.
Number of Points¶
-
name:
numPoints
, type:
Integer
, default:
100
, minimum:
2
¶ Sets the number of points that the table will consist of.
They are distributed uniformly in the interval given by the bounding box.
Simplify polynomial¶
-
name:
simplifyPolynomial
, type:
Bool
, default:
FALSE
¶ If cheked, the polynomial will be simplified (using the same procedure as the
SimplifyInterpolationPolynomial
module) first.This may either speed up or slow down the computation, depending on the polynomial and on the settings.
Note that simplifying a polynomial destroys the bounding box information, but that does not matter since this module evaluates the bounding box before simplifying.