diff options
author | dos-reis <gdr@axiomatics.org> | 2011-12-27 10:54:18 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-12-27 10:54:18 +0000 |
commit | 3a8a000fa4fb3f284dac5eeb5aa5f35332f5e811 (patch) | |
tree | 3828486ced10ed1b7a1745229150f9583319e3be | |
parent | 7b679c464516e0c3e3bf7bfba4e8eb3249c3890b (diff) | |
download | open-axiom-3a8a000fa4fb3f284dac5eeb5aa5f35332f5e811.tar.gz |
* algebra/matfuns.spad.pamphlet
(InnerMatrixLinearAlgebraFunctions) [rank]: Tidy.
-rw-r--r-- | src/ChangeLog | 7 | ||||
-rw-r--r-- | src/algebra/matfuns.spad.pamphlet | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5a05ae7f..4eee6517 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,12 @@ +2011-12-27 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * algebra/matfuns.spad.pamphlet + (InnerMatrixLinearAlgebraFunctions) [rank]: Tidy. + 2011-12-24 Gabriel Dos Reis <gdr@cs.tamu.edu> * interp/g-opt.boot (unnestWhen!): Recurse into more control - structures. + structures. 2011-12-24 Gabriel Dos Reis <gdr@cs.tamu.edu> diff --git a/src/algebra/matfuns.spad.pamphlet b/src/algebra/matfuns.spad.pamphlet index cf739082..2f42249c 100644 --- a/src/algebra/matfuns.spad.pamphlet +++ b/src/algebra/matfuns.spad.pamphlet @@ -108,8 +108,10 @@ InnerMatrixLinearAlgebraFunctions(R,Row,Col,M):_ x rank x == + rk := nrows x y := - (rk := nrows x) > (rh := ncols x) => + rh := ncols x + rk > rh => rk := rh transpose x copy x |