kmath icon indicating copy to clipboard operation
kmath copied to clipboard

Contributing

Open Wasabi375 opened this issue 6 years ago • 1 comments

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.

Wasabi375 avatar May 01 '18 16:05 Wasabi375

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.

altavir avatar May 01 '18 16:05 altavir