Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - List of all monomials
Author Message
  Post subject:  Re: List of all monomials  Reply with quote
Quote:
maxideal(d)
generates all monomials of degree d (as an ideal).
If you want to have them sorted wrt. the monomial ordering,
use
Quote:
LIB"general.lib";
sort(maxideal(d))[1];


Hans
Post Posted: Wed May 02, 2018 11:28 am
  Post subject:  List of all monomials  Reply with quote
Given a degree $d$, is there any way to list all monomials of degree $d$ in (decreasing / increasing) order with respect to the underlying monomial ordering?

One way I can think of is using string manipulation and multiple for loops, generate all monomials and then compare and then sort!
Was wondering if there is any better and efficient way!

Thanks
VInay
Post Posted: Tue May 01, 2018 8:28 am


It is currently Fri May 13, 2022 10:58 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group