Nary

Nary(MathNaryOperatorTypes, IMathElement, IMathElement)

Creates a N-ary operator

public IMathNaryOperator Nary(MathNaryOperatorTypes type, IMathElement lowerLimit, 
    IMathElement upperLimit)
ParameterTypeDescription
typeMathNaryOperatorTypesThe N-ary operator type
lowerLimitIMathElementThe lower limit
upperLimitIMathElementThe upper limit

Return Value

New instance of type IMathNaryOperator

Examples

Example:

[C#]
IMathElement baseElement = new MathematicalText("i-1");
IMathElement lowerLimit = new MathematicalText("i=0");
IMathElement upperLimit = new MathematicalText("𝑛");
IMathNaryOperator naryOperator = baseElement.Nary(MathNaryOperatorTypes.Summation, lowerLimit, upperLimit);

See Also


Nary(MathNaryOperatorTypes, string, string)

Creates a N-ary operator

public IMathNaryOperator Nary(MathNaryOperatorTypes type, string lowerLimit, string upperLimit)
ParameterTypeDescription
typeMathNaryOperatorTypesThe N-ary operator type
lowerLimitStringThe lower limit
upperLimitStringThe upper limit

Return Value

New instance of type IMathNaryOperator

Examples

Example:

[C#]
IMathNaryOperator naryOperator = new MathematicalText("i").Nary(MathNaryOperatorTypes.Summation, "i=0", "𝑛");

See Also