On Tue, Feb 5, 2013 at 4:32 PM, Leonard P <leonard14...@gmail.com> wrote:

> Anyone know off-hand of an idiomatic way to do the Laplace expansion of an
> nxn matrix?
>

In the spirit of Java, I would create a matrix class that is backed by a
single mutable vector.  Rows, columns, and individual elements can be
obtained through accessor methods.  Operations on the matrix are also
methods.  Also, defining a matrix as its own class would allow the
coefficient of a matrix to be stored along with its instance.  This might
be useful in calculating the determinant.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to