Skip to content

Instantly share code, notes, and snippets.

View usuallycwdillon's full-sized avatar

CW Dillon usuallycwdillon

View GitHub Profile
@pmarshwx
pmarshwx / epanechnikov.pyx
Last active November 11, 2018 10:45
Epanechnikov kernel for use in Kernel Density Estimation. Note, for large arrays, performance may be slow. Originally designed for sparse grids.
cimport cython
import numpy as np
cimport numpy as np
cdef extern from 'math.h':
float exp(float x)
float cos(float x)
float sin(float x)
float fabs(float x)
@shamansir
shamansir / lisp.lang.xml
Created August 23, 2011 07:34
Special highlighting files for gEdit: common lisp, processingJS, pegJS, pegC...
<?xml version="1.0" encoding="UTF-8"?>
<!--
Author: Ma Jiehong <[email protected]>
Copyright (C) 2010 Ma Jiehong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.