Skip to content

Integration of LengthFreeStaticMatrices.jl #211

Description

@brainandforce

Many data structures in this package contain a small matrix, often stored as an SMatrix{D,D,T,L}, but having to carry around the L type parameter is annoying/leaks implementation details. I've worked around this by storing things as an NTuple{D,NTuple{D,T}} or something similar internally, but this happens often enough that a general solution is warranted.

I created a new package, LengthFreeStaticMatrices.jl, which exports the LSMatrix{M,N,T} and SquareLSMatrix{D,T} types which omit the length type parameter and should have generally similar performance to SMatrix.

As of writing, this package is not in the Julia package registry, but once it is, I plan to incorporate it into Electrum.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions