DynamicQuantities.jl
DynamicQuantities.jl copied to clipboard
Efficient and type-stable physical quantities in Julia
I understand this goes against the main point of this package, but it turned out to be extremely easy to stick in a `StaticDimensions` interface. The trick is to store...
So far `QuantityArray` shows this kind of output >julia> ar = QuantityArray(rand(3), u"m/s") 3-element QuantityArray(::Vector{Float64}, ::Quantity{Float64, Dimensions{DynamicQuantities.FixedRational{Int32, 25200}}}): 0.2729202669351497 m s⁻¹ 0.992546340360901 m s⁻¹ 0.16863543422972482 m s⁻¹ So obviously it...
Not sure what this error is from... @mikeingold any idea? ```julia julia> using DynamicQuantities, Meshes julia> v = Meshes.Vec(1.0u"m/s", 2.0u"m/s", 3.0u"m/s") ERROR: StackOverflowError: ``` This worked fine like a couple...
Hi, thanks for the package, nice to have an alternative approach to the Unitful type-based one. Is there a way in this package to convert back and fourth between Quantities...
I've been testing out **DynamicQuantities** as a replacement for **Unitful** in some of my packages and I discovered that it currently doesn't work with **QuadGK**'s integral solver like **Unitful** does....
It seems like a reason DynamicQuantities.jl is incompatible with many libraries right now is due to their usage of `zero(::Type{T})`, which works for Unitful but not for DynamicQuantities.jl. Therefore I...
Attempt 2 at #30. cc @gaurav-arya - let me know what you think. This should fixes #65. The following behavior occurs: | Input | Resulting Numeric Type | | ---...
Logo
Played around with Luxor yesterday, thought this package is still missing some kind of logo. Here's one idea, something like a "decoder ring". I thought about one being able to...
@gaurav-arya this is an attempt to get DifferentialEquations.jl working. @ChrisRackauckas got part of the way on this issue: https://github.com/SciML/DifferentialEquations.jl/issues/993#issuecomment-1785034821