aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/30-endlichekoerper/beispiele
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-01-24 13:05:42 +0100
committerAndreas Müller <andreas.mueller@ost.ch>2021-01-24 13:05:42 +0100
commitb1bb5a5e1d7d43a27e601a5df5cb212512458fc0 (patch)
treed4140da4b7aff04e77529665746e03749fdff3fb /buch/chapters/30-endlichekoerper/beispiele
parentPermutationen hinzugefügt (diff)
downloadSeminarMatrizen-b1bb5a5e1d7d43a27e601a5df5cb212512458fc0.tar.gz
SeminarMatrizen-b1bb5a5e1d7d43a27e601a5df5cb212512458fc0.zip
galois fields, exercise 3002
Diffstat (limited to 'buch/chapters/30-endlichekoerper/beispiele')
-rw-r--r--buch/chapters/30-endlichekoerper/beispiele/inverse.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/buch/chapters/30-endlichekoerper/beispiele/inverse.m b/buch/chapters/30-endlichekoerper/beispiele/inverse.m
new file mode 100644
index 0000000..69c6429
--- /dev/null
+++ b/buch/chapters/30-endlichekoerper/beispiele/inverse.m
@@ -0,0 +1,15 @@
+#
+# inverse.m -- Inverse mod 2063 berechnen
+#
+# (c) Prof Dr Andreas Müller, Hochschule Rapperswil
+#
+function retval = Q(q)
+ retval = [ 0, 1; 1, -q ];
+end
+
+P = eye(2)
+P = Q(1) * P
+P = Q(48) * P
+P = Q(8) * P
+P = Q(2) * P
+P = Q(2) * P