This object represents an equation object in Kst. It is interpreted using Kst's internal equation interpreter, and not the JavaScript interpreter. It should be considerably faster than the JavaScript interpreter.
Inherits: DataObject
Collection class: EquationCollection
string equation - The text of the equation to interpret.
Vector xVector - The X axis (input) vector to use. The symbolic variable x; represents the value at the current index in this vector. A text string representing the name of an existing vector may also be used here.
boolean interpolate - If true, the equation interpreter will interoplate to the highest resolution vector. This is the default behavior. [OPTIONAL]
string equation - The text of the equation to interpret.
number x0 - The first value of the generated X (input) vector.
number x1 - The last value of the generate X (input) vector.
number n - The number of values in the generated input vector.
The text of the equation. See the Kst documentation for more information on what the internal equation interpreter supports.
True if the equation object is valid. If false, any values obtained from the yVector should be considered meaningless.
The X vector (input vector) for the equation.
The Y vector (output vector) for the equation.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team