matsolvels(1)                                                    matsolvels(1)



NAME
       matsolvels - linear system solver

SYNOPSIS
       matsolvels < inputmatrices > outputmatrix

DESCRIPTION
       matsolvels  solves  an overdetermined or underdetermined A X = B linear
       system.

       This program reads two matrices (A and  B)  from  STDIN  and  prints  a
       result matrix (X) to STDOUT in sla(1) format.

       If  Rows(A)  >= Cols(A) then it finds the least squares solution, i.e.,
       minimizes || A x - b || for each x column of X.

       If Rows(A) < Cols(A) then it finds the  minimum  norm  solution,  i.e.,
       minimizes || x || for each x column of X.

AUTHOR
       Mate  Nagy  (mnagy  (at)  port70.net),  Szabolcs  Nagy  (nszabolcs (at)
       gmail.com)

HOME PAGE
       http://repo.hu/projects/sla

SEE ALSO
       sla(1), dgels(3)



sla                               2009-12-23                     matsolvels(1)