Skip to content

Instantly share code, notes, and snippets.

@ffinkernagel
ffinkernagel / dcor.pyx
Created June 20, 2012 15:10
Distance correlation - not quadratic in space
# Copyright (c) 2012, Florian Finkernagel. All right reserved.
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions are
## met:
## * Redistributions of source code must retain the above copyright
## notice, this list of conditions and the following disclaimer.
## * Redistributions in binary form must reproduce the above
## copyright notice, this list of conditions and the following