File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,16 @@ AbstractQuantity
17
17
Note also that the ` Quantity ` object can take a custom ` AbstractDimensions `
18
18
as input, so there is often no need to subtype ` AbstractQuantity ` separately.
19
19
20
+ ## Symbolic dimensions
21
+
20
22
Another type which subtypes ` AbstractDimensions ` is ` SymbolicDimensions ` :
21
23
22
24
``` @docs
23
25
SymbolicDimensions
24
26
```
27
+
28
+ ## Arrays
29
+
30
+ ``` @docs
31
+ QuantityArray
32
+ ```
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ import Compat: allequal
5
5
6
6
An array of quantities with value `value` of type `V` and dimensions `dimensions` of type `D`
7
7
(which are shared across all elements of the array). This is a subtype of `AbstractArray{Q,N}`,
8
- and so can be used in most places where a normal array would be used.
8
+ and so can be used in most places where a normal array would be used, including broadcasting operations .
9
9
10
10
# Fields
11
11
12
- - `value`: The underlying array of values.
13
- - `dimensions`: The dimensions of the array.
12
+ - `value`: The underlying array of values. Access with `ustrip(a)`.
13
+ - `dimensions`: The dimensions of the array. Access with `dimension(a)`.
14
14
15
15
# Constructors
16
16
You can’t perform that action at this time.
0 commit comments