This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: GSL support "left division \ " ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]