class_docstr: Base class for piecewise polynomials.
class_docstr_tok: ["Base","class","for","piecewise","polynomials","."]
docstr: Construct the piecewise polynomial without making checks.
  Takes the same parameters as the constructor. Input arguments
  ``c`` and ``x`` must be arrays of the correct shape and type. The
  ``c`` array can only be of dtypes float and complex, and ``x``
  array must have dtype float.
code: def construct_fast(cls, c, x, extrapolate=None, axis=0):
      """
      Construct the piecewise polynomial without making checks.
      Takes the same parameters as the constructor. Input arguments
      ``c`` and ``x`` must be arrays of the correct shape and type. The
      ``c`` array can only be of dtypes float and complex, and ``x``
      array must have dtype float.
      """
      self = object.__new__(cls)
      self.c = c
      self.x = x
      self.axis = axis
      if extrapolate is None:
          extrapolate = True
      self.extrapolate = extrapolate
      return self
  
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 3 for calling the _PPolyBase obj's underlying member method code with example usage: obj.construct_fast(cls, c, x, extrapolate, axis) and returns: self