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
Solving sol = nonlinsolve([(sin(a*x)),cos(a*x)],[x,a])
gives ConditionSet((x, a), {sin(a*x), cos(a*x)}, Complexes(Reals x Reals, False))
calling latex(sol)
outputs AttributeError: 'FiniteSet' object has no attribute 'as_expr'
with both versions 1.3 and 1.4.dev
The text was updated successfully, but these errors were encountered:
Looking back at this, the set of equations should have no solutions. Albeit, I guess it should still be able to print. pprint gives {(x, a) | (x, a) in S.Complexes and {sin(a*x), cos(a*x)}}
so should latex give something along the lines of \left\{\left(x, a\right) \mid \left(x, a\right) \in \mathbb{C} \wedge \left\{\sin{\left (a x \right )}, \cos{\left (a x \right )}\right\} \right\}?
\left\{\left( x, \ a\right) \mid \left( x, \ a\right) \in \mathbb{C} \wedge \left\{\sin{\left(a x \right)}, \cos{\left(a x \right)}\right\} \right\} so I realize that it is exactly the same as you requested. In a PR soon near you.
Solving
sol = nonlinsolve([(sin(a*x)),cos(a*x)],[x,a])
gives
ConditionSet((x, a), {sin(a*x), cos(a*x)}, Complexes(Reals x Reals, False))
calling
latex(sol)
outputs
AttributeError: 'FiniteSet' object has no attribute 'as_expr'
with both versions 1.3 and 1.4.dev
The text was updated successfully, but these errors were encountered: