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

Integration of LengthFreeStaticMatrices.jl #211

Open
brainandforce opened this issue Dec 14, 2023 · 0 comments
Open

Integration of LengthFreeStaticMatrices.jl #211

brainandforce opened this issue Dec 14, 2023 · 0 comments

Comments

@brainandforce
Copy link
Owner

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.

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