Function expressionToString

  • Accepts a polynomial expression and return a string formatted

    Example

    // return -x^2 - 2x + 3
    expressionToString([-1, -2, 3], 'x')

    Parameters

    • expr: Complex[]
    • variable: string = 's'

      string to be used as the variable

    Returns string

Generated using TypeDoc