diff options
| author | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2022-11-18 21:20:58 +0100 |
|---|---|---|
| committer | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2022-11-18 21:20:58 +0100 |
| commit | 16005fcd307f24de157b6d2c2f174e80f2f93af1 (patch) | |
| tree | e0e9953acb35ef3924517a758276bcef96b88844 /challenge-191 | |
| parent | 558cef1e7a2fafac8e7334322d44c212e458ae1e (diff) | |
| download | perlweeklychallenge-club-16005fcd307f24de157b6d2c2f174e80f2f93af1.tar.gz perlweeklychallenge-club-16005fcd307f24de157b6d2c2f174e80f2f93af1.tar.bz2 perlweeklychallenge-club-16005fcd307f24de157b6d2c2f174e80f2f93af1.zip | |
Solution to challenge 191 task 2 in wxMaxima
Diffstat (limited to 'challenge-191')
| -rw-r--r-- | challenge-191/jo-37/maxima/ch-2.wxm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/challenge-191/jo-37/maxima/ch-2.wxm b/challenge-191/jo-37/maxima/ch-2.wxm new file mode 100644 index 0000000000..d7e0cbef2d --- /dev/null +++ b/challenge-191/jo-37/maxima/ch-2.wxm @@ -0,0 +1,17 @@ +/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/ +/* [ Created with wxMaxima version 13.04.2 ] */ + +/* [wxMaxima: input start ] */ +n: 15; +/* [wxMaxima: input end ] */ + +/* [wxMaxima: input start ] */ +a: genmatrix(lambda([i, j], if mod(i, j) = 0 or mod(j, i) = 0 then 1 else 0), n, n); +/* [wxMaxima: input end ] */ + +/* [wxMaxima: input start ] */ +permanent(a); +/* [wxMaxima: input end ] */ + +/* Maxima can't load/batch files which end with a comment! */ +"Created with wxMaxima"$ |
