Skip to content

Add a function and macro that can expand polynomials #36

@dawnandrew100

Description

@dawnandrew100

While the polynomial parsing and evaluation works well for polynomials without parentheses, they don't work well with polynomials such as $(4x-3)^3$

Optimally, there should be some function that expands the equation $(4x-3)^3 \rightarrow 64x^3-144x^2+108x-27$

I'm thinking that this polynomial expansion function can be added to the simple polynomial parser, extended polynomial parser, and the ast polynomial parser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions