Browse Source

Simplify function composition slide

Julian Ospald 4 years ago
parent
commit
cc75bd68ef
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      VL2/content/VL2_composition1.tex

+ 2
- 1
VL2/content/VL2_composition1.tex View File

@@ -2,7 +2,7 @@
2 2
 \vspace{\baselineskip}
3 3
 \\
4 4
 \ifger{Aus der Mathematik wissen wir bereits, dass:}{From maths we already know that:}\\
5
-$(g \circ f)(x) = g(f(x))$
5
+$(f \circ g)(x) = f(g(x))$
6 6
 \vspace{\baselineskip}
7 7
 \\
8 8
 \pause
@@ -14,7 +14,7 @@ composedFunction x = (f . g) x
14 14
 -- is evaluated first
15 15
 composedFunction x = f . g $ x
16 16
 
17
+-- and same again, remember that 'g x ='
17 18
 -- is just syntax sugar
18 19
 -- omitting the x here is also called eta reduction
19 20
 composedFunction = f . g