Nary

Nary(MathNaryOperatorTypes, IMathElement, IMathElement)

Crea un operador N-ario

public IMathNaryOperator Nary(MathNaryOperatorTypes type, IMathElement lowerLimit, 
    IMathElement upperLimit)
ParámetroTipoDescripción
typeMathNaryOperatorTypesEl tipo de operador N-ario
lowerLimitIMathElementEl límite inferior
upperLimitIMathElementEl límite superior

Valor de retorno

Nueva instancia del tipo IMathNaryOperator

Ejemplos

Ejemplo:

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

Véase también


Nary(MathNaryOperatorTypes, string, string)

Crea un operador N-ario

public IMathNaryOperator Nary(MathNaryOperatorTypes type, string lowerLimit, string upperLimit)
ParámetroTipoDescripción
typeMathNaryOperatorTypesEl tipo de operador N-ario
lowerLimitStringEl límite inferior
upperLimitStringEl límite superior

Valor de retorno

Nueva instancia del tipo IMathNaryOperator

Ejemplos

Ejemplo:

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

Véase también