File tree Expand file tree Collapse file tree 3 files changed +51
-2
lines changed Expand file tree Collapse file tree 3 files changed +51
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ makedocs(;
41
41
" Home" => " index.md" ,
42
42
" Utilities" => " api.md" ,
43
43
" Units" => " units.md" ,
44
+ " Constants" => " constants.md" ,
44
45
" Types" => " types.md" ,
45
46
]
46
47
)
Original file line number Diff line number Diff line change
1
+
2
+ # Units
3
+
4
+ Many common physical constants are available as well:
5
+
6
+ ``` @docs
7
+ Constants.c
8
+ Constants.h
9
+ Constants.hbar
10
+ Constants.e
11
+ Constants.k_B
12
+ Constants.N_A
13
+ Constants.eV
14
+ Constants.R
15
+ Constants.F
16
+ Constants.sigma_sb
17
+ Constants.alpha
18
+ Constants.u
19
+ Constants.G
20
+ Constants.mu_0
21
+ Constants.eps_0
22
+ Constants.m_e
23
+ Constants.m_p
24
+ Constants.m_n
25
+ Constants.a_0
26
+ Constants.k_e
27
+ Constants.Ryd
28
+ ```
29
+
30
+ ## Astronomical constants
31
+
32
+ ``` @docs
33
+ Constants.M_earth
34
+ Constants.M_sun
35
+ Constants.M_jup
36
+ Constants.R_earth
37
+ Constants.R_jup
38
+ Constants.R_sun
39
+ Constants.L_sun
40
+ Constants.L_bol0
41
+ Constants.sigma_T
42
+ Constants.au
43
+ Constants.pc
44
+ Constants.ly
45
+ Constants.atm
46
+ ```
Original file line number Diff line number Diff line change @@ -16,14 +16,16 @@ in a namespace with all the units available.
16
16
17
17
``` @docs
18
18
Units.m
19
- Units.g
19
+ Units.kg
20
20
Units.s
21
21
Units.A
22
22
Units.K
23
23
Units.cd
24
24
Units.mol
25
25
```
26
26
27
+ ### Derived units
28
+
27
29
Several derived SI units are available as well:
28
30
29
31
``` @docs
@@ -39,4 +41,4 @@ Units.Ω
39
41
Units.T
40
42
Units.L
41
43
Units.bar
42
- ```
44
+ ```
You can’t perform that action at this time.
0 commit comments