Skip to content

Add display trait to functions in spindalis_core #43

@dawnandrew100

Description

@dawnandrew100

After the structs are created for the various polynomial parsers, a display trait should be added to each struct so that the outputs can be pretty printed. There are currently three degrees of polynomial struct that will be created:

  1. Simple Polynomial Struct
  2. Extended Polynomial Struct
  3. AST Polynomial Struct

The following functions should output a polynomial struct

  • parse_simple_polynomial
  • parse_polynomial_extended
  • indefinite_integral
  • simple_derivative
  • partial_derivative

Keep in mind that these functions may need to be modified to optionally take in either a polynomial struct or the appropriate rust equivalent
(eg. &[f64] for simple_derivative)

As of the writing of this issue, an AST parser does not yet exist, but a struct and associated display function should be added when they become available.

Metadata

Metadata

Assignees

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