Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 637 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 637 Bytes

DOI

Cpi

Converting Mathematical Equations Like Tensorial Equations to C Programming Language.

Requirements:

  1. Python
  2. 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