Converting Mathematical Equations Like Tensorial Equations to C Programming Language.
Requirements:
- Python
- SymPy library with version >= 1.5
Download:
$ git clone https://github.com/rashti-alireza/Cpi.git
Usage:
$ python Cpi.py inputfile
Examples:
For a quick example invoke the following:
$ python Cpi.py quick.example
For a complete example, please read tutorial.math
file.
Then, to convert the equations in tutorial.math
to C code,
issue the following command:
$ python Cpi.py tutorial.math