Bought a new mouse, but the provided drivers does not work,
I had to download and install from:
Ideas and exploration about High performance computing and Computer science in general
SELECT COUNT(grade) FROM table GROUP BY grade ORDER BY grade
sudo yum install hdf5-devel
sudo yum install bz2-develsudo yum install lzo-devel
# optional : create and activate a python virtualenvpip install -U numexpr
pip install http://pytables.org/svn/pytables/branches/std-2.2
python setup.py build_ext -i
pip install -U .
from psycopg2.extensions import adapt
import matplotlib
matplotlib.use("TKAGG")
import matplotlib.pyplot as pyplot
import mpl_toolkits.mplot3d
figure = pyplot.figure()
figure.subplots_adjust(bottom=0.25, top=0.75)
axes = figure.gca(projection='3d')
xLabel = axes.set_xlabel('X', fontsize=14, fontweight='bold', color='b')
yLabel = axes.set_ylabel('Y',fontsize=14, fontweight='bold', color='r')
zLabel = axes.set_zlabel('Z',fontsize=14, fontweight='bold', color='g')
x = pyplot.Rectangle((0, 0), 0.1, 0.1,fc='b')
y = pyplot.Rectangle((0, 0), 0.1, 0.1,fc='r')
z = pyplot.Rectangle((0, 0), 0.1, 0.1,fc='g')
handles, labels = axes.get_legend_handles_labels()
axes.legend((x,y,z),("XXXXXX","YYYYY","ZZZZZZ"),'best')
plot = axes.plot([1,2,3],[1,2,3])
pyplot.show()
How to create a cython cpdef function with optional arguments
cdef class A:
cpdef foo(self, int i=*, x=*)
And Cython now supports vector declarations
cdef class Node:
pass
cdef vector[Node] list2node():
pass
cdef vector[int] test_int():
pass
cdef vector[int*] test_intp():
pass
static PyTypeObject *__pyx_ptype_3foo_Node = 0;
static std::vector<struct __pyx_obj_3foo_Node *> __pyx_f_3foo_list2node(void);
static std::vector __pyx_f_3foo_test_int(void);
static std::vector<int *> __pyx_f_3foo_test_intp(void);