NagoyaStat #12 で使用した資料です(公開に当たって当日ホワイトボードに書いた内容等を補完したものになります)。 「StanとRでベイズ統計モデリング」の第9章前半になります。 第9章のテーマは行列やベクトルを使った演算の高速化です。 --- The title of textbook is "Bayesian statistical modeling with Stan and R", and that of Chapter 9 in textbook is "advanced grammar" in English.