hard_cython =========== cdef Counter (Cython) --------------------- cdef class with cpdef method. .. literalinclude:: ../../../../../scikitplot/cython/_templates/hard_cython/t01_cdef_class_counter.pyx :language: cython Hard: cdef class ---------------- cdef class with malloc/free. .. literalinclude:: ../../../../../scikitplot/cython/_templates/hard_cython/t01_cdef_class_vector.pyx :language: cython Dot product ----------- Dot product over two 1D memoryviews with strict shape checking. .. literalinclude:: ../../../../../scikitplot/cython/_templates/hard_cython/t01_dot_product.pyx :language: cython malloc/free demo ---------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/hard_cython/t02_malloc_fill.pyx :language: cython malloc/free demo ---------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/hard_cython/t03_malloc_fill.pyx :language: cython cdef struct Point2 + distance ----------------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/hard_cython/t04_struct_point_distance.pyx :language: cython