aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/pages/SQMATRIX.pht
blob: e58b3c60c04a07ccab6bf389b57242768ec7062a (plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
\begin{patch}{SquareMatrixXmpPagePatch1}
\begin{paste}{SquareMatrixXmpPageFull1}{SquareMatrixXmpPageEmpty1}
\pastebutton{SquareMatrixXmpPageFull1}{\hidepaste}
\tab{5}\spadcommand{)set expose add constructor SquareMatrix\bound{SQ }}
\indentrel{3}\begin{verbatim}
\end{verbatim}
\indentrel{-3}\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPageEmpty1}
\begin{paste}{SquareMatrixXmpPageEmpty1}{SquareMatrixXmpPagePatch1}
\pastebutton{SquareMatrixXmpPageEmpty1}{\showpaste}
\tab{5}\spadcommand{)set expose add constructor SquareMatrix\bound{SQ }}
\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPagePatch2}
\begin{paste}{SquareMatrixXmpPageFull2}{SquareMatrixXmpPageEmpty2}
\pastebutton{SquareMatrixXmpPageFull2}{\hidepaste}
\tab{5}\spadcommand{m := squareMatrix [[1,-\%i],[\%i,4]]\bound{m }\free{SQ }}
\indentrel{3}\begin{verbatim}
        �1   - %i�
   (1)  �        �
        �%i   4  �
                  Type: SquareMatrix(2,Complex Integer)
\end{verbatim}
\indentrel{-3}\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPageEmpty2}
\begin{paste}{SquareMatrixXmpPageEmpty2}{SquareMatrixXmpPagePatch2}
\pastebutton{SquareMatrixXmpPageEmpty2}{\showpaste}
\tab{5}\spadcommand{m := squareMatrix [[1,-\%i],[\%i,4]]\bound{m }\free{SQ }}
\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPagePatch3}
\begin{paste}{SquareMatrixXmpPageFull3}{SquareMatrixXmpPageEmpty3}
\pastebutton{SquareMatrixXmpPageFull3}{\hidepaste}
\tab{5}\spadcommand{m*m - m\free{m }}
\indentrel{3}\begin{verbatim}
        � 1   - 4%i�
   (2)  �          �
        �4%i   13  �
                  Type: SquareMatrix(2,Complex Integer)
\end{verbatim}
\indentrel{-3}\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPageEmpty3}
\begin{paste}{SquareMatrixXmpPageEmpty3}{SquareMatrixXmpPagePatch3}
\pastebutton{SquareMatrixXmpPageEmpty3}{\showpaste}
\tab{5}\spadcommand{m*m - m\free{m }}
\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPagePatch4}
\begin{paste}{SquareMatrixXmpPageFull4}{SquareMatrixXmpPageEmpty4}
\pastebutton{SquareMatrixXmpPageFull4}{\hidepaste}
\tab{5}\spadcommand{mm := squareMatrix [[m, 1], [1-m, m**2]]\free{m }\bound{mm }}
\indentrel{3}\begin{verbatim}
        ��1   - %i�      �1  0�   �
        ��        �      �    �   �
        ��%i   4  �      �0  1�   �
   (3)  �                         �
        �� 0    %i �  � 2   - 5%i��
        ��         �  �          ��
        ��- %i  - 3�  �5%i   17  ��
  Type: SquareMatrix(2,SquareMatrix(2,Complex Integer))
\end{verbatim}
\indentrel{-3}\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPageEmpty4}
\begin{paste}{SquareMatrixXmpPageEmpty4}{SquareMatrixXmpPagePatch4}
\pastebutton{SquareMatrixXmpPageEmpty4}{\showpaste}
\tab{5}\spadcommand{mm := squareMatrix [[m, 1], [1-m, m**2]]\free{m }\bound{mm }}
\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPagePatch5}
\begin{paste}{SquareMatrixXmpPageFull5}{SquareMatrixXmpPageEmpty5}
\pastebutton{SquareMatrixXmpPageFull5}{\hidepaste}
\tab{5}\spadcommand{p := (x + m)**2\free{m }\bound{p }}
\indentrel{3}\begin{verbatim}
         2   � 2   - 2%i�    � 2   - 5%i�
   (4)  x  + �          �x + �          �
             �2%i    8  �    �5%i   17  �
       Type: Polynomial SquareMatrix(2,Complex Integer)
\end{verbatim}
\indentrel{-3}\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPageEmpty5}
\begin{paste}{SquareMatrixXmpPageEmpty5}{SquareMatrixXmpPagePatch5}
\pastebutton{SquareMatrixXmpPageEmpty5}{\showpaste}
\tab{5}\spadcommand{p := (x + m)**2\free{m }\bound{p }}
\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPagePatch6}
\begin{paste}{SquareMatrixXmpPageFull6}{SquareMatrixXmpPageEmpty6}
\pastebutton{SquareMatrixXmpPageFull6}{\hidepaste}
\tab{5}\spadcommand{p::SquareMatrix(2, ?)\free{p }}
\indentrel{3}\begin{verbatim}
        � 2                        �
        �x  + 2x + 2  - 2%i x - 5%i�
   (5)  �                          �
        �              2           �
        �2%i x + 5%i  x  + 8x + 17 �
       Type: SquareMatrix(2,Polynomial Complex Integer)
\end{verbatim}
\indentrel{-3}\end{paste}\end{patch}

\begin{patch}{SquareMatrixXmpPageEmpty6}
\begin{paste}{SquareMatrixXmpPageEmpty6}{SquareMatrixXmpPagePatch6}
\pastebutton{SquareMatrixXmpPageEmpty6}{\showpaste}
\tab{5}\spadcommand{p::SquareMatrix(2, ?)\free{p }}
\end{paste}\end{patch}