On Apr 21, 11:06 pm, David Joyner <[email protected]> wrote:
> On Sun, Apr 19, 2009 at 12:42 PM, [email protected] <[email protected]> wrote:
>
> > Hell, I think that my question is related to
> >http://groups.google.cz/group/sage-support/browse_thread/thread/7cb33...
>
> > 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]])"?
>

Yes exactly this, but I would like to see (or perhaps show to my
students students)
not a number -10 as a result of   " 1*det(matrix([[2,3],[2,0]])) -
0*det(matrix([[1,3],[3,0]])) + 1*det(matrix([[1,2],[3,2]])) " command
something like (if I use TeX notation)

1 \begin{vmatrix} 2 & 3 \\ 2 & 0 \end{vmatrix} - 0*......


Robert



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

Reply via email to