How aquice/functools works
This is a small C++ function-algebra library with a sample program that builds a symbolic expression, derives it, and prints its representation. The sampled code supports constants, identity, composite operations, trigonometric functions, and logarithms; evaluation and primitive APIs also appear in the library. Source excerpts are partial, so the graph keeps the runtime wiring to the demonstrated entry point and shared implementation file.
Main entry points: main.cpp Example entry · function.hpp Evaluate and represent
Components 5
Sample program
- Example entry
main.cpp
Function algebra
- Function expressions
src/function.hpp - Evaluate and represent
src/function.hpp - Derivative and primitive
src/function.hpp
Other components
- Program caller
Connections 5
- Program caller → Example entry: runs
- Example entry → Function expressions: builds expressions
- Example entry → Derivative and primitive: requests derivative
- Example entry → Evaluate and represent: prints representation
- Example entry → Evaluate and represent: evaluates