# Revision history [back]

### Testing if an object is a mtrix

Somme time ago, to test if A is a Matrix, I just did:

from sage.matrix.matrix import is_Matrix if is_Matrix(A):.....

But this is now depreciated. What should I do in place ? t.d.

 2 None slelievre 16999 ●21 ●151 ●335 http://carva.org/samue...

### Testing if an object is a mtrix

Somme time ago, to test if A is a Matrix, I just did:

from sage.matrix.matrix import is_Matrix if is_Matrix(A):.....

But this is now depreciated. What should I do in place ? t.d.

 3 None slelievre 16999 ●21 ●151 ●335 http://carva.org/samue...

### Testing if an object is a mtrixmatrix

Somme Some time ago, to test if A A is a Matrix, matrix, I just did:used:

from sage.matrix.matrix import is_Matrix
if is_Matrix(A):.....is_Matrix(A):
...


But this is now depreciated. deprecated. What should I do in place ? t.d.use instead?