Skip to content

v0.3.0

Choose a tag to compare

@amkrajewski amkrajewski released this 09 Jan 15:34
· 357 commits to main since this release

Major Changes:

  • Implemented Python interface for all existing functions allowing one to use nimplex as a native Python binary. Simply:

    1. Start by compiling it on your machine

      nim c --app:lib --out:nimplex.so --d:release --threads:on --passC:-flto --passc:-ffast-math --passL:-flto nimplex
      
    2. Then, copy the nimplex.so to your Python's code working directory and import just like another Python package

      import nimplex
      
    3. And you are ready! All function names follow *_py pattern relative to the nim ones, e.g.,

      nimplex.simplex_grid_fractional_py(dimension, num_points)
      

Full Changelog: v0.2.1...v0.3.0