Perseus
    Preparing search index...
    • Returns the coefficients {a, b, c} for f(x) = a·ln(b·x + c) given two points on the curve and the x-value of the vertical asymptote.

      Uses the inverse exponential approach: flip each coordinate (x, y) → (y, x), compute exponential coefficients from the flipped points, then invert.

      Returns undefined if the inputs are geometrically invalid (same y, a point on the asymptote, or points on opposite sides of the asymptote).

      Parameters

      • coords: readonly Coord[]
      • asymptote: number

      Returns coefficients.LogarithmCoefficient | undefined