|
From: | Quentin Spencer |
Subject: | Re: Using LAPACK in octave |
Date: | Tue, 11 Sep 2007 10:26:51 -0500 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Jean-Baptiste Poullet wrote:
I would like to use LAPACK functions (in particular "sgelsy.f" which Computes the minimum norm least squares solution to an over- or under-determined system of linear equations A X=B, using a complete orthogonal factorization of A) in octave. Do I need to generate a .mex or .oct file from the FORTRAN file "sgelsy.f" or is there any moreefficient alternative way?
I can't say for sure that it uses the specific LAPACK routine you're talking about, but I think the "left divide" operator does what you want: X=A\B;
Quentin
[Prev in Thread] | Current Thread | [Next in Thread] |