Programmer Guide/Command Reference/EVAL/rleqs: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 21: Line 21:




;See also: [[Programmer_Guide/Command_Reference/EVAL/rpoly|rpoly]], [[Programmer_Guide/Command_Reference/EVAL/interp|interp]], [[Programmer_Guide/Command_Reference/EVAL/rleqs|rleqs, cleqs]]
;See also: [[Programmer_Guide/Command_Reference/EVAL/rpolyreg|rpolyreg]]


[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]]
[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]]

Revision as of 16:57, 12 April 2011

These functions implements an interface for the LAPACK functions DGESV, ZGESV, DGELS and ZGELS.

Usage
rleqs(A, B {, alg}):
A
left side MxN matrix x
B
right side vector or MxL matrix (for multiple solutions)
alg
select a LAPACK algorithm to be used
alg=0 ... use DGESV if M=N and DGELS otherwise
alg=1 ... use always DGESV, M must be equal to N
alg=2 ... use always DGELS
Description
...
Result
...


Notes
  • The function cleqs(A, B {, alg}) has the same arguments and result as rleqs, but the vectors/matrices A, B and X are complex.
  • rleqs calls the LAPACK functions DGESV and DGELS, while cleqs calls ZGESV and ZGELS


See also
rpolyreg

<function list>

Navigation menu

Personal tools