koma
koma copied to clipboard
A scientific computing library for Kotlin. https://kyonifer.github.io/koma
I spent hours tracking down this bug, because the code compiled and looked fine to me: val m1 = mat[0.5] m1[0] -= 1 println(m1[0]) // 0.0 WRONG! When I replaced...
The snippet ```kotlin figure(1) // Second parameter is color plot(a, 'b', "First Run") plot(a+1, 'y', "First Run Offset") xlabel("Time (s)") ylabel("Magnitude") title("White Noise") figure(2) plot(b, 'g') // green xlabel("Velocity (lightweeks/minute)")...
Hello! I need to do some efficient number crunching and was looking into Koma. However, I have need to take the element-wise exponent and logarithm of arrays, which does not...
I would like to ask what motivated your choice to cover both vectors and matrices by the unified Matrix interface. Are there some underlying technical difficulties? Did you consider adding...
Hi, I'm getting these warnings\error when trying to use koma in a java project. Warning:java: unknown enum constant kotlin.annotation.AnnotationRetention.BINARY reason: class file for kotlin.annotation.AnnotationRetention not found Warning:java: unknown enum constant...
Carryover issue from discussion in #83. Swapping dimension ordering is a useful operation outside of just matrices, and should probably have support in N-dimensional cases.
First brought up in #83. Having `a[55]` magically be a row-major wrapped index for Matrices (which otherwise require a 2D indexer) may be too magical, in light of the same...
Right now, all threads share the same global seed. This makes it difficult to reproduce results in multi-threaded code. If two threads are both grabbing random values at the same...
For normal distribution RNG.
It would be useful to implement some tests to check the rigor of our Gaussian and floating point random number streams, since the underlying PCG implementation we are based on...