You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are times when we would like to know the result of broadcasting a BlockArray against another BlockArray. Note that the docs should already define how this broadcasting will work.
Ideally, we could do this by implementing snp.broadcast_shapes so that it works correctly with nested shapes. What makes this hard is that scico.numpy (1) has some complex metaprogramming and (2) circular import problems that stop you from accessing utils.is_nested.
There are times when we would like to know the result of broadcasting a
BlockArray
against anotherBlockArray
. Note that the docs should already define how this broadcasting will work.Currently, we do this with
scico/scico/linop/_linop.py
Line 196 in 5ae48c4
Ideally, we could do this by implementing
snp.broadcast_shapes
so that it works correctly with nested shapes. What makes this hard is thatscico.numpy
(1) has some complex metaprogramming and (2) circular import problems that stop you from accessingutils.is_nested
.For more context, see #144.
The text was updated successfully, but these errors were encountered: