Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Polynomial] Simplified polynomial's coefficients retrieving API #27

Open
lounres opened this issue Oct 6, 2022 · 0 comments
Open

[Polynomial] Simplified polynomial's coefficients retrieving API #27

lounres opened this issue Oct 6, 2022 · 0 comments
Labels
enhancement New feature or request module:main:polynomial Concerns the [Polynomial] module

Comments

@lounres
Copy link
Owner

lounres commented Oct 6, 2022

Implement API for retrieving coefficients of multivariate polynomials like:

val polynomial: LabelledPolynomial<C> = ...

val coefficient1 = polynomial[{ x pow 3u; y pow 1u; z pow 15u }] // Signature description as in DSL1
val coefficient2 = polynomial[mapOf(x to 3u, y to 1u, z to 15u)] // Just a `get` function delegated by `polynomial` to `polynomial.coefficients`
@lounres lounres added the enhancement New feature or request label Oct 6, 2022
@lounres lounres changed the title Polynomials: Simplified polynomial's coefficients retrieving API [Polynomial] Simplified polynomial's coefficients retrieving API Mar 24, 2023
@lounres lounres added the module:main:polynomial Concerns the [Polynomial] module label Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module:main:polynomial Concerns the [Polynomial] module
Projects
None yet
Development

No branches or pull requests

1 participant