def splantider(tck, n=1):
 if isinstance(tck, BSpline):
  return tck.antiderivative(n)
 else:
  return _impl.splantider(tck, n)

def splantider ( tck , n = 1 ) : if isinstance ( tck , BSpline ) : return tck . antiderivative ( n ) else : return _impl . splantider ( tck , n )
compute the spline for the antiderivative of a given spline .