Skip to content

Enhance Laurent polynomial ring code and API #2199

@fingolfin

Description

@fingolfin

This concerns both LaurentPolyWrapRing and LaurentMPolyWrapRing and their elements

  • rename LaurentPolyWrap to LaurentPolyWrapRingElem (and add a type alias for backwards compatibility)
  • rename LaurentMPolyWrap to LaurentMPolyWrapRingElem (and add a type alias for backwards compatibility)
  • ensure change_coefficient_ring works correctly (in particular, add tests)
  • add laurent_poly_ring_type and laurent_mpoly_ring_type helpers (analog to dense_poly_ring_type and mpoly_ring_type)
  • likewise add laurent_poly_type and laurent_mpoly_type
  • document these helpers in docs/src/laurent_polynomial.md resp. docs/src/laurent_mpolynomial.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions