Referenceevaluate

<evaluate/>

<evaluate/> is a Math Operator component which renders the result of a <function>evaluated at a specified input parameter or parameters. This is a self-closing tag; it’s tempting to try to nest the function within opening and closing tags, but this is incorrect — the function to be evaluated must instead be specified within the function attribute directly.

Attributes and Properties

Attributes for <evaluate>
AttributeTypeValues
anchor = "…"point
createIntervals = "…"boolean"true" "false"
createVectors = "…"boolean"true" "false"
displayBlanks = "…"boolean"true" "false"
displayDecimals = "…"integer
displayDigits = "…"integer
displaySmallAsZero = "…"number
draggable = "…"boolean"true" "false"
expand = "…"boolean"true" "false"
forceNumeric = "…"boolean"true" "false"
forceSymbolic = "…"boolean"true" "false"
format = "…"text"text" "latex"
function = "…"
functionSymbols = "…"textList
input = "…"
layer = "…"number
padZeros = "…"boolean"true" "false"
parseScientificNotation = "…"boolean"true" "false"
positionFromAnchor = "…"text"upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center"
referencesAreFunctionSymbols = "…"
renderMode = "…"text
simplify = "…"text"none" "full" "numbers" "numberspreserveorder"
splitSymbols = "…"boolean"true" "false"
unordered = "…"boolean"true" "false"
Props for <evaluate name="e">
PropertyType
$e.anchorpoint
$e.backgroundColortext
$e.createIntervalsboolean
$e.createVectorsboolean
$e.disabledboolean
$e.displayBlanksboolean
$e.displayDecimalsinteger
$e.displayDigitsinteger
$e.displaySmallAsZeronumber
$e.draggableboolean
$e.expandboolean
$e.fixedboolean
$e.fixLocationboolean
$e.forceNumericboolean
$e.forceSymbolicboolean
$e.formattext
$e.formulamath
$e.functionSymbolstextList
$e.hiddenboolean
$e.isNumberboolean
$e.isNumericboolean
$e.latexlatex
$e.layernumber
$e.list[ math ]
$e.matrix[ math ]
$e.matrixSizenumberList
$e.numbernumber
$e.numColumnsinteger
$e.numDimensionsinteger
$e.numListItemsinteger
$e.numRowsinteger
$e.padZerosboolean
$e.parseScientificNotationboolean
$e.positionFromAnchortext
$e.renderModetext
$e.simplifytext
$e.splitSymbolsboolean
$e.texttext
$e.textColortext
$e.textStyleDescriptiontext
$e.unorderedboolean
$e.valueevaluate
$e.vector[ math ]
$e.xmath
$e.ymath
$e.zmath

Example: <evaluate/> a function at a user-input

The two required attributes for the <evaluate/> component are function and input.


Example: <evaluate/> - the shortcut

The shortcut macro for the evaluate component is $$function(input).


Attribute Example: function

The function attribute specifies a target function to evaluate.


Attribute Example: input

The input attribute specifies an input at which to evaluate the function.


Attribute Example: forceNumeric

The forceNumeric attribute forces a numerical evaluation of the function.