easy_cython =========== Easy: memoryview sum -------------------- Typed memoryview summation loop. .. literalinclude:: ../../../../../scikitplot/cython/_templates/easy_cython/t01_memoryview_sum.pyx :language: cython Sum memoryview (Cython) ----------------------- Typed memoryview loop. .. literalinclude:: ../../../../../scikitplot/cython/_templates/easy_cython/t01_sum_memoryview.pyx :language: cython Sum 1D memoryview ----------------- Summation over a typed memoryview; works with any buffer provider. .. literalinclude:: ../../../../../scikitplot/cython/_templates/easy_cython/t01_sum_view.pyx :language: cython Dot product on Python sequences ------------------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/easy_cython/t04_vector_dot_list.pyx :language: cython Scale vector with double[:] memoryview -------------------------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/easy_cython/t05_vector_scale_memview.pyx :language: cython L2 norm with memoryview ----------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/easy_cython/t06_vector_norm2_memview.pyx :language: cython Vector add on sequences (returns list) -------------------------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/easy_cython/t07_vector_add_list.pyx :language: cython Parse unsigned int from ASCII bytes ----------------------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/easy_cython/t08_parse_int_ascii.pyx :language: cython