blog
-
Variadic expansion in aggregate initialization
Variadic templates (parameter packs) have been in the language ever since C++11. With the introduction of fold expressions in C++17, they have gotten even more useful. This post showcases their utility for initializing aggregate types such as std::array without prior default initialization of their fields.
-
Standalone figures from Gnuplot's LaTeX terminals
Gnuplot offers many output terminals; amongst the more useful ones for scientific publishing are the LaTeX terminals which embed EPS graphics in a TeX file which adds labels. However, sometimes you need a standalone figure and this becomes a hassle. Here, I introduce a tool to extract the figures from rendered TeX output without littering your working directory with temporary files.
-
(Re-)Launching my web site and blog
I’m happy to finally kick off this, my new-ish web presence. It is meant to serve both as a portfolio of my professional work (academically and otherwise), as well as a place to condense ideas and random ramblings into blog posts.
-
Interactive demo of Support Vector Machines (SVM)
An interactive demo of support vector machines in two dimensions, written using WebAssembly.