Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ad
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Gerwinski
ad
Commits
2447fce0
Commit
2447fce0
authored
1 year ago
by
Peter Gerwinski
Browse files
Options
Downloads
Patches
Plain Diff
Langzahl-Arithmetik
parent
808902ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
20230316/ad-20240404.pdf
+0
-0
0 additions, 0 deletions
20230316/ad-20240404.pdf
20230316/ad-20240404.tex
+58
-6
58 additions, 6 deletions
20230316/ad-20240404.tex
with
58 additions
and
6 deletions
20230316/ad-20240404.pdf
+
0
−
0
View file @
2447fce0
No preview for this file type
This diff is collapsed.
Click to expand it.
20230316/ad-20240404.tex
+
58
−
6
View file @
2447fce0
...
...
@@ -86,7 +86,7 @@
\begin{itemize}
\item
[\textbf{1}]
\textbf
{
Einführung
}
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/hp
.git
}}}
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/hp
}}}
\item
[\textbf{2}]
\textbf
{
Einführung in C
}
\item
[\textbf{3}]
\textbf
{
Bibliotheken
}
\item
[\textbf{4}]
\textbf
{
Hardwarenahe Programmierung
}
...
...
@@ -117,7 +117,7 @@
\begin{itemize}
\color
{
gray
}
\item
[\textbf{1}]
\textbf
{
Einführung
}
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/hp
.git
}}}
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/hp
}}}
\item
[\textbf{2}]
\textbf
{
Einführung in C
}
\item
[\textbf{3}]
\textbf
{
Bibliotheken
}
\item
[\textbf{4}]
\textbf
{
Hardwarenahe Programmierung
}
...
...
@@ -374,7 +374,7 @@
\pause
[4]
\smallskip
\hspace*
{
2.29cm
}
\textcolor
{
magenta
}{
\textbf
{
Mit Quantencomputer:
\boldmath
$
\mathcal
{
O
}
\bigl
((
\log
n
)
^
3
\bigr
)
$}}
\hspace*
{
2.29cm
}
\textcolor
{
red
}{
\textbf
{
Mit Quantencomputer:
\boldmath
$
\mathcal
{
O
}
\bigl
((
\log
n
)
^
3
\bigr
)
$}}
\end{onlyenv}
...
...
@@ -390,7 +390,7 @@
\begin{itemize}
\item
[\textbf{1}]
\textbf
{
Einführung
}
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/ad
.git
}}}
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/ad
}}}
\item
[\textbf{2}]
\textbf
{
\dots
}
\end{itemize}
...
...
@@ -431,7 +431,7 @@
\begin{itemize}
\item
[\textbf{1}]
\textbf
{
Einführung
}
\underconstruction
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/ad
.git
}}}
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/ad
}}}
% \item[\textbf{\color{red}i}] {\color{red}Online-Werkzeuge für Home Office, Lehre\\
% und Kommunikation mit Unterdrückten}
\item
[\textbf{2}]
\textbf
{
Arrays und Zeiger für Fortgeschrittene
}
...
...
@@ -724,6 +724,58 @@
\end{frame}
\fi
\section
{
Langzahl-Arithmetik
}
\begin{frame}
\showsection
Problem: Rechnen mit ganzen Zahlen, die größer sind als das,
\\
was der Rechner normalerweise verarbeiten kann
\bigskip
{
\large\textbf
{
Aufgabe: Addition langer Zahlen
}
\par
}
\begin{itemize}
\item
[(a)]
Überlegen Sie sich eine Datenstruktur, um eine lange Zahl zu speichern.
\item
[(b)]
Schreiben Sie eine Funktion, die zwei lange Zahlen addiert.
\end{itemize}
\end{frame}
\begin{frame}
\showsection
Problem: Rechnen mit ganzen Zahlen, die größer sind als das,
\\
was der Rechner normalerweise verarbeiten kann
\medskip
\begin{itemize}
\item
Grundrechenarten (einschließlich "`modulo"'):
\\
"`schriftlich"' rechnen
\item
binäre Exponentiation:
\\
Basis fortlaufend quadrieren, ggf.
\
damit multiplizieren
\\
Beispiel:
$
x
^
9
=
((
x
^
2
)
^
2
)
^
2
\cdot
x
$
\item
Suche nach
$
d
$
mit
$
d
\cdot
e
\,\text
{
mod
}
\,
N
=
1
$
:
\\
erweiterter Euklidischer Algorithmus
\smallskip
\arrowitem
RSA
\end{itemize}
\end{frame}
\iffalse
\nosectionnonumber
{
\inserttitle
}
\begin{frame}
...
...
@@ -733,7 +785,7 @@
\begin{itemize}
\item
[\textbf{1}]
\textbf
{
Einführung
}
\underconstruction
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/ad
.git
}}}
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/ad
}}}
% \item[\textbf{i}] \textbf{Gesellschaftliche Auswirkungen\\
% von Algorithmen und Datenstrukturen}
\item
[\textbf{2}]
\textbf
{
Datenorganisation
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment