We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c643ea6 commit 72d19ebCopy full SHA for 72d19eb
src/arrays.jl
@@ -15,7 +15,7 @@ and so can be used in most places where a normal array would be used, including
15
# Constructors
16
17
- `QuantityArray(v::AbstractArray, d::AbstractDimensions)`: Create a `QuantityArray` with value `v` and dimensions `d`,
18
- using `Quantity` if it is numeric, and `GenericQuantity` otherwise.
+ using `Quantity` if the eltype of `v` is numeric, and `GenericQuantity` otherwise.
19
- `QuantityArray(v::AbstractArray{<:Number}, q::AbstractQuantity)`: Create a `QuantityArray` with value `v` and dimensions inferred
20
with `dimension(q)`. This is so that you can easily create an array with the units module, like so:
21
```julia
0 commit comments