scipy.interpolate.NdPPoly. construct_fast# classmethod NdPPoly.construct_fast(c, x, extrapolate=None)[source]# 构造分段多项式,无需进行检查。 采用与构造函数相同的参数。输入参数 c 和 x 必须是具有正确形状和类型的数组。c 数组只能是 float 和 complex 的 dtypes,而 x 数组必须具有 dtype float。