Nary

Nary(MathNaryOperatorTypes, IMathElement, IMathElement)

Erstellt einen N-ary Operator

public IMathNaryOperator Nary(MathNaryOperatorTypes type, IMathElement lowerLimit, 
    IMathElement upperLimit)
ParameterTypBeschreibung
typeMathNaryOperatorTypesDer Typ des N-ary Operators
lowerLimitIMathElementDie Untergrenze
upperLimitIMathElementDie Obergrenze

Rückgabewert

Neue Instanz des Typs IMathNaryOperator

Beispiele

Beispiel:

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

Siehe Auch


Nary(MathNaryOperatorTypes, string, string)

Erstellt einen N-ary Operator

public IMathNaryOperator Nary(MathNaryOperatorTypes type, string lowerLimit, string upperLimit)
ParameterTypBeschreibung
typeMathNaryOperatorTypesDer Typ des N-ary Operators
lowerLimitStringDie Untergrenze
upperLimitStringDie Obergrenze

Rückgabewert

Neue Instanz des Typs IMathNaryOperator

Beispiele

Beispiel:

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

Siehe Auch