AsArgumentOfFunction

AsArgumentOfFunction(IMathElement)

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

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

Return_Value

Nouvel élément mathématique de typeIMathFunction

Exemples

Exemple :

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

Voir également


AsArgumentOfFunction(string)

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

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

Return_Value

Nouvel élément mathématique de typeIMathFunction

Exemples

Exemple :

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

Voir également


AsArgumentOfFunction(MathFunctionsOfOneArgument)

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

public IMathFunction AsArgumentOfFunction(MathFunctionsOfOneArgument functionType)
ParamètreTaperLa description
functionTypeMathFunctionsOfOneArgumentL’un des types de fonction communs d’un argument

Return_Value

Nouvel élément mathématique de typeIMathFunction

Exemples

Exemple :

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

Voir également


AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)

Prend la 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ètreTaperLa description
functionTypeMathFunctionsOfTwoArgumentsL’un des types de fonction communs à deux arguments : Log, Lim, Min, Max
additionalArgumentIMathElementArgument supplémentaire selon le type de fonction

Return_Value

Nouvel élément mathématique de typeIMathFunction

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' en base '5'

Voir également


AsArgumentOfFunction(MathFunctionsOfTwoArguments, string)

Prend la 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ètreTaperLa description
functionTypeMathFunctionsOfTwoArgumentsL’un des types de fonction communs à deux arguments : Log, Lim, Min, Max
additionalArgumentStringArgument supplémentaire selon le type de fonction

Return_Value

Nouvel élément mathématique de typeIMathFunction

Exemples

Exemple :

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

Voir également