Nary

Nary(MathNaryOperatorTypes, IMathElement, IMathElement)

创建 N-元运算符

public IMathNaryOperator Nary(MathNaryOperatorTypes type, IMathElement lowerLimit, 
    IMathElement upperLimit)
参数类型描述
typeMathNaryOperatorTypesN-元运算符类型
lowerLimitIMathElement下限
upperLimitIMathElement上限

返回值

新实例类型 IMathNaryOperator

示例

示例:

[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);

另见


Nary(MathNaryOperatorTypes, string, string)

创建 N-元运算符

public IMathNaryOperator Nary(MathNaryOperatorTypes type, string lowerLimit, string upperLimit)
参数类型描述
typeMathNaryOperatorTypesN-元运算符类型
lowerLimitString下限
upperLimitString上限

返回值

新实例类型 IMathNaryOperator

示例

示例:

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

另见