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
It would be possible to add support for sympy.Array objects? It might be useful in case like:
from sympy import Array
from sympy.abc import x
from sympy2jax import SymbolicModule
a = Array([1,2,3])
e = a * x
j = SymbolicModule(e)
j(x=2)
# Output --> jax.DeviceArray([2, 4, 6], dtype=int64)
Obviously, when there is no the possibility to give an array directly as "subs" to the SymbolicModule.
Thanks you for the answer!
The text was updated successfully, but these errors were encountered:
It would be possible to add support for sympy.Array objects? It might be useful in case like:
Obviously, when there is no the possibility to give an array directly as "subs" to the SymbolicModule.
Thanks you for the answer!
The text was updated successfully, but these errors were encountered: