Nary

Nary(MathNaryOperatorTypes, IMathElement, IMathElement)

Crée un opérateur N-aire

public IMathNaryOperator Nary(MathNaryOperatorTypes type, IMathElement lowerLimit, 
    IMathElement upperLimit)
ParamètreTypeDescription
typeMathNaryOperatorTypesLe type d’opérateur N-aire
lowerLimitIMathElementLa limite inférieure
upperLimitIMathElementLa limite supérieure

Valeur de Retour

Nouvelle instance de type IMathNaryOperator

Exemples

Exemple :

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

Voir aussi


Nary(MathNaryOperatorTypes, string, string)

Crée un opérateur N-aire

public IMathNaryOperator Nary(MathNaryOperatorTypes type, string lowerLimit, string upperLimit)
ParamètreTypeDescription
typeMathNaryOperatorTypesLe type d’opérateur N-aire
lowerLimitStringLa limite inférieure
upperLimitStringLa limite supérieure

Valeur de Retour

Nouvelle instance de type IMathNaryOperator

Exemples

Exemple :

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

Voir aussi