Skip to content

add helper function to compute all monomials of a given degree #34599

@yyyyx4

Description

@yyyyx4

This comes in handy occasionally:

sage: R.<x,y,z> = ZZ[]
sage: R.monomials_of_degree(3)
[x^3, x^2*y, x^2*z, x*y^2, x*y*z, x*z^2, y^3, y^2*z, y*z^2, z^3]

Component: algebra

Author: Lorenz Panny

Branch/Commit: c28b7e1

Reviewer: Marc Mezzarobba

Issue created by migration from https://trac.sagemath.org/ticket/34599

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions