parameters: (arr, shape=None)
docstring: yields the c-contiguous strides
docstring_summary: yields the c-contiguous strides
docstring_tokens: yields the c - contiguous strides
function: def iter_strides_c_contig(arr, shape=None):
      """yields the c-contiguous strides
      """
      shape = arr.shape if shape is None else shape
      itemsize = arr.itemsize
  
      def gen():
          yield itemsize
          sum = 1
          for s in reversed(shape[1:]):
              sum *= s
              yield sum * itemsize
  
      for i in reversed(list(gen())):
          yield i
function_tokens: def iter_strides_c_contig ( arr , shape = None ) : shape = arr . shape if shape is None else shape itemsize = arr . itemsize def gen ( ) : yield itemsize sum = 1 for s in reversed ( shape [ 1 : ] ) : sum *= s yield sum * itemsize for i in reversed ( list ( gen ( ) ) ) : yield i