ParseToFunction Command

From GeoGebra Manual
Revision as of 16:17, 7 October 2017 by Zbynek (talk | contribs) (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Jump to: navigation, search


ParseToFunction( <Function>, <String> )
Parses the string and stores the result to a function f, which must be defined and free before the command is used.
Example: Define f(x) = 3x² + 2 and text1 = "f(x) = 3x + 1". ParseToFunction[f, text1] returns f(x) = 3x + 1.
Note: See also ParseToNumber command.
© 2024 International GeoGebra Institute