Commit graph

10 commits

Author SHA1 Message Date
Álvaro González
5a8f9de2a1 preparado para expresiones en los valores de entrada 2025-10-05 17:25:49 +02:00
Álvaro González
ba6c761cee Test for d4rt 2025-09-22 17:00:34 +02:00
Álvaro González
80d6c7d0df feat: use Math namespace for pow function in formulas 2025-09-22 13:35:18 +02:00
Álvaro González
e08474a7eb magnitude -> unit 2025-09-15 21:42:15 +02:00
Álvaro González
785fe72449 First version of a formula widget 2025-08-26 17:17:42 +02:00
Álvaro González
2472e0db7c formula is more natural 2025-08-26 16:54:35 +02:00
Álvaro González
a1fb9057a7 main not present in d4rt_code in formula 2025-08-24 12:08:10 +02:00
Álvaro González
52590cd2fb VariableSpec includes var name 2025-08-24 11:52:34 +02:00
Álvaro González
75fad84cac Tests passing, all formulas validated 2025-08-22 17:47:06 +02:00
Álvaro González
a6a8fafab5 feat: implement formula evaluation using d4rt interpreter
- Add FormulaEvaluator class with d4rt integration
- Support single output variable formulas with variable injection
- Include comprehensive error handling and validation
- Add 15 test cases covering evaluation scenarios
- Create working example with Newton's law, quadratic discriminant, etc.
- Export evaluator in main library file

Implements formula evaluation by injecting variable declarations
into d4rt source code, enabling execution of mathematical formulas
with input parameters.
2025-08-21 18:35:50 +02:00