Skip to content

Releases: njpipeorgan/MathCompile

v0.2.6

14 Feb 18:02
Compare
Choose a tag to compare
v0.2.6 Pre-release
Pre-release
  • Fix the bug that TargetDirectory cannot be created.

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.2.6/MathCompile-0.2.6.paclet"]

v0.2.5

17 Jun 21:00
Compare
Choose a tag to compare
v0.2.5 Pre-release
Pre-release
  • Support Mathematica v11.3.
  • Ignore argument type specifications of non-main functions.

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.2.5/MathCompile-0.2.5.paclet"]

v0.2.4

13 Apr 23:44
Compare
Choose a tag to compare
v0.2.4 Pre-release
Pre-release
  • New functions:
    • Quantile
    • RankedMin, RankedMax
    • SpearmanRho
    • Rescale
    • TakeSmallest, TakeLargest
    • Complement, Intersection
  • Bugfixes
    • LibraryDirectory is automatically created if it does not exist.

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.2.4/MathCompile-0.2.4.paclet"]

v0.2.3

27 Mar 02:02
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release
  • Eigen is integrated into MathCompile to support linear algebra functions.
  • Multiple assignment is supported now; {x, y} = {y, x} can be used to swap two values.
  • New functions:
    • 14 functions related to array math: Covariance, Accumulate, GeometricMean, etc.
    • 11 functions related to linear algebra: LinearSolve, Inverse, LUDecomposition, etc.

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.2.3/MathCompile-0.2.3.paclet"]

Known bugs

  • Error MCLink::libdir on the initial compilation. Temporary fix: CreateDirectory["TargetDirectory"/.Options[CCompilerDriver`CreateLibrary]]

v0.2.2

23 Feb 20:48
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release
  • Support calling Wolfram Kernel from compiled functions using Extern.
  • Support inlined C++ code using CXX.
  • New functions:
    • Outer
    • ReplacePart
  • When passing arrays to compiled functions, they are passed as array views instead of being copied.
  • Bugfixes:
    • Mean behaves correctly now when taking array views.
    • Compiled functions with indirect returns can be unloaded.
    • Compiles on Win32.

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.2.2/MathCompile-0.2.2.paclet"]

v0.2.1

13 Feb 20:53
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
  • Support text and binary input/output
  • New functions:
    • OpenRead, OpenWrite, ...
    • Read, ReadString, BinaryRead, ...
    • Write, WriteString, BinaryWrite, ...
    • Import/Export (Table, TSV, CSV)

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.2.1/MathCompile-0.2.1.paclet"]

v0.2.0

02 Feb 20:55
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Strings are compilable now!

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.2.0/MathCompile-0.2.0.paclet"]

v0.1.2

21 Jan 00:55
Compare
Choose a tag to compare
v0.1.2 Pre-release
Pre-release
  • Initial support for strings and inputs and outputs.
  • Tests are also done on macOS with Apple Clang.
  • Bugfixes
    • Count returns int64_t instead of size_t;
    • Return type inference of integral types now depends on width and signedness.

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.1.2/MathCompile-0.1.2.paclet"]

v0.1.1

02 Jan 19:39
38f6687
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release
  • Use paclet for easier installation
  • Add two functions: Factorial, Factorial2

To install, launch Mathematica and execute the following command

PacletInstall["https://github.com/njpipeorgan/MathCompile/releases/download/v0.1.1/MathCompile-0.1.1.paclet"]

v0.1.0

30 Dec 23:14
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

The first release of MathCompile.