## Three-Dimensional Givens Rotations

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

## 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…

## 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…

## A New Beginning!

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

## 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…

## 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…

## Online Variance

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

## 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…