Commit c724cb1
committed
Rework dataclass array container arithmetic
- Deprecate automatic broadcasting of array context arrays
- Introduce Bcast as an object to represent broadcast rules
- Warn about uses of numpy array broadcasting, deprecated earlier
- Clarify documentation, warning wording1 parent 046e57a commit c724cb1
File tree
4 files changed
+451
-61
lines changed- arraycontext
- container
- test
4 files changed
+451
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
106 | 120 | | |
107 | 121 | | |
108 | 122 | | |
| |||
151 | 165 | | |
152 | 166 | | |
153 | 167 | | |
154 | | - | |
155 | 168 | | |
156 | 169 | | |
157 | 170 | | |
| |||
0 commit comments