/* http://cairographics.org/threaded_animation_with_cairo/ */ /* Hack by Jeffrin Jose Licensed GPL v3 Copyright August 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ #include #include #include //the global pixmap that will serve as our buffer static GdkPixmap *pixmap = NULL; gboolean on_window_configure_event(GtkWidget * da, GdkEventConfigure * event, gpointer user_data){ static int oldw = 0; static int oldh = 0; //make …
Daily Archives: August 14, 2010
difference engine.
Difference Engine Weierstrass: A machine to compute mathematical tables – Any continuous function can be approximated by a polynomial – Any Polynomial can be computed from difference tables [latex] \int{(n)} = n^{2}+n+41 \\ d1(n) = \int{(n)} – \int{(n-1)} = 2n \\ d2(n) = d1{(n)} – d1{(n-1)} = 2 \\ [/latex] Make a Table with the …