### Recent Comments

Piers Williamson on Congrats Jpn, or Fuck sam… azumih on Congrats Jpn, or Fuck sam… Piers Williamson on Congrats Jpn, or Fuck sam… Reading The UK Riots… on Slavoj Žižek: 1st half of… Transendental Matery… on Slavoj Žižek: 1st half of… Least Square Fitting… on Least Squares Fitting of… voodoo child on Need true humour, now, tr… On the Good State (v… on Slavoj Žižek, first half of…

# Category Archives: computer programming

## Least Square Fitting of… (1)

Affine Transformation, 2D, 4-Degrees of Freedom (a variation of the previous theme). 1. Intro What I did last time was about fitting of affine transformation of full 6-DoF. 4-DoF this time. By 4-DoF, I mean uniform scaling, rotation and x, … Continue reading

## Least Squares Fitting of… (0)

… Affine Transformations. Note to myself (0). 1. problem Let’s say here are 2 sets of 2D points and , . Besides, corresponds to for each . What I want here is a nice affine transform that maps each to … Continue reading

## Automatic Differentiation — 2

A revision of my previous post and a write-up in Haskell. First of all the revision of C++ code: The multiplication rule holds even when or is a constant. e.g. . So overloaded functions for multiplication (line 22 and 31 … Continue reading

## Automatic Differentiation

A couple of months ago, I wrote a piece of programme that computes integrals of polynomials, products of polynomials, and compositions of polynomials. It helped me a bit in that I did not need to expand complicated expressions by hand. … Continue reading