Commit 4f4144c
committed
Simplify the ONB class
The `onb` class implemented several unused methods, so I've removed them
in the interest of simplicity. These include the operator[] methods to
retrieve the basis axes, as well as a transform function that took three
individual double values. Finally, instead of having an uninitialized
form with a `build_from_w()` function, the class now requires a vector
at construction time, consistent with our use of the class.
I've renamed `local()` to `transform()` for a bit more clarity, without
trying to name either the input space or the result space, as "local"
means different things at different times, and to different people.
Resolves #10881 parent b98d19a commit 4f4144c
File tree
5 files changed
+34
-59
lines changed- books
- src/TheRestOfYourLife
5 files changed
+34
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2257 | 2257 | | |
2258 | 2258 | | |
2259 | 2259 | | |
2260 | | - | |
2261 | | - | |
2262 | | - | |
2263 | | - | |
2264 | | - | |
2265 | | - | |
2266 | | - | |
2267 | | - | |
2268 | | - | |
2269 | | - | |
2270 | | - | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
2271 | 2265 | | |
2272 | 2266 | | |
2273 | | - | |
2274 | | - | |
2275 | | - | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
2276 | 2270 | | |
2277 | | - | |
2278 | | - | |
2279 | | - | |
2280 | | - | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
2284 | | - | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
2285 | 2274 | | |
2286 | 2275 | | |
2287 | 2276 | | |
| |||
2332 | 2321 | | |
2333 | 2322 | | |
2334 | 2323 | | |
2335 | | - | |
2336 | | - | |
2337 | | - | |
| 2324 | + | |
| 2325 | + | |
2338 | 2326 | | |
2339 | 2327 | | |
2340 | 2328 | | |
| |||
2428 | 2416 | | |
2429 | 2417 | | |
2430 | 2418 | | |
2431 | | - | |
| 2419 | + | |
2432 | 2420 | | |
2433 | 2421 | | |
2434 | 2422 | | |
| |||
2769 | 2757 | | |
2770 | 2758 | | |
2771 | 2759 | | |
2772 | | - | |
| 2760 | + | |
2773 | 2761 | | |
2774 | 2762 | | |
2775 | 2763 | | |
2776 | 2764 | | |
2777 | 2765 | | |
2778 | 2766 | | |
2779 | 2767 | | |
2780 | | - | |
| 2768 | + | |
2781 | 2769 | | |
2782 | 2770 | | |
2783 | 2771 | | |
| |||
3756 | 3744 | | |
3757 | 3745 | | |
3758 | 3746 | | |
3759 | | - | |
3760 | | - | |
3761 | | - | |
| 3747 | + | |
| 3748 | + | |
3762 | 3749 | | |
3763 | 3750 | | |
3764 | 3751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
30 | 24 | | |
31 | 25 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
35 | 29 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
44 | 33 | | |
45 | 34 | | |
46 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 90 | + | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
0 commit comments