ben-izd / numgrid

Matlab numgrid implementation in Rust for Mathematica

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

numgrid

Matlab numgrid implementation in Rust for Mathematica

Instruction

  1. Download the .dll file from Release Section.
  2. In Mathematica set NumGrid`$libraryPath variable to the path you downloaded .dll file.
  3. Run NumGrid.wl file which define a NumGrid function that include all the interfaces.

NumGrid supports S, L, C, D, A, H and B types (N is not supported). You can use NumGrid as follows:

(* Support lower case *)
NumGrid["a", 5]
  
(* Support upper case *)
NumGrid["A", 5]

(* Only "B" type can run in parallel *)
NumGrid["B", 5, Parallelization -> True]

Non-Windows users

Install Rust and build the project on your OS, then follow from step 2 of instruction.


You can find solutions implemeneting B type in Mathematica, in this Mathematica Stackexchange question.

About

Matlab numgrid implementation in Rust for Mathematica

License:MIT License


Languages

Language:Rust 87.9%Language:Mathematica 12.1%