Releases: njpipeorgan/MathCompile
Releases · njpipeorgan/MathCompile
v0.2.6
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Initial support for strings and inputs and outputs.
- Tests are also done on macOS with Apple Clang.
- Bugfixes
- Count returns
int64_t
instead ofsize_t
; - Return type inference of integral types now depends on width and signedness.
- Count returns
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
- 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
The first release of MathCompile.