Skip to content

Use dynamic code generation #2

@rreusser

Description

@rreusser

This should use dynamic code generation so that it can be made to work with generic ndarrays without resorting to writing everything twice or using getters/setters always.

E.g.:
https://github.com/scijs/ndarray-matrix-vector-multiply/blob/master/mvp.js
https://github.com/scijs/splines/blob/master/splines.js

I wish there were a more readable way to write or template this dynamically generated code. Any thoughts/reflections, @mikolalysenko? @jaspervdg?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions