-
Notifications
You must be signed in to change notification settings - Fork 0
/
formulas.tex
58 lines (58 loc) · 913 Bytes
/
formulas.tex
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
\begin{bmatrix}
f(n) \\ f(n+1)
\end{bmatrix}
=
\begin{bmatrix}
0 & 1 \\ b & a
\end{bmatrix}
\times
\begin{bmatrix}
f(n-1) \\ f(n)
\end{bmatrix}
---
\begin{bmatrix}
f(n) \\ f(n+1)
\end{bmatrix}
=
\begin{bmatrix}
0 & 1 \\ b & a
\end{bmatrix}
\times
\begin{bmatrix}
f(n-1) \\ f(n)
\end{bmatrix}
=
\begin{bmatrix}
0 & 1 \\ b & a
\end{bmatrix}
\times
\begin{bmatrix}
0 & 1 \\ b & a
\end{bmatrix}
\times
\begin{bmatrix}
f(n-2) \\ f(n-1)
\end{bmatrix}
=
\begin{bmatrix}
0 & 1 \\ b & a
\end{bmatrix}
\times
\ldots
\times
\begin{bmatrix}
0 & 1 \\ b & a
\end{bmatrix}
\times
\begin{bmatrix}
\alpha \\ \beta
\end{bmatrix}
---
C(n) = \sum_{i=0}^{\log n} \mathcal{O}\left( (2^{i})^{k} \right) = \mathcal{O}\left( 2^{k \log n}\right) = \mathcal{O} \left( n^{k} \right)
---
x^{n} =
\begin{cases}
& (x^2)^{\frac{n}{2}}, \text{ if } x \text{ is even } \\
&x(x^2)^{\frac{n-1}{2}}, \text{ if } x \text{ is odd } \\
\end{cases}
---