Skip to content

Instantly share code, notes, and snippets.

View adrianp's full-sized avatar
💀
Hey there! I am using WhatsApp.

Adrian-Tudor Panescu adrianp

💀
Hey there! I am using WhatsApp.
View GitHub Profile
@adrianp
adrianp / gist:949750
Created April 30, 2011 15:29
Java implementation of Aitken's Algorithm (scheme) for determining Newton's Divided Diffences
/**
*
* @param x the array of abscissae
* @param y the array of ordinates
* @return the top elements of the Divided Difference Table used when
* calculating Newton's Devided Differences
*/
public static double[] aitken(double[] x, double[] y) {
int n = x.length;
double[] dividedDifferences = y.clone();
@adrianp
adrianp / Scheduled tasks with Celery in Django
Created March 10, 2011 18:58
Installing django-celery and adding scheduled tasks to a Django project
THESE INSTRUCTIONS ARE FOR OLD VERSIONS OF DJANGO/CELERY/PYTHON!
1. Download the latest version of django-celery from here:
https://github.com/ask/django-celery/archives/master
2. Unzip, go to folder
3. python setupy.py build
4. python setup.py install