koma
koma copied to clipboard
A scientific computing library for Kotlin. https://kyonifer.github.io/koma
Say I have a 4x4 matrix called `x`: ```kotlin val x = zeros(4, 4) ``` If I try to populate a column with a vector oriented the wrong way, I...
Now that uint will be a builtin kotlin feature, we should deprecate our uint support entirely. In addition, inline classes leave us an avenue to support complex matrices without boxing,...
Now that inline classes look slated for kotlin mainline (experimental in 1.3-M2), it would be very useful to implement `Matrix` with inline classes to eliminate any overhead using koma might...
For the js side, we may end up needing two backends: one for node (which calls out to optimized blas, see e.g. Vectorious) and one for everything else (browser, etc)....
Currently koma only tests itself on the jvm. It needs to instead switch to kotlin-test and test on all 3 backends, as well as extend test coverage.
The current `DefaultXXMatrix` implementations currently have a lot of unimplemented methods. On some platforms (e.g. js-in-browser) finding an apache license compatible lib that has the full set of functionality can...
You can set columns (and I'd guess rows, I haven't checked) with an arbitrary Matrix that has fewer than the expected number of elements in the dimension to be set,...
In #43 equality was changed to be elementwise. This currently causes matrix validation to break in some cases. For example: ```kotlin val x = zeros(3,2) val y = zeros(3,2) validate...