ParseToFunction Command
From GeoGebra Manual
- 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
andtext1 = "f(x) = 3x + 1"
.ParseToFunction(f, text1)
returns f(x) = 3x + 1.
Note: See also ParseToNumber command.