Note: The math on this page is progressively rendered. It can take up to 45 seconds before the final rendering…

Read more## The C++ Template Interface Pattern (TIP)

The C++ Template Interface Pattern (TIP) is the application of the Curiously Recurring Template Pattern (CRTP) to a set of…

Read more## Build and static link ZeroMQ on Windows

ZeroMQ ( http://zeromq.org and https://github.com/zeromq/libzmq ) is a library that allows code to communicate between threads, processes, or computers in just a few…

Read more## A New Beginning!

After dealing with too many issues, I’ve switched web hosts. Since my last web host managed to delete all copies…

Read more## Online Weighted Mean

Given the following set of inputs and their associated weights: {(x1,w1),(x2,w2),…,(xn−1,wn−1),(xn,wn)} Let n be the number of inputs and their…

Read more## Online Covariance

Given the following set of two-dimensional inputs: {(x1,y1),(x2,y2),…,(xn−1,yn−1),(xn,yn)} Let n be the number of two-dimensional inputs, X represent the x…

Read more## Online Variance

Let n be the number of values, vn be the biased sample variance of the first n values, vn−1 be…

Read more## Two-Dimensional Givens Rotation

The following matrix is the two-dimensional Givens Rotation from the x axis to the y axis: (cos(θ)cos(θ+90°)sin(θ)sin(θ+90°))(cos(θ)cos(θ+π2)sin(θ)sin(θ+π2))(cos(θ)−sin(θ)sin(θ)cos(θ)) This matrix rotates…

Read more## How To Compile Boost Using g++ -std=c++11 From MinGW

To compile Boost using g++ -std=c++11 from MinGW, do the following: Ensure that MinGW is installed at C:\MinGW\ Launch a…

Read more## C++ Compiler Updates – September 2013

In September 2013, Minimalist GNU for Windows (MinGW) was updated to version 4.8.1 of the GNU Compiler Collection (GCC). MinGW:…

Read more