kmath
kmath copied to clipboard
Contributing
Hey, you mentioned at the Kotlin forum that you would like some contributing. What exactly is your plan regarding this? What kind of features are you looking for. I think you said something about wanting to wrap commons math linear algebra. I was just playing around a bit with some of this code the last day and started adding a Matrix implementation. Still missing some tests and I guess for the linear algebra stuff we would also need Vectors, which I wanted to add before I create a PR.
I have some code already working with linear algebra wrapping commons math vectors, But maybe it is easier to start from scratch. The commons math is rather heavy dependency, so we would like to start by writing interfaces in a common module and then implementing them in JVM by one or multiple implementations.
We need to think of some design decisions. For starters, do we want for vector to implement NDArray
or just Field
. I think that Field
will be ok, we can use real vectors without additional boxing and then write some extension function to translate it to NDArray
.
Fill free to start experimenting in a separate branch. I've opened #8 for that issue and new project.