
Philip Cardiff
143 posts



Irish astronomer and mathematician William Rowan Hamilton tried to find numbers that could describe 3D rotations, like complex numbers do for 2D. After years of effort, he discovered it needed four dimensions instead of three — leading to quaternions — because 3D rotations don’t work in the same simple way as 2D ones.

















@HiroNishikawa Do you use weighted least squares for computing gradients?






Here's a stencil for which a quadratic least-squares fit fails: cannot determine the coefficients (c0,c1,c2,c3,c4,c5) of a quadratic polynomial, P(x,y) = c0+c1*x+c2*y+c3*x^2+c4*x*y+c5*y^2 by minimizing sum_k | P(xk,yk) - f(xk,yk) |^2, here f(x,y) is a given function.


@HiroNishikawa Is it possible to figure out the order of the error without computing the exact formulas? (I know little about CFD)









