public interface IMathNaryOperator extends IMathElement, IMathNaryOperatorProperties
Specifies an N-ary mathematical object, such as Summation and Integral. It consists of an operator, a base (or operand), and optional upper and lower limits. Examples of N-ary operators are: Summation, Union, Intersection, Integral
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
Modifier and Type | Method and Description |
---|---|
IMathElement |
getBase()
Base argument
|
IMathElement |
getSubscript()
Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit
|
IMathElement |
getSuperscript()
Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit
|
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbar
getGrowToMatchOperandHeight, getHideSubscript, getHideSuperscript, getLimitLocation, getOperator, setGrowToMatchOperandHeight, setHideSubscript, setHideSuperscript, setLimitLocation, setOperator
IMathElement getBase()
Base argument
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement baseArg = naryOperator.getBase();
IMathElement getSubscript()
Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement subscriptArg = naryOperator.getSubscript();
IMathElement getSuperscript()
Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement superscriptArg = naryOperator.getSuperscript();