Skip to content

Tracking issue for modernization efforts #106

@regexident

Description

@regexident

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions