Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 12 years ago

kcrisman gravatar image
sage: isinstance(m1,sage.matrix.matrix.Matrix)
True
sage: m1=matrix([1.])
sage: isinstance(m1,sage.matrix.matrix.Matrix)
True

I agree that this should be easier to figure out.

click to hide/show revision 2
No.2 Revision
sage: m1=matrix([1])
sage: isinstance(m1,sage.matrix.matrix.Matrix)
True
sage: m1=matrix([1.])
sage: isinstance(m1,sage.matrix.matrix.Matrix)
True

I agree that this should be easier to figure out.

click to hide/show revision 3
No.3 Revision

Here we go.

sage: m1=matrix([1])
sage: isinstance(m1,sage.matrix.matrix.Matrix)
True
sage: m1=matrix([1.])
sage: isinstance(m1,sage.matrix.matrix.Matrix)
True

I agree that this should be easier to figure out.