Skip to content

ben-izd/numgrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.