IMathNaryOperator
IMathNaryOperator 接口
指定一个 N-ary 数学对象,例如 Summation 和 Integral。它由运算符、基数(或操作数)以及可选的上、下限组成。N-ary 运算符的示例包括:Summation、Union、Intersection、Integral
public interface IMathNaryOperator : IMathElement, IMathNaryOperatorProperties
属性
| 名称 | 描述 |
|---|---|
| AsIMathElement { get; } | 允许获取基础 IMathElement 接口 IMathElement |
| AsIMathNaryOperatorProperties { get; } | 允许获取基础 IMathNaryOperatorProperties 接口 IMathNaryOperatorProperties |
| Base { get; } | 基础参数 |
| Subscript { get; } | 指定下标参数,例如在 Integral 的情况下,设置下限 |
| Superscript { get; } | 指定上标参数,例如在 Integral 的情况下,设置上限 |
示例
示例:
[C#]
IMathNaryOperator naryOperator = new MathematicalText("x").Nary(MathNaryOperatorTypes.Summation, "x=1", "100");