symbolic matrix computations

42 views
Skip to first unread message

Gideon Simpson

unread,
Feb 20, 2017, 1:58:59 PM2/20/17
to sympy
I'm trying to do the following:
1.  Construct a (small) matrix with a symbolic entry
2.  Compute it's eigenvalues/eigenvectors in terms of the symbolic value
3.  Evaluate the computed eigenvalues/eigenvectors at a particular numerical value

I have no trouble doing task 1 and 2, suing the Matrix structure, but I am totally stuck on task 3.

Michele Zaffalon

unread,
Feb 20, 2017, 2:04:00 PM2/20/17
to sy...@googlegroups.com
You could call nullspace on the matrix A-lambda.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to sy...@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/552d8234-d5d4-4616-89a0-303320bf1978%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michele Zaffalon

unread,
Feb 20, 2017, 2:07:17 PM2/20/17
to sy...@googlegroups.com
Sorry, I have misread.
Does subs(ex, [(x, x_val), (y, y_val)]) not work? x is the symbol and x_val is its numerical value.
Reply all
Reply to author
Forward
0 new messages