This file contains 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
#cython:boundscheck=False | |
#cython:wraparound=False | |
import numpy as np | |
from cython.parallel cimport prange | |
from libc.math cimport sqrt | |
cdef inline double dotp(int i, int j, int N, double[:, ::1] X) nogil: | |
cdef: | |
int k |
This file contains 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
cimport numpy as cnp | |
cimport stdlib | |
cnp.import_array() | |
cdef class _dealloc_obj: | |
cdef void *_data | |
def __cinit__(self): |
This file contains 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
#Clean everything like a brand new checkout | |
#Don't remove "jenkins-upstream" directory | |
if test -t 1 ; then | |
echo "stdout is a tty. Are you sure you want to continue? This operation will clean any uncommitted files." | |
read -p "CTRL-C to exit. Enter to continue:" | |
fi | |
git clean -dxf -e "jenkins-upstream" | |
#Unlink any current development d |