diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:47:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:47:37 +0000 |
commit | 00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch) | |
tree | a6a58bd544eb0b76b9d3acc678ea88791acca045 /test/04-function-mmult.txt | |
parent | Initial commit. (diff) | |
download | libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.tar.xz libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.zip |
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/04-function-mmult.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/test/04-function-mmult.txt b/test/04-function-mmult.txt new file mode 100644 index 0000000..84eda1c --- /dev/null +++ b/test/04-function-mmult.txt @@ -0,0 +1,43 @@ +%% Test built-in MMULT function which performs a matrix multiplication whose +%% result is a matrix spanning over a range of cells. +%mode init +A1:1 +A2:2 +A3:3 +C1:4 +D1:5 +E1:6 +{C5:E7}{=MMULT(A1:A3,C1:E1)} +E11=E7*10 +%calc +%print dependency +%mode result +C5=4 +D5=5 +E5=6 +C6=8 +D6=10 +E6=12 +C7=12 +D7=15 +E7=18 +E11=180 +%check +%mode edit +A1:2 +A2:4 +A3:6 +%recalc +%mode result +C5=8 +D5=10 +E5=12 +C6=16 +D6=20 +E6=24 +C7=24 +D7=30 +E7=36 +E11=360 +%check +%exit |