1 <?xml version=
"1.0" encoding=
"UTF-8"?>
6 ***********************************************************************
8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
10 * Copyright 2008 by Sun Microsystems, Inc.
12 * OpenOffice.org - a multi-platform office productivity suite
14 * $RCSfile: 03091501.xhp,v $
17 * This file is part of OpenOffice.org.
19 * OpenOffice.org is free software: you can redistribute it and/or modify
20 * it under the terms of the GNU Lesser General Public License version 3
21 * only, as published by the Free Software Foundation.
23 * OpenOffice.org is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU Lesser General Public License version 3 for more details
27 * (a copy is included in the LICENSE file that accompanied this code).
29 * You should have received a copy of the GNU Lesser General Public License
30 * version 3 along with OpenOffice.org. If not, see
31 * <http://www.openoffice.org/license.html>
32 * for a copy of the LGPLv3 License.
34 ************************************************************************
38 <helpdocument version=
"1.0">
40 <topic id=
"textsmath0103091501xml" indexer=
"include" status=
"PUBLISH">
41 <title id=
"tit" xml-lang=
"en-US">Unary and Binary Operators
</title>
42 <filename>/text/smath/
01/
03091501.xhp
</filename>
46 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3149126"><bookmark_value>unary operators; list of
</bookmark_value>
47 <bookmark_value>binary operators; list of
</bookmark_value>
49 <paragraph role=
"heading" id=
"hd_id2897122" xml-lang=
"en-US" level=
"1" l10n=
"NEW"><variable id=
"unary"><link href=
"text/smath/01/03091501.xhp" name=
"Unary and Binary Operators">Unary and Binary Operators
</link>
50 </variable></paragraph>
51 <table id=
"tbl_id3150048" class=
"list">
53 <tablecell colspan=
"" rowspan=
"">
54 <paragraph role=
"tablehead" id=
"par_idN106F7" xml-lang=
"en-US" l10n=
"NEW">Typed command(s)
</paragraph>
56 <tablecell colspan=
"" rowspan=
"">
57 <paragraph role=
"tablehead" id=
"par_id3151388" xml-lang=
"en-US" l10n=
"U" oldref=
"472">Symbol in Formula Elements Window
</paragraph>
59 <tablecell colspan=
"" rowspan=
"">
60 <paragraph role=
"tablehead" id=
"par_id3155764" xml-lang=
"en-US" l10n=
"U" oldref=
"474">Meaning
</paragraph>
64 <tablecell colspan=
"" rowspan=
"">
65 <paragraph role=
"tablecontent" id=
"par_idN10967" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
66 <item type=
"literal">-
</item>
69 <tablecell colspan=
"" rowspan=
"">
70 <paragraph role=
"tablecontent" id=
"par_id3156276" xml-lang=
"en-US" l10n=
"E">
71 <image id=
"Graphic10" src=
"starmath/res/un21209.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
74 <tablecell colspan=
"" rowspan=
"">
75 <paragraph role=
"tablecontent" id=
"par_id3155125" xml-lang=
"en-US" l10n=
"U" oldref=
"38">Subtraction
</paragraph>
79 <tablecell colspan=
"" rowspan=
"">
80 <paragraph role=
"tablecontent" id=
"par_idN1075F" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
81 <item type=
"literal">-
</item>
84 <tablecell colspan=
"" rowspan=
"">
85 <paragraph role=
"tablecontent" id=
"par_id3163824" xml-lang=
"en-US" l10n=
"E">
86 <image id=
"Graphic21" src=
"starmath/res/un21202.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
89 <tablecell colspan=
"" rowspan=
"">
90 <paragraph role=
"tablecontent" id=
"par_id3151266" xml-lang=
"en-US" l10n=
"CHG" oldref=
"8">- Sign
</paragraph>
94 <tablecell colspan=
"" rowspan=
"">
95 <paragraph role=
"tablecontent" id=
"par_idN107E1" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
96 <item type=
"literal">-+
</item>
99 <tablecell colspan=
"" rowspan=
"">
100 <paragraph role=
"tablecontent" id=
"par_id3147514" xml-lang=
"en-US" l10n=
"E">
101 <image id=
"Graphic4" src=
"starmath/res/un21204.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
104 <tablecell colspan=
"" rowspan=
"">
105 <paragraph role=
"tablecontent" id=
"par_id3150358" xml-lang=
"en-US" l10n=
"U" oldref=
"12">Minus/Plus
</paragraph>
109 <tablecell colspan=
"" rowspan=
"">
110 <paragraph role=
"tablecontent" id=
"par_idN10A2A" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
111 <item type=
"literal">/
</item>
114 <tablecell colspan=
"" rowspan=
"">
115 <paragraph role=
"tablecontent" id=
"par_id3154821" xml-lang=
"en-US" l10n=
"E">
116 <image id=
"Graphic13" src=
"starmath/res/un21212.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
119 <tablecell colspan=
"" rowspan=
"">
120 <paragraph role=
"tablecontent" id=
"par_id3147106" xml-lang=
"en-US" l10n=
"U" oldref=
"52">Division
</paragraph>
124 <tablecell colspan=
"" rowspan=
"">
125 <paragraph role=
"tablecontent" id=
"par_idN108A4" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
126 <item type=
"literal">*
</item>
129 <tablecell colspan=
"" rowspan=
"">
130 <paragraph role=
"tablecontent" id=
"par_id3155179" xml-lang=
"en-US" l10n=
"E">
131 <image id=
"Graphic7" src=
"starmath/res/un21208.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
134 <tablecell colspan=
"" rowspan=
"">
135 <paragraph role=
"tablecontent" id=
"par_id3148972" xml-lang=
"en-US" l10n=
"U" oldref=
"42">Multiplication
</paragraph>
139 <tablecell colspan=
"" rowspan=
"">
140 <paragraph role=
"tablecontent" id=
"par_idN10863" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
141 <item type=
"literal">+
</item>
144 <tablecell colspan=
"" rowspan=
"">
145 <paragraph role=
"tablecontent" id=
"par_id3150832" xml-lang=
"en-US" l10n=
"E">
146 <image id=
"Graphic6" src=
"starmath/res/un21205.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
149 <tablecell colspan=
"" rowspan=
"">
150 <paragraph role=
"tablecontent" id=
"par_id3151332" xml-lang=
"en-US" l10n=
"U" oldref=
"34">Addition
</paragraph>
154 <tablecell colspan=
"" rowspan=
"">
155 <paragraph role=
"tablecontent" id=
"par_idN1071E" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
156 <item type=
"literal">+
</item>
159 <tablecell colspan=
"" rowspan=
"">
160 <paragraph role=
"tablecontent" id=
"par_id3145590" xml-lang=
"en-US" l10n=
"E">
161 <image id=
"Graphic2" src=
"starmath/res/un21201.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
164 <tablecell colspan=
"" rowspan=
"">
165 <paragraph role=
"tablecontent" id=
"par_id3148390" xml-lang=
"en-US" l10n=
"CHG" oldref=
"5">+ Sign
</paragraph>
169 <tablecell colspan=
"" rowspan=
"">
170 <paragraph role=
"tablecontent" id=
"par_idN107A0" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
171 <item type=
"literal">+-
</item>
174 <tablecell colspan=
"" rowspan=
"">
175 <paragraph role=
"tablecontent" id=
"par_id3150764" xml-lang=
"en-US" l10n=
"E">
176 <image id=
"Graphic3" src=
"starmath/res/un21203.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
179 <tablecell colspan=
"" rowspan=
"">
180 <paragraph role=
"tablecontent" id=
"par_id3153579" xml-lang=
"en-US" l10n=
"U" oldref=
"10">Plus/Minus
</paragraph>
184 <tablecell colspan=
"" rowspan=
"">
185 <paragraph role=
"tablecontent" id=
"par_idN10A6B" xml-lang=
"en-US" l10n=
"NEW">
186 <item type=
"literal">and
</item> or
<item type=
"literal">&</item>
189 <tablecell colspan=
"" rowspan=
"">
190 <paragraph role=
"tablecontent" id=
"par_id3146336" xml-lang=
"en-US" l10n=
"E">
191 <image id=
"Graphic14" src=
"starmath/res/un21214.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
194 <tablecell colspan=
"" rowspan=
"">
195 <paragraph role=
"tablecontent" id=
"par_id3155565" xml-lang=
"en-US" l10n=
"U" oldref=
"62">Boolean AND operation
</paragraph>
199 <tablecell colspan=
"" rowspan=
"">
200 <paragraph role=
"tablecontent" id=
"par_idN10C16" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
201 <item type=
"literal">boper
</item>
204 <tablecell colspan=
"" rowspan=
"">
205 <paragraph role=
"tablecontent" id=
"par_id3903317" xml-lang=
"en-US" l10n=
"NEW">No symbol. Usage:
</paragraph>
206 <paragraph role=
"tablecontent" id=
"par_id8633686" xml-lang=
"en-US" l10n=
"NEW">a boper %SYM1 b
</paragraph>
208 <tablecell colspan=
"" rowspan=
"">
209 <paragraph role=
"tablecontent" id=
"par_id3149632" xml-lang=
"en-US" l10n=
"CHG" oldref=
"136">Binary operator. A user-defined symbol follows, which is used as a binary operator.
</paragraph>
213 <tablecell colspan=
"" rowspan=
"">
214 <paragraph role=
"tablecontent" id=
"par_idN10BFC" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
215 <item type=
"literal">uoper
</item>
218 <tablecell colspan=
"" rowspan=
"">
219 <paragraph role=
"tablecontent" id=
"par_id1713309" xml-lang=
"en-US" l10n=
"NEW">No symbol. Usage:
</paragraph>
220 <paragraph role=
"tablecontent" id=
"par_id4594256" xml-lang=
"en-US" l10n=
"NEW">uoper %SYM2 b
</paragraph>
222 <tablecell colspan=
"" rowspan=
"">
223 <paragraph role=
"tablecontent" id=
"par_id3154624" xml-lang=
"en-US" l10n=
"CHG" oldref=
"28">Unary operator. A user-defined symbol follows, which is a used as a unary operator.
</paragraph>
227 <tablecell colspan=
"" rowspan=
"">
228 <paragraph role=
"tablecontent" id=
"par_idN108E5" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
229 <item type=
"literal">cdot
</item>
232 <tablecell colspan=
"" rowspan=
"">
233 <paragraph role=
"tablecontent" id=
"par_id3147212" xml-lang=
"en-US" l10n=
"E">
234 <image id=
"Graphic8" src=
"starmath/res/un21206.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
237 <tablecell colspan=
"" rowspan=
"">
238 <paragraph role=
"tablecontent" id=
"par_id3155143" xml-lang=
"en-US" l10n=
"U" oldref=
"44">Multiplication, small multiply symbol
</paragraph>
242 <tablecell colspan=
"" rowspan=
"">
243 <paragraph role=
"tablecontent" id=
"par_idN10AF5" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
244 <item type=
"literal">circ
</item>
247 <tablecell colspan=
"" rowspan=
"">
248 <paragraph role=
"tablecontent" id=
"par_id3151130" xml-lang=
"en-US" l10n=
"E">
249 <image id=
"Graphic16" src=
"starmath/res/un21221.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
252 <tablecell colspan=
"" rowspan=
"">
253 <paragraph role=
"tablecontent" id=
"par_id3156125" xml-lang=
"en-US" l10n=
"U" oldref=
"373">Concatenate symbols
</paragraph>
257 <tablecell colspan=
"" rowspan=
"">
258 <paragraph role=
"tablecontent" id=
"par_idN109E9" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
259 <item type=
"literal">div
</item>
262 <tablecell colspan=
"" rowspan=
"">
263 <paragraph role=
"tablecontent" id=
"par_id3147470" xml-lang=
"en-US" l10n=
"E">
264 <image id=
"Graphic12" src=
"starmath/res/un21211.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
267 <tablecell colspan=
"" rowspan=
"">
268 <paragraph role=
"tablecontent" id=
"par_id3145129" xml-lang=
"en-US" l10n=
"U" oldref=
"58">Division
</paragraph>
272 <tablecell colspan=
"" rowspan=
"">
273 <paragraph role=
"tablecontent" id=
"par_idN10822" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
274 <item type=
"literal">neg
</item>
277 <tablecell colspan=
"" rowspan=
"">
278 <paragraph role=
"tablecontent" id=
"par_id3151319" xml-lang=
"en-US" l10n=
"E">
279 <image id=
"Graphic5" src=
"starmath/res/un21213.png" width=
"0.25inch" height=
"0.25inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
282 <tablecell colspan=
"" rowspan=
"">
283 <paragraph role=
"tablecontent" id=
"par_id3147527" xml-lang=
"en-US" l10n=
"U" oldref=
"14">Boolean NOT
</paragraph>
287 <tablecell colspan=
"" rowspan=
"">
288 <paragraph role=
"tablecontent" id=
"par_idN10C02" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
289 <item type=
"literal">odivide
</item>
292 <tablecell colspan=
"" rowspan=
"">
293 <paragraph role=
"tablecontent" id=
"par_id3959776" xml-lang=
"en-US" l10n=
"NEW">No symbol.
</paragraph>
295 <tablecell colspan=
"" rowspan=
"">
296 <paragraph role=
"tablecontent" id=
"par_id3150729" xml-lang=
"en-US" l10n=
"U" oldref=
"56">Slash / in circle
</paragraph>
300 <tablecell colspan=
"" rowspan=
"">
301 <paragraph role=
"tablecontent" id=
"par_idN10BBE" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
302 <item type=
"literal">odot
</item>
305 <tablecell colspan=
"" rowspan=
"">
306 <paragraph role=
"tablecontent" id=
"par_id1206701" xml-lang=
"en-US" l10n=
"NEW">No symbol.
</paragraph>
308 <tablecell colspan=
"" rowspan=
"">
309 <paragraph role=
"tablecontent" id=
"par_id3151227" xml-lang=
"en-US" l10n=
"U" oldref=
"46">Small multiply symbol in circle
</paragraph>
313 <tablecell colspan=
"" rowspan=
"">
314 <paragraph role=
"tablecontent" id=
"par_idN10B9C" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
315 <item type=
"literal">ominus
</item>
318 <tablecell colspan=
"" rowspan=
"">
319 <paragraph role=
"tablecontent" id=
"par_id815759" xml-lang=
"en-US" l10n=
"NEW">No symbol.
</paragraph>
321 <tablecell colspan=
"" rowspan=
"">
322 <paragraph role=
"tablecontent" id=
"par_id3154841" xml-lang=
"en-US" l10n=
"U" oldref=
"40">Subtract symbol in circle
</paragraph>
326 <tablecell colspan=
"" rowspan=
"">
327 <paragraph role=
"tablecontent" id=
"par_idN10B7A" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
328 <item type=
"literal">oplus
</item>
331 <tablecell colspan=
"" rowspan=
"">
332 <paragraph role=
"tablecontent" id=
"par_id7664113" xml-lang=
"en-US" l10n=
"NEW">No symbol.
</paragraph>
334 <tablecell colspan=
"" rowspan=
"">
335 <paragraph role=
"tablecontent" id=
"par_id3148783" xml-lang=
"en-US" l10n=
"U" oldref=
"36">Add symbol in circle
</paragraph>
339 <tablecell colspan=
"" rowspan=
"">
340 <paragraph role=
"tablecontent" id=
"par_idN10AB0" xml-lang=
"en-US" l10n=
"NEW">
341 <item type=
"literal">or
</item> or
<item type=
"literal">|
</item>
344 <tablecell colspan=
"" rowspan=
"">
345 <paragraph role=
"tablecontent" id=
"par_id3147065" xml-lang=
"en-US" l10n=
"E">
346 <image id=
"Graphic15" src=
"starmath/res/un21215.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
349 <tablecell colspan=
"" rowspan=
"">
350 <paragraph role=
"tablecontent" id=
"par_id3153797" xml-lang=
"en-US" l10n=
"U" oldref=
"64">Boolean OR operation
</paragraph>
354 <tablecell colspan=
"" rowspan=
"">
355 <paragraph role=
"tablecontent" id=
"par_idN10BE0" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
356 <item type=
"literal">otimes
</item>
359 <tablecell colspan=
"" rowspan=
"">
360 <paragraph role=
"tablecontent" id=
"par_id7552110" xml-lang=
"en-US" l10n=
"NEW">No symbol.
</paragraph>
362 <tablecell colspan=
"" rowspan=
"">
363 <paragraph role=
"tablecontent" id=
"par_id3155380" xml-lang=
"en-US" l10n=
"U" oldref=
"50">Multiply symbol times in circle
</paragraph>
367 <tablecell colspan=
"" rowspan=
"">
368 <paragraph role=
"tablecontent" id=
"par_idN109A8" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
369 <item type=
"literal">over
</item>
372 <tablecell colspan=
"" rowspan=
"">
373 <paragraph role=
"tablecontent" id=
"par_id3148873" xml-lang=
"en-US" l10n=
"E">
374 <image id=
"Graphic11" src=
"starmath/res/un21210.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
377 <tablecell colspan=
"" rowspan=
"">
378 <paragraph role=
"tablecontent" id=
"par_id3150118" xml-lang=
"en-US" l10n=
"U" oldref=
"60">Division/Fraction
</paragraph>
382 <tablecell colspan=
"" rowspan=
"">
383 <paragraph role=
"tablecontent" id=
"par_idN10926" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
384 <item type=
"literal">times
</item>
387 <tablecell colspan=
"" rowspan=
"">
388 <paragraph role=
"tablecontent" id=
"par_id3147073" xml-lang=
"en-US" l10n=
"E">
389 <image id=
"Graphic9" src=
"starmath/res/un21207.png" width=
"0.3335inch" height=
"0.3335inch"><alt id=
"alt_" xml-lang=
"en-US">Icon
</alt>
392 <tablecell colspan=
"" rowspan=
"">
393 <paragraph role=
"tablecontent" id=
"par_id3151024" xml-lang=
"en-US" l10n=
"U" oldref=
"48">Multiplication
</paragraph>
397 <tablecell colspan=
"" rowspan=
"">
398 <paragraph role=
"tablecontent" id=
"par_idN10B58" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
399 <item type=
"literal">widebslash
</item>
402 <tablecell colspan=
"" rowspan=
"">
403 <paragraph role=
"tablecontent" id=
"par_id4930875" xml-lang=
"en-US" l10n=
"NEW">No symbol.
</paragraph>
405 <tablecell colspan=
"" rowspan=
"">
406 <paragraph role=
"tablecontent" id=
"par_id3149241" xml-lang=
"en-US" l10n=
"U" oldref=
"415">Backslash \ between two characters, of which the right is superscript, the left subscript
</paragraph>
410 <tablecell colspan=
"" rowspan=
"">
411 <paragraph role=
"tablecontent" id=
"par_idN10B36" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">
412 <item type=
"literal">wideslash
</item>
415 <tablecell colspan=
"" rowspan=
"">
416 <paragraph role=
"tablecontent" id=
"par_id4568620" xml-lang=
"en-US" l10n=
"NEW">No symbol.
</paragraph>
418 <tablecell colspan=
"" rowspan=
"">
419 <paragraph role=
"tablecontent" id=
"par_id3155587" xml-lang=
"en-US" l10n=
"U" oldref=
"413">Slash / between two characters, of which the left is superscript, the right subscript
</paragraph>
423 <section id=
"relatedtopics">
424 <embed href=
"text/smath/01/03090100.xhp#unaerbinaer"/>
425 <embed href=
"text/smath/01/03091500.xhp#reference"/>