Nary

Nary(MathNaryOperatorTypes, IMathElement, IMathElement)

Crea un operador N-ario

public IMathNaryOperator Nary(MathNaryOperatorTypes type, IMathElement lowerLimit, 
    IMathElement upperLimit)
ParámetroEscribeDescripción
typeMathNaryOperatorTypesEl tipo de operador N-ario
lowerLimitIMathElementel límite inferior
upperLimitIMathElementel limite superior

Valor_devuelto

Nueva instancia de tipoIMathNaryOperator

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

Ver también


Nary(MathNaryOperatorTypes, string, string)

Crea un operador N-ario

public IMathNaryOperator Nary(MathNaryOperatorTypes type, string lowerLimit, string upperLimit)
ParámetroEscribeDescripción
typeMathNaryOperatorTypesEl tipo de operador N-ario
lowerLimitStringel límite inferior
upperLimitStringel limite superior

Valor_devuelto

Nueva instancia de tipoIMathNaryOperator

Ejemplos

Ejemplo:

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

Ver también