kmath
kmath copied to clipboard
JDK Vector API based linear algebra implementation
Really looking forward to this one.
By the way, according to the Viktor developers' data, automatic vectorization is OK in JVM, so manual Vector arithmetic doesn't give any benefits. https://github.com/JetBrains-Research/viktor/issues/47
The difference is that Vector API guarantees vectorization while regular loop will depend on JVM implementation. This issue priority is not very high, but it is good for external contributors.
Another difference is that the loop vectorization is available since at least JDK 1.8, while Vector API starts with JDK 16. (This might or might not be a problem.)