type(X[0,0]) =  <class 'sympy.matrices.expressions.matexpr.MatrixElement'>


On Sunday, May 20, 2018 at 12:20:46 AM UTC+5:30, Ravi wrote:
>
> What's the type of the element initialized as a matrix expression. 
>
> For example 
>
> X = MatrixSymbol('X', 3, 3)
>
> >>> Matrix(X)
> Matrix([
> [X[0, 0], X[0, 1], X[0, 2]],
> [X[1, 0], X[1, 1], X[1, 2]],
> [X[2, 0], X[2, 1], X[2, 2]]])
>
>
> type(X[0,0]) = ? 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/20a3ba06-c05f-4aa5-b700-d182b87724ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to