Infix notation

Infix notation

Infobox notation
logo=

Infix notation is the common arithmetic and logical formula notation, in which operators are written infix-style between the operands they act on (e.g. 2 + 2). It is not as simple to parse by computers as prefix notation ( e.g. + 2 2 ) or postfix notation ( e.g. 2 2 + ), but many programming languages use it due to its familiarity.

In infix notation, unlike in prefix or postfix notations, parentheses surrounding groups of operands and operators are necessary to indicate the intended order in which operations are to be performed. In the absence of parentheses, certain precedence rules determine the order of operations. These are explained in the order of operations article.

ee also

*postfix notation, also called Reverse Polish notation
*prefix notation, also called Polish notation
*Shunting yard algorithm, used to convert infix notation to postfix notation or to a tree

External links

* [http://www.xnumber.com/xnumber/rpn_or_adl.htm "RPN or DAL? A brief analysis of Reverse Polish Notation against Direct Algebraic Logic"]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • infix notation — in fix no*ta tion, n. (Computers) A notation for commands or instructions in which the operator is inserted between the terms on which it operates. Contrasted with {prefix notation} and {postfix notation} …   The Collaborative International Dictionary of English

  • infix notation — noun a notation for forming mathematical expressions using parentheses and governed by rules of operator precedence; operators are dispersed among the operands • Hypernyms: ↑mathematical notation * * * infix notation noun A form of algebraic… …   Useful english dictionary

  • infix notation — infiksinis užrašas statusas T sritis informatika apibrėžtis ↑Dvivietės operacijos užrašas, kai operacijos ženklas rašomas tarp operandų. Pavyzdžiui, a+b, a/b, a{{b. atitikmenys: angl. infix notation ryšiai: dar žiūrėk – dvivietė operacija… …   Enciklopedinis kompiuterijos žodynas

  • Infix-Notation — Die allgemein gebräuchliche Schreibweise von Rechenoperationen und formalen logischen Ausdrücken wird als Infixnotation bezeichnet, da sie die Operatoren zwischen die Operanden setzt. Zum Beispiel: 1 + 2 · 8 ÷ 12 Allerdings kann diese Darstellung …   Deutsch Wikipedia

  • infix notation — noun Notation where operators appear between operands, for example a+b …   Wiktionary

  • Notation — The term notation can refer to: Contents 1 Written communication 1.1 Biology and Medicine 1.2 Chemistry 1.3 Dance and movement …   Wikipedia

  • infix — I. transitive verb Etymology: Latin infixus, past participle of infigere, from in + figere to fasten more at fix Date: 1502 1. to fasten or fix by piercing or thrusting in 2. to impress firmly in the consciousness or disposition 3. to insert (as… …   New Collegiate Dictionary

  • infix — 1. verb /ˈɪnfɪks,ɪnˈfɪks/ a) To instill. b) To insert a morpheme inside an existing word. 2. noun /ˈɪnfɪks,ɪnˈfɪks/ A morpheme inserted inside an existing word, such as and in English. See Also …   Wiktionary

  • Notation (Mathematik) — Als Notation bezeichnet man in Mathematik, Logik und Informatik die Schreibweise von Formeln und Ausdrücken mittels mathematischer Symbole. Die mathematische Notation entspricht einer Sprache, die formaler ist als viele natürliche Sprachen und… …   Deutsch Wikipedia

  • Notation infixée — Notations infixée, préfixée, polonaise et postfixée La notation infixée est la forme d écriture standard des expressions mathématiques dans laquelle les opérateurs sont écrits entre les opérandes, par exemple 2 + ( 5 3 ). La notation préfixée est …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”