[GiNaC-list] matrix::solve(): how to use?

Richard B. Kreckel kreckel at ginac.de
Tue Jul 12 22:24:00 CEST 2005

On Tue, 28 Jun 2005 mdias at ift.unesp.br wrote:
> I am tryng to solve a linear system with lsove(), with many variables
> being zero, so lsolve() tell that is indeterminate, but some of these
> entries are of interest.
> So, I am looking for matrix::solve and construct a matrix to solve this.
> Somebody have a piece of code how to make a linear system a matrix to
> matrix::solve ?

Please have a close look at the code in check/exam_lsolve.cpp and
check/check_lsolve.cpp.  It contains several regression tests for lsolve
including over- and underdetermined linear systems.

Richard B. Kreckel

More information about the GiNaC-list mailing list