basic_cython ============ Basic: typed square ------------------- Minimal typed Cython function. .. literalinclude:: ../../../../../scikitplot/cython/_templates/basic_cython/t01_square_int.pyx :language: cython Add two floats (double) ----------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/basic_cython/t02_add_float.pyx :language: cython Toggle boolean (bint) --------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/basic_cython/t03_toggle_bool.pyx :language: cython Repeat string (str * n) ----------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/basic_cython/t04_repeat_str.pyx :language: cython Fixed-width int32 wrap demo --------------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/basic_cython/t05_int_overflow_demo.pyx :language: cython XOR bytes (bytearray output) ---------------------------- .. literalinclude:: ../../../../../scikitplot/cython/_templates/basic_cython/t06_xor_bytes.pyx :language: cython