Nicolas

No worries about deadlines - this looks excellent - thanks!
Will let you know how things go. This gives me lots to work with
Thanks again!

On May 1, 6:30 pm, "Nicolas M. Thiery" <nicolas.thi...@u-psud.fr>
wrote:
>         Dear Ross,
>
> On Mon, Apr 19, 2010 at 06:38:31PM +0930, ross kyprianou wrote:
> > (Im trying to finish this in 2-3 weeks to include some results in a
> > paper but I understand that may not be possible)
>
> Oops, I just noticed this deadline of yours; I hope you will still
> make it! Please find attached a possible refactorisation of your code.
> Here is a short extract of the doc (to be run after loading the code):
>
>     EXAMPLES::
>
>         sage: Alg = SymbolicMatrixAlgebra(QQ)
>
>         sage: A = Alg.matrix("A",3,2)
>         sage: B = Alg.matrix("B",2,3)
>         sage: C = Alg.matrix("C",2,3)
>         sage: D = Alg.matrix("D",3,3)
>
>     Example 1: Adding/Multiplying matrices of correct size::
>
>         sage: A * (B + C)
>         A B + A C
>
>     Example 2: Transposing a sum of matrices::
>
>         sage: (B + C).transpose()
>         C^t + B^t
>
>     Example 3: Transposing a product of matrices::
>
>         sage: (A * B).transpose()
>         B^t A^t
>
>     Example 4: Inverting a product of matrices::
>
>         sage: (A * B)^-1
>         B^-1 A^-1
>
>     Example 5: Multiplying by its inverse::
>
>         sage: D * D^-1 # todo: not implemented
>         I
>
> Enjoy, and let me know how it goes!
>
> Best,
>                                 Nicolas
> --
> Nicolas M. Thiéry "Isil" <nthi...@users.sf.net>http://Nicolas.Thiery.name/
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/sage-devel
> URL:http://www.sagemath.org
>
>  matrix.sage
> 6KViewDownload

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to