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

Unify the definition of "monomial", introduce "term" #11746

Closed
boothby opened this issue Aug 25, 2011 · 2 comments
Closed

Unify the definition of "monomial", introduce "term" #11746

boothby opened this issue Aug 25, 2011 · 2 comments

Comments

@boothby
Copy link

boothby commented Aug 25, 2011

Consider:

    sage: R.<x> = QQ[]
    sage: S.<u,v> = QQ[]
    sage: f = 2*x
    sage: g = 2*u
    sage: f.is_monomial()
    True
    sage: g.is_monomial()
    False

According to Wikipedia, there are two conventions on the matter, and we should support both. I propose that we accept neither f nor g as monomials, and add the method is_term:

    sage: f.is_monomial()
    False
    sage: g.is_monomial()
    False
    sage: f.is_term()
    True
    sage: g.is_term()
    True

Component: commutative algebra

Keywords: sd32

Reviewer: William Stein

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

@boothby boothby added this to the sage-4.7.2 milestone Aug 25, 2011
@boothby boothby self-assigned this Aug 25, 2011
@williamstein
Copy link
Contributor

comment:1

This dup surely wouldn't happen if we were sitting right next to each other (which we are)! :-)

@sagetrac-mvngu sagetrac-mvngu mannequin removed this from the sage-4.7.2 milestone Aug 29, 2011
@nexttime
Copy link
Mannequin

nexttime mannequin commented Sep 29, 2011

Reviewer: William Stein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants