diff options
Diffstat (limited to '')
-rw-r--r-- | test/01-inline-array-exp.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/01-inline-array-exp.txt b/test/01-inline-array-exp.txt new file mode 100644 index 0000000..b6509da --- /dev/null +++ b/test/01-inline-array-exp.txt @@ -0,0 +1,35 @@ +%% Test for inline array with multiplication. +%mode init +{A1:B2}{={1,2;3,4}^2} +{A3:B4}{=2^{1,2;3,4}} +{A5:B6}{=A1:B2^2} +{A7:B8}{=2^A1:B2} +{A9:B10}{={1,2;3,4}^{5,2;4,3}} +{A11:D11}{={2,3,4,"C"}^{4,"A","B",2}} +%calc +%mode result +A1=1 +B1=4 +A2=9 +B2=16 +A3=2 +B3=4 +A4=8 +B4=16 +A5=1 +B5=16 +A6=81 +B6=256 +A7=2 +B7=16 +A8=512 +B8=65536 +A9=1 +B9=4 +A10=81 +B10=64 +A11=16 +B11=#VALUE! +C11=#VALUE! +D11=#VALUE! +%check |