Each interior slope starts as the mean of its two secants, or zero where
they differ in sign or either is zero; a segment whose slope ratios leave
the circle of radius 3 has both scaled back onto it; an open curve's end
slopes are its end secants. A periodic curve takes secants across the
wrap. One knot gives slope 0.
Write the slope at each of
nknots.Each interior slope starts as the mean of its two secants, or zero where they differ in sign or either is zero; a segment whose slope ratios leave the circle of radius 3 has both scaled back onto it; an open curve's end slopes are its end secants. A periodic curve takes secants across the wrap. One knot gives slope 0.