diff options
author | dos-reis <gdr@axiomatics.org> | 2011-12-27 14:23:54 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-12-27 14:23:54 +0000 |
commit | 2181cb4813bbe491a56d32218da2d56508bfccfe (patch) | |
tree | 8234273dd00c682a669072e74bb3a519941b879b /src/algebra/matfuns.spad.pamphlet | |
parent | 3a8a000fa4fb3f284dac5eeb5aa5f35332f5e811 (diff) | |
download | open-axiom-2181cb4813bbe491a56d32218da2d56508bfccfe.tar.gz |
* interp/g-opt.boot (changeVariableDefinitionToStore): Tidy.
Remove handling of IF forms as no longer relevant.
* algebra/matfuns.spad.pamphlet
(MatrixLinearAlgebraFunctions) [rank]: Tidy.
Diffstat (limited to 'src/algebra/matfuns.spad.pamphlet')
-rw-r--r-- | src/algebra/matfuns.spad.pamphlet | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/algebra/matfuns.spad.pamphlet b/src/algebra/matfuns.spad.pamphlet index 2f42249c..1fdf3cc9 100644 --- a/src/algebra/matfuns.spad.pamphlet +++ b/src/algebra/matfuns.spad.pamphlet @@ -676,8 +676,10 @@ MatrixLinearAlgebraFunctions(R,Row,Col,M):Exports == Implementation where fm(maxRowIndex fm,maxColIndex fm) rank x == + rk := nrows x y := - (rk := nrows x) > (rh := ncols x) => + rh := ncols x + rk > rh => rk := rh transpose x copy x |