On Sun, Apr 19, 2009 at 12:42 PM, ma...@mendelu.cz <ma...@mendelu.cz> wrote:
>
> Hell, I think that my question is related to
> http://groups.google.cz/group/sage-support/browse_thread/thread/7cb33271dff797eb/878d6363dfad0d3f
>
> How can I write a function which takes determinant of matrix A below
> and perfoms Laplace expansion along the last row, and shows the output
> without evaluating 2x2 subdeterminants
>
> A=matrix([[1,2,3],[3,2,0],[1,0,1]])
> A

Should the output be the string

"1*det(matrix([[2,3],[2,0]]) - 0*det(matrix([[1,3],[3,0]])) +
1*det(matrix([[1,2],[3,2]])"?

If so, Python has many string manipulation functions you can use
but I'm not sure what you are asking.


>
> Is this possible in Sage? (I think than in maxima it is sufficient to
> put ' before each determinant call)
>
> Many thanks
> Robert
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to