Closed cbm755 closed 1 year ago
MWE, from test @sym/and:
test @sym/and
syms x e = (x == 3) & (x^2 == 9); subs(e, x, [-3 0 3]) sympy(ans) ans = MutableDenseMatrix([[false, false, true]])
Here e is a scalar but subs "broadcasts" to the size of [-3 0 3].
e
subs
[-3 0 3]
I guess the implementation needs to do a list-of-lists thing and then call make_matrix_or_array.
make_matrix_or_array
Blocks #1124.
Fixed by https://github.com/cbm755/octsympy/pull/1227
MWE, from
test @sym/and
:Here
e
is a scalar butsubs
"broadcasts" to the size of[-3 0 3]
.I guess the implementation needs to do a list-of-lists thing and then call
make_matrix_or_array
.Blocks #1124.