forked from fykaa/Learning-Maxima-Software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
4_rowcolumnoperations.wxm
65 lines (40 loc) · 1.26 KB
/
4_rowcolumnoperations.wxm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/
/* [ Created with wxMaxima version 22.04.0 ] */
/* [wxMaxima: input start ] */
A: matrix([1,2,3] , [7,5,2], [4,7,2]);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
rowswap(A, 2,3);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
A;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
rowswap(A, 1,2);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
A;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
columnswap(A,1,2);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
columnswap(%o8, 3,2);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
rowop(A,1,2,-2);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
rowop(A,3, 2,-1);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
rowop(A, 3,1,4);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
A;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
columnop(A,1,2,-2);
/* [wxMaxima: input end ] */
/* Old versions of Maxima abort on loading files that end in a comment. */
"Created with wxMaxima 22.04.0"$