MathRadical

MathRadical class

指定根函数,由一个基数和一个可选的度数组成。 激进宾语的例子是√𝑥。

public sealed class MathRadical : MathElementBase, IMathRadical

构造函数

姓名描述
MathRadical(IMathElement, IMathElement)初始化 MathRadical 类的新实例。

特性

姓名描述
Base { get; }基本参数
Degree { get; }度数参数
HideDegree { get; set; }隐藏度数 当为真时,度数不显示,如 √𝑥

方法

姓名描述
Accent(char)设置重音符号(此元素顶部的字符)
AsArgumentOfFunction(IMathElement)以使用此实例作为参数的指定函数
AsArgumentOfFunction(MathFunctionsOfOneArgument)以使用此实例作为参数的指定函数
AsArgumentOfFunction(string)以使用此实例作为参数的指定函数
AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)将使用此实例的指定函数作为参数并指定附加参数
AsArgumentOfFunction(MathFunctionsOfTwoArguments, string)将使用此实例的指定函数作为参数并指定附加参数
Divide(IMathElement)使用此分子和指定分母创建分数
Divide(string)使用此分子和指定分母创建分数
Divide(IMathElement, MathFractionTypes)使用此分子和指定分母创建指定类型的分数
Divide(string, MathFractionTypes)使用此分子和指定分母创建指定类型的分数
Enclose()将数学元素括在括号中
virtual Enclose(char, char)将数学元素括在指定字符中,例如括号或其他字符,作为框架
Function(IMathElement)使用该实例作为函数名的参数的函数
Function(string)使用该实例作为函数名的参数的函数
GetChildren()获取子元素
Group()使用底部大括号将此元素放在组中
Group(char, MathTopBotPositions, MathTopBotPositions)使用分组字符(例如下大括号或另一个
Integral(MathIntegralTypes)无限制地取积分
Integral(MathIntegralTypes, IMathElement, IMathElement)取整数
Integral(MathIntegralTypes, string, string)取整数
Integral(MathIntegralTypes, IMathElement, IMathElement, MathLimitLocations)取整数
Integral(MathIntegralTypes, string, string, MathLimitLocations)取整数
virtual Join(IMathElement)连接一个数学元素并形成一个数学块
virtual Join(string)连接数学文本并形成数学块
Nary(MathNaryOperatorTypes, IMathElement, IMathElement)创建 N 元运算符
Nary(MathNaryOperatorTypes, string, string)创建 N 元运算符
Overbar()在此元素顶部设置一个栏
Radical(IMathElement)根据指定参数指定给定度数的数学根。
Radical(string)根据指定参数指定给定度数的数学根。
SetLowerLimit(IMathElement)取下限
SetLowerLimit(string)取下限
SetSubscript(IMathElement)创建下标
SetSubscript(string)创建下标
SetSubSuperscriptOnTheLeft(IMathElement, IMathElement)在左侧创建下标和上标
SetSubSuperscriptOnTheLeft(string, string)在左侧创建下标和上标
SetSubSuperscriptOnTheRight(IMathElement, IMathElement)在右侧创建下标和上标
SetSubSuperscriptOnTheRight(string, string)在右侧创建下标和上标
SetSuperscript(IMathElement)创建上标
SetSuperscript(string)创建上标
SetUpperLimit(IMathElement)取上限
SetUpperLimit(string)取上限
ToBorderBox()将此元素放置在边框中
ToBorderBox(bool, bool, bool, bool, bool, bool, bool, bool)将此元素放在边框中
ToBox()将此元素置于非可视框(逻辑分组) 用于对方程的组件或其他数学文本实例进行分组. 装箱对象可以(例如)用作带有或不带有对齐点的操作员模拟器, 用作换行点,或者被分组以不允许换行内破。
virtual ToMathArray()放入垂直数组
Underbar()在此元素的底部设置一个栏

例子

示例:

[C#]
MathRadical radical = new MathRadical(new MathematicalText("x"), new MathematicalText("3"));

也可以看看