Open in app
Home
Notifications
Lists
Stories

Write
Thomas Deegan
Thomas Deegan

Home

Nov 29, 2020

Fit A Circle To N Points — Least Squares

Formula for a circle: (x-a)^2 + (y-b)^2 = r^2 We need to solve for parameters a, b, r given N points on circle. We will use least squares. Remember, for least squares, we want to minimize the residual for a projection of “y” onto the vector space defined by the…

Python

2 min read

Fit A Circle To N Points — Least Squares
Fit A Circle To N Points — Least Squares

Oct 12, 2017

8 JavaScript optimizations Closure Compiler can do conventional minifiers just can’t

Closure Compiler is a JavaScript type checker and optimizer. But just what can these optimizations do to shrink that oh-so-important bundle size? Disclaimer: This is not a completely fair test. Caveats: Smaller, simpler programs tend be easier to statically analyze and can be optimized more aggressively The ES6 polyfils from…

Java Script

3 min read

8 JavaScript optimizations Closure Compiler can do conventional minifiers just can’t
8 JavaScript optimizations Closure Compiler can do conventional minifiers just can’t
Thomas Deegan

Thomas Deegan

Math and self driving

Following
  • Amy Siskind

    Amy Siskind

  • Peter Gao

    Peter Gao

  • Yu Ishikawa

    Yu Ishikawa

  • Alex Salo

    Alex Salo

  • Derek Alia

    Derek Alia

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable