This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""Computes the distance correlation between two matrices. | |
https://en.wikipedia.org/wiki/Distance_correlation | |
""" | |
import numpy as np | |
from scipy.spatial.distance import pdist, squareform |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2.6 | |
# | |
# Copyright (C) 2011 by [email protected] | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from poppler-image.cpp:26: | |
../goo/PNGWriter.h:23:17: error: png.h: No such file or directory | |
In file included from poppler-image.cpp:26: | |
../goo/PNGWriter.h:53: error: 'png_structp' does not name a type | |
../goo/PNGWriter.h:54: error: 'png_infop' does not name a type | |
make[2]: *** [libpoppler_cpp_la-poppler-image.lo] Error 1 | |
make[1]: *** [check-recursive] Error 1 | |
make: *** [check-recursive] Error 1 |