AsArgumentOfFunction

AsArgumentOfFunction(IMathElement)

Prend la fonction spécifiée en utilisant cette instance comme argument

public IMathFunction AsArgumentOfFunction(IMathElement functionName)
ParamètreTypeDescription
functionNameIMathElementNom de la fonction

Valeur de retour

Nouvel élément mathématique de type IMathFunction

Exemples

Exemple:

[C#]
IMathElement functionName = new MathematicalText("sin");
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(functionName);

Voir aussi


AsArgumentOfFunction(string)

Prend la fonction spécifiée en utilisant cette instance comme argument

public IMathFunction AsArgumentOfFunction(string functionName)
ParamètreTypeDescription
functionNameStringNom de la fonction

Valeur de retour

Nouvel élément mathématique de type IMathFunction

Exemples

Exemple:

[C#]
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction("cos");

Voir aussi


AsArgumentOfFunction(MathFunctionsOfOneArgument)

Prend la fonction spécifiée en utilisant cette instance comme argument

public IMathFunction AsArgumentOfFunction(MathFunctionsOfOneArgument functionType)
ParamètreTypeDescription
functionTypeMathFunctionsOfOneArgumentL’un des types de fonctions courantes d’un argument

Valeur de retour

Nouvel élément mathématique de type IMathFunction

Exemples

Exemple:

[C#]
IMathElement functionName = new MathematicalText("sin");
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(functionName);

Voir aussi


AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)

Prend la fonction spécifiée en utilisant cette instance comme argument et l’argument supplémentaire spécifié

public IMathFunction AsArgumentOfFunction(MathFunctionsOfTwoArguments functionType, 
    IMathElement additionalArgument)
ParamètreTypeDescription
functionTypeMathFunctionsOfTwoArgumentsL’un des types de fonctions courantes de deux arguments : Log, Lim, Min, Max
additionalArgumentIMathElementArgument supplémentaire selon le type de fonction

Valeur de retour

Nouvel élément mathématique de type IMathFunction

Exemples

Exemple:

[C#]
IMathElement functionArg = new MathematicalText("x");
IMathElement logarithmBase = new MathematicalText("5");
IMathFunction func = functionArg.AsArgumentOfFunction(MathFunctionsOfTwoArguments.Log, logarithmBase); // Retourne le logarithme de 'x' à la base '5'

Voir aussi


AsArgumentOfFunction(MathFunctionsOfTwoArguments, string)

Prend la fonction spécifiée en utilisant cette instance comme argument et l’argument supplémentaire spécifié

public IMathFunction AsArgumentOfFunction(MathFunctionsOfTwoArguments functionType, 
    string additionalArgument)
ParamètreTypeDescription
functionTypeMathFunctionsOfTwoArgumentsL’un des types de fonctions courantes de deux arguments : Log, Lim, Min, Max
additionalArgumentStringArgument supplémentaire selon le type de fonction

Valeur de retour

Nouvel élément mathématique de type IMathFunction

Exemples

Exemple:

[C#]
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(MathFunctionsOfTwoArguments.Log, "5"); // Retourne le logarithme de 'x' à la base '5'

Voir aussi