<abs>
<abs>
is a Math Operator component that renders
the absolute value of the enclosed math.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
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" |
format = "…" | text | "text" "latex" |
functionSymbols = "…" | textList | |
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" |
Property | Type |
---|---|
$a.anchor | point |
$a.backgroundColor | text |
$a.createIntervals | boolean |
$a.createVectors | boolean |
$a.disabled | boolean |
$a.displayBlanks | boolean |
$a.displayDecimals | integer |
$a.displayDigits | integer |
$a.displaySmallAsZero | number |
$a.draggable | boolean |
$a.expand | boolean |
$a.fixed | boolean |
$a.fixLocation | boolean |
$a.format | text |
$a.functionSymbols | textList |
$a.hidden | boolean |
$a.isNumber | boolean |
$a.isNumeric | boolean |
$a.latex | latex |
$a.layer | number |
$a.list | [ math ] |
$a.matrix | [ math ] |
$a.matrixSize | numberList |
$a.number | number |
$a.numColumns | integer |
$a.numDimensions | integer |
$a.numListItems | integer |
$a.numRows | integer |
$a.padZeros | boolean |
$a.parseScientificNotation | boolean |
$a.positionFromAnchor | text |
$a.renderMode | text |
$a.simplify | text |
$a.splitSymbols | boolean |
$a.text | text |
$a.textColor | text |
$a.textStyleDescription | text |
$a.unordered | boolean |
$a.value | abs |
$a.vector | [ math ] |
$a.x | math |
$a.y | math |
$a.z | math |
Example: Render the absolute value of a math expression
The <abs>
component is used to render the absolute value of a math expression.
Example: Absolute value of <mathInput>
The <abs>
component is used to render the absolute value of a named <mathInput/>
.
Example: Absolute value of numerical properties
Children of the <abs>
component can include references to <mathInput>
values or other math
quantities, such as single-valued numerical properties of graphical objects. Invalid children are strings and tuples.
Example: Absolute value of a function
The <abs>
component is used to render the absolute value of a named <function>
within a <graph>
.
Special usage notes
Note that the <abs>
component cannot be used directly in attribute specification. You can, however, use the |
notation within an attribute specification.
You can also define a <math>
component separately, which contains the <abs>
component, and then reference it in an attribute specification.