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

Tracking issue for modernization efforts #106

Closed
10 tasks done
regexident opened this issue Aug 6, 2019 · 0 comments
Closed
10 tasks done

Tracking issue for modernization efforts #106

regexident opened this issue Aug 6, 2019 · 0 comments

Comments

@regexident
Copy link
Collaborator

regexident commented Aug 6, 2019

Hi Matt,

I'd like to contribute a series of improvements to Surge.

Surge is already pretty nice for implementing performant number crunching and machine learning algorithms, but I find myself writing my own Vector<Scalar> types and adding extensions for common Matrix<Scalar> operations over and over again (especially the scalar variants), so I figured I might as well upstream them:


Why Vector<Scalar> if we already have [Scalar]?

Simply using [Float] requires one to use .+ & Co, due to otherwise colliding with array concatenation, etc. Having an explicit Vector<Scalar> type also allows for better auto-completion by keeping all the non-vector-space-related Array/Collection gunk out of it. Or and it also doesn't spill every operator/function into the global namespace of Collection.

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

No branches or pull requests

1 participant