class_docstr: Base class for piecewise polynomials.
class_docstr_tok: ["Base","class","for","piecewise","polynomials","."]
docstr: c and x may be modified by the user. The Cython code expects
  that they are C contiguous.
code: def _ensure_c_contiguous(self):
      """
      c and x may be modified by the user. The Cython code expects
      that they are C contiguous.
      """
      if not self.x.flags.c_contiguous:
          self.x = self.x.copy()
      if not self.c.flags.c_contiguous:
          self.c = self.c.copy()
  
imports: import math
  import cupy
  from cupy._core import internal
  from cupy._core._scalar import get_typename
  from cupy_backends.cuda.api import runtime
  from cupyx.scipy import special
  from cupyx.scipy.interpolate._bspline import BSpline, _get_dtype
  import numpy
label_desc: Use image node_id 4 for calling the _PPolyBase obj's underlying member method code with example usage: obj._ensure_c_contiguous() without return types