-----maxima-bounces at math.utexas.edu wrote: -----
>(%i16) solveLS(A,B):=block([M], load("linearalgebra"),
> M : lu_factor(A,generalring),
> lu_backsub(M,B))$
>
>(Q3) any comments to the routine solveLS?
To avoid loading linearalgebra every time solveLS gets called,
try replacing load("linearalgebra") with
if get(linearalgebra,'version) = 'false then load(linearalgebra)
Barton