<cumulativeMin>
<cumulativeMin> is a Math Operator
component that renders the running minimum of its arguments: a list whose th entry
is the smallest of the first input values.
Where <min> reduces a list to a single value, <cumulativeMin>
produces a list the same length as its input. The result never increases.
Attributes and Properties
Attributes for <cumulativeMin>
Highlighted (3)
asListboolean. Default value: true. Whether to render the items separated by commas (true) or with no separator (false).
forceNumericboolean. Default value: false. Whether to force the operator to evaluate numerically rather than symbolically.
forceSymbolicboolean. Default value: false. Whether to force the operator to evaluate symbolically rather than numerically.
Other (5)
avoidScientificNotationWhether to render numbers in full decimal form rather than scientific notation.
displayDecimalsNumber of decimal places to display when rendering this number.
displayDigitsNumber of significant digits to display when rendering this number.
displaySmallAsZeroThreshold below which numbers are displayed as zero.
padZerosWhether to pad displayed numbers with trailing zeros to fill the requested digits/decimals.
Common to all components (9)
copyreference. Create an independent copy of another component by reference. Enter a references a $name.
disabledboolean. Default value: false. Whether this component is disabled and cannot be interacted with.
extendreference. Extend another component by reference, inheriting its children and attributes. Enter a reference as $name.
fixedDefault value: false. Whether this component's value is fixed and cannot be modified.
fixLocationboolean. Default value: false. Whether this component's location is fixed (preventing it from being moved while still allowing other modifications).
hideboolean. Default value: false. Whether to hide this component from the rendered output.
isResponseboolean. Default value: false. Whether this component is treated as a response for the purposes of assessment.
nametext. The name used to reference this component from elsewhere in the document.
styleNumberinteger. Default value: 1. The style number used to select this component's visual styling from the available style definitions.
Properties for <cumulativeMin name="c">
Highlighted (2)
$c.forceNumericboolean. Whether to force the operator to evaluate numerically rather than symbolically.
$c.forceSymbolicboolean. Whether to force the operator to evaluate symbolically rather than numerically.
Common to all components (4)
$c.doenetMLtext. The DoenetML source code that produced this component.
$c.hideboolean. Whether to hide this component from the rendered output.
$c.isResponseboolean. Whether this component is treated as a response for the purposes of assessment.
$c.styleNumberinteger. The style number used to select this component's visual styling from the available style definitions.
Examples
Example: running minimum
Each entry is the smallest value seen so far, so the list is non-increasing and its
last entry is the <min> of the whole input.
Example: a record low
A running extreme answers “what is the best (or worst) result so far?” at every point
in a list, which a single <min> cannot express.