How to get a linsolve solution in matrix form?

linsolve returns a FiniteSet. The conversion doesn’t happen automatically here, but you can get julia objects through collect(convert(Set,s)).

1 Like