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
> After trying some things, I've noticed that it is possible to coerce a
> flat list into a sparse matrix but not a list of lists.
>
> E.G.
> sage: B = MatrixSpace(ZZ,5,5)
> sage: v = [0 for i in range(25)]
> sage: u = [[0 for i in range(5)] for j in range(5)]
> sage: B(v)
> [0 0 0 0 0]
> [0 0 0 0 0]
> [0 0 0 0 0]
> [0 0 0 0 0]
> [0 0 0 0 0]
>
> sage: B(u) ---> results in the same error as before.
> Is there a conceptual reason that a flat list works, but a list of
That looks like just a mistake on our paper. We should make
it so both cases work.
Component: linear algebra
Issue created by migration from https://trac.sagemath.org/ticket/352
The text was updated successfully, but these errors were encountered: