Get Math Help

GET TUTORING NEAR ME!

(800) 434-2582

By submitting the following form, you agree to Club Z!'s Terms of Use and Privacy Policy

    Home / Get Math Help

    Function Order

    Usage

    Order[expr1, expr2] gives 1 if expr1 is before expr2 in canonical order, and -1 if expr1 is after expr2 in canonical order. It gives 0 if expr1 is identical to expr2.

    Basic example

    In[1]:={Order[a, a], Order[a, b], Order[b, a]}
Out[1]={0, 1, -1}

    Attribute

    Protected

    Relationships with other entities

    OrderedQ | NumericalOrder | LexicographicOrder | AlphabeticOrder | Equal | SameQ | Sort | SortBy | Signature | Ordering

    Relationships with other entities

    Typical ranks of usage in programs

    1216th most common (1 in 153000 symbols)

    2009th most common (1 in 48600 symbols)

    History

    introduced in Version 1 (June 1988)

    Timeline

    Timeline

    Back to List | POWERED BY THE WOLFRAM LANGUAGE