This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: FW: GSL support "left division \ " ?
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: "Peng-Sheng Chen" <pschen at pllab dot cs dot nthu dot edu dot tw>
- Cc: <gsl-discuss at sources dot redhat dot com>
- Date: Tue, 7 May 2002 22:23:16 +0100 (BST)
- Subject: Re: FW: GSL support "left division \ " ?
- References: <004701c1f4ce$05d7beb0$0200a8c0@smallturtle>
Peng-Sheng Chen writes:
> Hello: There is an equation: Ax = B. A is m-by-n matrix.
> x is n vector. B is m vector. The condition is m >= n,
> that is we have equations more than unknown variable. In
> matlab, it support a operator “left divide \ ” to manipulate
> the equations. In GSL, how to compute x ? (multidimention
> root-finding?) Thanks very much.
For overdetermined systems you can find the least-squares solution
using gsl_linalg_QR_lssolve or gsl_linalg_SV_solve, described in the
"Linear Algebra" chapter of the manual.
regards
Brian Gough