<functionIterates>
<functionIterates> is a Math Operator
component that evaluates a function over a specified number of iterations of its argument.
Attributes and Properties
| Attribute | Type | Values |
|---|---|---|
displayDecimals = "…" | integer | |
displayDigits = "…" | integer | |
displaySmallAsZero = "…" | number | |
forceNumeric = "…" | boolean | "true" "false" |
forceSymbolic = "…" | boolean | "true" "false" |
function = "…" | ||
initialValue = "…" | ||
numIterates = "…" | integer | |
padZeros = "…" | boolean | "true" "false" |
| Property | Type |
|---|---|
$f.allIterates | mathList |
$f.allIteratesWithInitial | mathList |
$f.disabled | boolean |
$f.displayDecimals | integer |
$f.displayDigits | integer |
$f.displaySmallAsZero | number |
$f.finalIterate | math |
$f.fixed | boolean |
$f.fixLocation | boolean |
$f.forceNumeric | boolean |
$f.forceSymbolic | boolean |
$f.hidden | boolean |
$f.iterates | [ math ] |
$f.numDimensions | integer |
$f.numIterates | integer |
$f.padZeros | boolean |
Example: simple function iteration
In this example, the <function> is first defined, then referenced
in the <functionIterates> component in the function attribute.
The numIterates attribute, which specifies the number of iterations to
perform, and the initialValue attribute are required.