So, I wanted to implement the gamma function and the binomial functions in KAP.

This would be an interesting mathematical exercise, especially since Kotlin multiplatform doesn't expose the tgamma function from libc, so I'd have to implement everything from scratch.

However... I can't find the strength to do so, because that means I'd have to write testcases for all the different variations, gamma with positive, negative, integer, double, complex arguments, and the the same for the binomial function, for all different permutations.

I started writing a few, but feeling literally sick about doing it. This is just something I don't want to do.

So KAP is still lacking the gamma and binomial functions.

I hate it so much that I'd be happy to pay someone money to write these kinds of testcases for me.

Usually I'm happy that my project doesn't actually have any users, because it allows by to design things the way I want it. But not always. 🙂

Follow

@loke I know that feeling. (Assuming there is no existing code/library out there.) My suggestion is to split the overwhelming boring task into smaller parts, do it in small doses, alternate doing other fun stuff, when doing the boring stuff put on some good music to take you through it. If that fails you can always ditch the whole idea for now, it's your project.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.