SciProgCentre/kmath

Add discrete mathematics features

AzimMuradov opened this issue ยท 2 comments

Please, add discrete mathematics features.

For example combinatorics, like in KotlinDiscreteMathToolkit project:

  • Combinations and permutations
  • Powerset and Cartesian product
  • Divisibility
  • etc.

Chances are, I just didn't know where to find some of these features ๐Ÿ˜…

I also didn't found features related to graph theory.

I think, I've could try to pr later, but I will probably need to get some guidance (like where is the best place to put the code).

We are always happy to see new PRs and members of the community. My group does not work with discrete math, so it is hard for me to understand what is required and how it should be organized. You also need to remember that KMath is mostly an integration library, so it makes sense to add features here if they play well with other features (like algebras). If Marcin's library solves your problem, you should use it.

Saying that we designed some things with discrete numbers in mind. Mostly I am talking about Ring algebra and things based on it. There was also a discussion thread in kotlin slack about using devision for integer numbers.

Thanks for the fast response!

I'll see what I can do (especially considering integration).