forked from fykaa/Learning-Maxima-Software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path3_matrix.wxm
70 lines (43 loc) · 1.3 KB
/
3_matrix.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
66
67
68
69
70
/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/
/* [ Created with wxMaxima version 22.04.0 ] */
/* [wxMaxima: input start ] */
S
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
R2: [4,5,6];
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
R3: [7,8,9];
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
A: matrix(R1,R2,R3);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
B: matrix([7,4,2], [7,-3,2], [6,1,-1]);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
A+B;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
%o4+%o5;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
A-B;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
A*B;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
A/B;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
C:matrix([1,2], [6,3]);
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
D: %;
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
%o9+%o10;
/* [wxMaxima: input end ] */
/* Old versions of Maxima abort on loading files that end in a comment. */
"Created with wxMaxima 22.04.0"$