AsArgumentOfFunction

AsArgumentOfFunction(IMathElement)

Prend une 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 une 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 une fonction spécifiée en utilisant cette instance comme argument

public IMathFunction AsArgumentOfFunction(MathFunctionsOfOneArgument functionType)
ParamètreTypeDescription
functionTypeMathFunctionsOfOneArgumentL’un des types de fonction courants à un argument

Valeur de retour

Nouvel élément mathématique de type IMathFunction

Exemples

Exemple :

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

Voir aussi


AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)

Prend une fonction spécifiée en utilisant cette instance comme argument et un argument supplémentaire spécifié

public IMathFunction AsArgumentOfFunction(MathFunctionsOfTwoArguments functionType, 
    IMathElement additionalArgument)
ParamètreTypeDescription
functionTypeMathFunctionsOfTwoArgumentsL’un des types de fonction courants à deux arguments : Log, Lim, Min, Max
additionalArgumentIMathElementArgument supplémentaire en fonction du 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); // Renvoie le logarithme de 'x' à la base '5'

Voir aussi


AsArgumentOfFunction(MathFunctionsOfTwoArguments, string)

Prend une fonction spécifiée en utilisant cette instance comme argument et un argument supplémentaire spécifié

public IMathFunction AsArgumentOfFunction(MathFunctionsOfTwoArguments functionType, 
    string additionalArgument)
ParamètreTypeDescription
functionTypeMathFunctionsOfTwoArgumentsL’un des types de fonction courants à deux arguments : Log, Lim, Min, Max
additionalArgumentStringArgument supplémentaire en fonction du 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"); // Renvoie le logarithme de 'x' à la base '5'

Voir aussi