Repository navigation
<dependency>
<groupId>org.ojalgo</groupId>
<artifactId>ojalgo</artifactId>
<version>58.0.0</version>
</dependency>- Java 22 – ojAlgo now requires Java 22 or later, and no longer requires the
jdk.unsupportedmodule. Everything in 57.7.0 is included. - Optional native BLAS – through Java's Foreign Function & Memory API, large enough matrix multiplications, matrix-vector products, triangular solves and vector operations can call a native library: Accelerate on macOS; OpenBLAS, FlexiBLAS, MKL, BLIS or the reference BLAS on Linux; OpenBLAS or MKL on Windows. It is opt-in – used only when the JVM grants ojAlgo native access,
--enable-native-access=ojalgoor--enable-native-access=ALL-UNNAMED. See the README. - Native LAPACK decompositions – the dense
doubleLU,Cholesky,QR,SingularValue,Eigenvalueand the other decompositions call the LAPACK routines for large enough matrices. With Accelerate, the eigenvalue decomposition of a 1000x1000 symmetric matrix is about 10x faster than in pure Java. - Off-heap arrays on FFM –
OffHeapArrayis backed by aMemorySegmentrather thansun.misc.Unsafe: zero-initialised, released by the garbage collector, andAutoCloseable.OffHeapArray.Factory.newMapped(File, long)gives a memory mapped file. - Removed –
BufferArrayand its subclasses (useOffHeapArray), andNativeMemory.
Without native access no native code is used, but granting ALL-UNNAMED native access, for whatever reason, turns it on, and native results can differ from pure Java in the last digits. BufferArray and NativeMemory are removed – see CHANGELOG.md before upgrading.
Full Changelog: v57.7.0...v58.0.0