string_to_function
Formula recognition from strings.
It recognizes and returns the formula and variables from strings via the sympy package.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
formula |
The function formula as a string. |
required | |
variable |
The list of the variables involved in the formula. |
required |
Returns:
Type | Description |
---|---|
FunctionClass
|
The recognized function of the input formula. |