Thanks, Sergiu.  I don't use isympy and I can't find any documentation of
these options or how to use them directly with the print command.  Do you
know where any documentation is, or do you have an example using print?

Thanks,
David

On Wed, Jan 16, 2013 at 4:40 PM, Sergiu Ivanov <sergiu.v.iva...@gmail.com>wrote:

> Hello,
>
> On Wed, Jan 16, 2013 at 04:09:07AM -0800, David Ketcheson wrote:
> >
> > What options are available for specifying the order in which terms are
> > printed?  If I do
>
> [...]
>
> > I think I know what the logic here is, but I'd like to order terms by
> > increasing order of derivative (or increasing powers of h). How can I do
> > that?
>
> Try using the -o option of isympy:
>
> -o ORDER, --order ORDER
>
>     Setup the ordering of terms for printing.  The default is lex, which
>     orders terms lexicographically (e.g., x**2 + x + 1). You can choose
>     other orderings, such as rev-lex, which will use reverse
>     lexicographic ordering (e.g., 1 + x + x**2):
>
>         $isympy -o rev-lex
>
>     ORDER must be one of 'lex', 'rev-lex', 'grlex', 'rev-grlex',
>     'grevlex', 'rev-grevlex', 'old', or 'none'.
>
> I believe you can also specify the ordering directly when invoking the
> printing functions, which can be useful if you are not using isympy.
>
> Sergiu
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to