func conj(t1, t5 float64, dr, dd []float64) (t float64, Δd unit.Angle, err error) { var l5 *interp.Len5 if l5, err = interp.NewLen5(t1, t5, dr); err != nil { return } if t, err = l5.Zero(true); err != nil { return } if l5, err = interp.NewLen5(t1, t5, dd); err != nil { return } ΔdRad, err := l5.InterpolateXStrict(t) return t, unit.Angle(ΔdRad), err }
func conj(t1, t5 float64, dr, dd []float64) (t, Δd float64, err error) { var l5 *interp.Len5 if l5, err = interp.NewLen5(t1, t5, dr); err != nil { return } if t, err = l5.Zero(true); err != nil { return } if l5, err = interp.NewLen5(t1, t5, dd); err != nil { return } Δd, err = l5.InterpolateXStrict(t) return }