Hi,
I just wrote an wrapper for GSL - GNU Scientific Library (all modules).
https://github.com/YesDrX/gsl-nim
Always to see more scientific package for Nim.
As someone unfamiliar with gsl, could you provide a rundown of what it can do ?
Very nice job! I see that you wrapped with c2nim, how smooth was the process? did you have to do many manual adjsutments?
@Clonk: gsl has a very wide coverage of topics, basicallly it covers all classical functional areas of a scientific library. Only caveat is that it is GPL-licensed. List taken from GSL website linked above:
c2nim is powerful and mostly fine; there are some scenarios that i need python (tree sitter) to help.
some functions are defined in both upper case form and lower case form, like gsl_sf_bessel_j0 and gsl_sf_bessel_J0 they will be considered redefinitions in nim
some typedef are prefixed with underscores, after removing the underscores, there will be redefinitons as well
there might be some circular defined struct
in all, this wrapper took me about a few hours; in the end, no manual adjustment is needed, but there are some hardcoding.