Static Vector with two different units

Luapulu
Thu, 17 Jun 2021 07:35:35 +0000
General Usage

I’m working with DifferentialEquations.jl and I have a state vector in 6-dimensional phase space. I would like to work with units and static vectors but my issue is that the momentum part of the phase space vector has a different unit than the position part. How can I get the functionality of StaticVectors.jl and Unitful.jl when I need two different units in my vector?

2 posts - 1 participant