Dear all,
Here's a partition function written in bell. I have not much merit in it. My contribution is that I ported an example from geeksforgeeks (yes, I'm a young padawan) to bell.
I did this because we do still need a partition function in bell. This one will be part of my global function file which I will share as soon as I think it has the merit to be shared. Attention: the number of partitions per integer grows exponentially.
It's also a good example to learn about bell. I also attached the python example so if you're coming from python you can compare it to bell.
Best,
Micha Seidenberg
Partition function for bell (Bach.eval) | python example ported to bell
Partition function for bell (Bach.eval) | python example ported to bell
- Attachments
-
- integer_partition_public.zip
- Source(python), Bellscript, Tryout-Maxpatch with embed code
- (182.62 KiB) Downloaded 936 times