Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A library like Numpy #14

Open
johnjansen opened this issue May 15, 2017 · 9 comments
Open

A library like Numpy #14

johnjansen opened this issue May 15, 2017 · 9 comments
Labels

Comments

@johnjansen
Copy link
Contributor

http://www.numpy.org

@Neltherion
Copy link

Something like Numpy can considerably widen Crystal's reach and invite scientific communities to the language... It'd be really good if we could use Ruby's syntax while crunching numbers...

@drum445
Copy link

drum445 commented Sep 21, 2018

Won't claim it's anywhere near numpy, but I have ported some financial calculations to crystal
https://github.com/drum445/financials

@christopherzimmerman
Copy link

christopherzimmerman commented Nov 21, 2019

I have a good start on a library inspired by numpy, it's called bottle. I am still looking for contributors, it's just me currently, but I have an N-Dimensional container implemented, and very powerful numpy features like strided views and broadcasting.

@christopherzimmerman
Copy link

christopherzimmerman commented Nov 22, 2019

@drum445 I went through and took your financial work and added them all as vectorized methods to my library, they worked great! You basically have all of numpys financial methods, so its good to have them. I gave you a shoutout at the top of file, but if you want a link or something to your library just let me know.

If you ever want to add more financial functions I'd also love the PRs!

@jkthorne
Copy link

@christopherzimmerman I found bottle looking through crystal libs and have been following it. I dont have a use for it yet but it looks super promising.

@aaferrari
Copy link

Another option could be Crystalla but there have been no new commits for three years.

@franciscoGPS
Copy link

Here's another called Num.cr
Haven't used it myself but seems to do the job.

@watzon
Copy link

watzon commented Mar 20, 2020

@franciscoGPS Num is actually bottle, it's just been renamed

@jkthorne
Copy link

crystal-data/num.cr#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants