Click FUNMAT-2021-Lecture7-Karttunen.pdf link to view the file.