Przeglądaj źródła

Simplify function composition slide

master
Julian Ospald 9 lat temu
rodzic
commit
cc75bd68ef
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 220CD1C5BDEED020
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      VL2/content/VL2_composition1.tex

+ 2
- 1
VL2/content/VL2_composition1.tex Wyświetl plik

@@ -2,7 +2,7 @@
\vspace{\baselineskip}
\\
\ifger{Aus der Mathematik wissen wir bereits, dass:}{From maths we already know that:}\\
$(g \circ f)(x) = g(f(x))$
$(f \circ g)(x) = f(g(x))$
\vspace{\baselineskip}
\\
\pause
@@ -14,7 +14,7 @@ composedFunction x = (f . g) x
-- is evaluated first
composedFunction x = f . g $ x

-- and same again, remember that 'g x ='
-- is just syntax sugar
-- omitting the x here is also called eta reduction
composedFunction = f . g

Ładowanie…
Anuluj
Zapisz