ROOT
ROOT project
Loading...
Searching...
No Matches
Classes
function_parser.hpp File Reference

Function parser classes for parsing mathematical functions from strings. More...

#include <functional>
#include <string>
Include dependency graph for function_parser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FunctionParserBase
 Base class for function parsers. More...
 
class  PolynomialParser
 Parser class for polynomial functions. More...
 
class  TrigonometricParser
 Parser class for trigonometric functions. More...
 

Detailed Description

Function parser classes for parsing mathematical functions from strings.

This file defines the base class and derived classes for parsing mathematical functions, including polynomial and trigonometric functions. The parsers convert string representations of functions into callable std::function<double(double)> objects.

This file was written with constant LLM assistance (vibe coded). I built the structure and logic, and the LLM helped fill in the details.

Author
Saransh-cpp