No description
Find a file
2026-01-25 19:07:44 +01:00
android Compilation problems, will recreate flutter app again 2025-08-27 11:10:22 +02:00
assets formula works, mergin in main 2026-01-25 19:03:57 +01:00
bin dart --fix 2025-09-05 18:53:06 +02:00
example preparando apgar 2025-11-09 20:29:58 +01:00
ios Compilation problems, will recreate flutter app again 2025-08-27 11:10:22 +02:00
lib formula works, mergin in main 2026-01-25 19:03:57 +01:00
linux elimino una reevaluación de los inputs 2025-10-16 19:28:17 +02:00
macos elimino una reevaluación de los inputs 2025-10-16 19:28:17 +02:00
test formula works, mergin in main 2026-01-25 19:03:57 +01:00
web Compilation problems, will recreate flutter app again 2025-08-27 11:10:22 +02:00
windows elimino una reevaluación de los inputs 2025-10-16 19:28:17 +02:00
.gitignore remove .pub-cache 2025-09-08 21:18:02 +02:00
.metadata Preparo para fórmulas que devuelven cadenas 2025-11-05 10:35:53 +01:00
aider.sh magnitude -> unit 2025-09-15 21:42:15 +02:00
analysis_options.yaml Exclude files of warp jail, add some other files 2025-08-21 16:14:36 +02:00
CLAUDE.md Changes not commited by aider 2025-09-14 16:40:27 +02:00
docker-compose.yml función makefile, mejores dependencias makefile 2026-01-09 13:57:44 +01:00
Dockerfile función makefile, mejores dependencias makefile 2026-01-09 13:57:44 +01:00
Makefile quito algunas versiones obligatorias 2026-01-10 13:59:55 +01:00
pubspec.lock faltaba .lock 2026-01-25 19:06:09 +01:00
pubspec.yaml formula works, mergin in main 2026-01-25 19:03:57 +01:00
README.md quito algunas versiones obligatorias 2026-01-10 13:59:55 +01:00
units-and-formulas-definition.md elimino una reevaluación de los inputs 2025-10-16 19:28:17 +02:00

https://github.com/Shahxad-Akram/flutter_tex/blob/master/example/lib/tex_view_markdown_example.dart

Math Formulae Manager

A comprehensive command-line application for managing and computing mathematical formulas across various disciplines including mathematics, physics, medicine, and engineering.

This project uses dart language, and flutter framework. It leverages d4rt library to execute formulas.

Development guidelines

If you are a contributor or an agent, please follow CLAUDE.md for development guidelines.

Formula file description

The file is a dart array of formulas. Each formula is a dart set literal

[
    {
        "name": "Newton's second law (scalar)",
        "input": {
            "m" : {
               "magnitude": "mass"
            },
            "a" : {
               "magnitude": "acceleration"
            }
        },
        "output": {
            "F" : {
                "magnitude" : "Force"
            }
        },
        "d4rt_code": "F = m*a;"
        
    },
    {
        "name": 'Triangle rectangle',
        "input": [
          'b':{ "magnitude": 'meter'},
          'c':{ "magnitude": 'meter'},
        ],
        "output": { 'a': { "magnitude": 'meter' } },
        "d4rtCode": '''
              a = Math.sqrt(b*b + c*c);
          ''',
    }
]

Unit file description

[
  {
    "name": 'meter',
    "symbol": 'm',
    "isBase": true
  },
  {
    "name": 'inch',
    "symbol" 'in',
    "baseUnit": 'meter',
    "factor": 0.0254
  },
  {
    "name": 'nautical mile',
    "symbol": 'Nm',
    "baseUnit": 'meter',
    "factor": 1852
  },
  {
    "name": 'Kelvin',
    "symbol": "Kº",
    "isBase": true,
  },
  {
    "name": 'Celsius',
    "symbol": "Cº",
    "baseUnit" : "Kelvin",
    "toBase": "x + 273.15",
    "fromBase": "x - 273.15"
  },
  {
    "name": 'Fahrenheit',
    "symbol": "Fº",
    "baseUnit" : "Kelvin",
    "toBase": "(x - 32) × 5/9 + 273.15",
    "fromBase": "x - 273.15) * 9/5 + 32"
  }
]

Features

Formula Search and Computation

  • Search through a vast collection of formulas from multiple domains:
    • Mathematics
    • Physics
    • Medical sciences
    • Engineering
    • And more!
  • Input values for formula variables
  • Get computed results with proper units

Unit Management

  • Each data value includes its magnitude and unit
  • Convert between different units seamlessly
  • Automatic unit validation and conversion

Formula Editor

  • Built-in formula editor using the d4rt interpreter
  • Create and modify formulas with ease
  • Syntax highlighting and validation

Formula Sharing

  • Share formulas with other users
  • Import formulas from the community
  • Collaborative formula database

Rich Formula Documentation

Each formula includes:

  • The formula itself - Mathematical expression
  • Explanation - Detailed description in Markdown format
  • Images - Visual diagrams, graphs, or illustrations
  • Examples - Sample calculations and use cases

Getting Started

This project uses flutter, so a valid installation is needed in order to build it.

For convenience, a containerized build is provided. It is based on podman and podman-compose. See Makefile for details.

Contributing

[Contribution guidelines to be added]