On Thu, Aug 20, 2009 at 11:39 AM, Santanu Sarkar<sarkar.santanu....@gmail.com> wrote: > Hi, > How can I find the solution x1,...,z3 in SAGE where > A= [x1,x2,x3, > y1,y2,y3, > z1,z2,z3] is a (3,3) matrix which satisfy AB=C > where B=[1,2 > 3,4, > 5,6] a (3,2) matrix and > C=[0,0, > 1,0, > 0,2] another (3,2) matrix ? >
sage: B = matrix([[1,2],[3,4],[5,6]]) sage: C = matrix([[0,0],[1,0],[0,2]]) sage: A = B.solve_left(C); A [ 0 0 0] [-2 1 0] [ 3 -1 0] sage: A*B == C True -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---