memview_assignments.pyx 142 Bytes EditWeb IDE 1 2 3 4 5 6 # mode: compile # tag: memoryview cdef double[::1] contig # see if we can assign a strided value to a contiguous one contig[:] = contig[::2]