diff options
author | dos-reis <gdr@axiomatics.org> | 2013-05-13 01:01:50 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2013-05-13 01:01:50 +0000 |
commit | e410b4f8bb671c49d0b46add881b028f47e93439 (patch) | |
tree | d9a0597a0be3995920e5d87b1ea90544a24971bd /src/algebra/carten.spad.pamphlet | |
parent | 821a49c72bd7f1f511c0644641af6faffe360906 (diff) | |
download | open-axiom-e410b4f8bb671c49d0b46add881b028f47e93439.tar.gz |
* algebra/carten.spad.pamphlet (CartesianTensor): Use
PrimitiveArray in lieu of 0-based IndexedVector.
Diffstat (limited to 'src/algebra/carten.spad.pamphlet')
-rw-r--r-- | src/algebra/carten.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/carten.spad.pamphlet b/src/algebra/carten.spad.pamphlet index 7cc2fbbb..1f2a5df9 100644 --- a/src/algebra/carten.spad.pamphlet +++ b/src/algebra/carten.spad.pamphlet @@ -238,7 +238,7 @@ CartesianTensor(minix, dim, R): Exports == Implementation where -- Use row-major order: -- x[h,i,j] <-> x[(h-minix)*dim**2+(i-minix)*dim+(j-minix)] - Rep := IndexedVector(R,0) + Rep := PrimitiveArray R n: Integer |