1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textsmath0103091501xml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Unary and Binary Operators</title>
28<filename>/text/smath/01/03091501.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3149126">
33<bookmark_value>unary operators; list of</bookmark_value>
34<bookmark_value>binary operators; list of</bookmark_value>
35</bookmark>
36<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>
37</variable></paragraph>
38<table id="tbl_id3150048" class="list">
39<tablerow>
40<tablecell colspan="" rowspan="">
41<paragraph role="tablehead" id="par_idN106F7" xml-lang="en-US" l10n="NEW">Typed command(s)</paragraph>
42</tablecell>
43<tablecell colspan="" rowspan="">
44<paragraph role="tablehead" id="par_id3151388" xml-lang="en-US" l10n="U">Symbol in Elements Window</paragraph>
45</tablecell>
46<tablecell colspan="" rowspan="">
47<paragraph role="tablehead" id="par_id3155764" xml-lang="en-US" l10n="U">Meaning</paragraph>
48</tablecell>
49</tablerow>
50<tablerow>
51<tablecell colspan="" rowspan="">
52<paragraph role="tablecontent" id="par_idN10967" xml-lang="en-US" l10n="NEW" localize="false">
53<item type="literal">-</item>
54</paragraph>
55</tablecell>
56<tablecell colspan="" rowspan="">
57<paragraph role="tablecontent" id="par_id3156276" xml-lang="en-US" l10n="E">
58<image id="Graphic10" src="starmath/res/un21209.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
59</image></paragraph>
60</tablecell>
61<tablecell colspan="" rowspan="">
62<paragraph role="tablecontent" id="par_id3155125" xml-lang="en-US" l10n="U">Subtraction</paragraph>
63</tablecell>
64</tablerow>
65<tablerow>
66<tablecell colspan="" rowspan="">
67<paragraph role="tablecontent" id="par_idN1075F" xml-lang="en-US" l10n="NEW" localize="false">
68<item type="literal">-</item>
69</paragraph>
70</tablecell>
71<tablecell colspan="" rowspan="">
72<paragraph role="tablecontent" id="par_id3163824" xml-lang="en-US" l10n="E">
73<image id="Graphic21" src="starmath/res/un21202.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
74</image></paragraph>
75</tablecell>
76<tablecell colspan="" rowspan="">
77<paragraph role="tablecontent" id="par_id3151266" xml-lang="en-US" l10n="CHG">- Sign</paragraph>
78</tablecell>
79</tablerow>
80<tablerow>
81<tablecell colspan="" rowspan="">
82<paragraph role="tablecontent" id="par_idN107E1" xml-lang="en-US" l10n="NEW" localize="false">
83<item type="literal">-+</item>
84</paragraph>
85</tablecell>
86<tablecell colspan="" rowspan="">
87<paragraph role="tablecontent" id="par_id3147514" xml-lang="en-US" l10n="E">
88<image id="Graphic4" src="starmath/res/un21204.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
89</image></paragraph>
90</tablecell>
91<tablecell colspan="" rowspan="">
92<paragraph role="tablecontent" id="par_id3150358" xml-lang="en-US" l10n="U">Minus/Plus</paragraph>
93</tablecell>
94</tablerow>
95<tablerow>
96<tablecell colspan="" rowspan="">
97<paragraph role="tablecontent" id="par_idN10A2A" xml-lang="en-US" l10n="NEW" localize="false">
98<item type="literal">/</item>
99</paragraph>
100</tablecell>
101<tablecell colspan="" rowspan="">
102<paragraph role="tablecontent" id="par_id3154821" xml-lang="en-US" l10n="E">
103<image id="Graphic13" src="starmath/res/un21212.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
104</image></paragraph>
105</tablecell>
106<tablecell colspan="" rowspan="">
107<paragraph role="tablecontent" id="par_id3147106" xml-lang="en-US" l10n="U">Division</paragraph>
108</tablecell>
109</tablerow>
110<tablerow>
111<tablecell colspan="" rowspan="">
112<paragraph role="tablecontent" id="par_idN108A4" xml-lang="en-US" l10n="NEW" localize="false">
113<item type="literal">*</item>
114</paragraph>
115</tablecell>
116<tablecell colspan="" rowspan="">
117<paragraph role="tablecontent" id="par_id3155179" xml-lang="en-US" l10n="E">
118<image id="Graphic7" src="starmath/res/un21208.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
119</image></paragraph>
120</tablecell>
121<tablecell colspan="" rowspan="">
122<paragraph role="tablecontent" id="par_id3148972" xml-lang="en-US" l10n="U">Multiplication</paragraph>
123</tablecell>
124</tablerow>
125<tablerow>
126<tablecell colspan="" rowspan="">
127<paragraph role="tablecontent" id="par_idN10863" xml-lang="en-US" l10n="NEW" localize="false">
128<item type="literal">+</item>
129</paragraph>
130</tablecell>
131<tablecell colspan="" rowspan="">
132<paragraph role="tablecontent" id="par_id3150832" xml-lang="en-US" l10n="E">
133<image id="Graphic6" src="starmath/res/un21205.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
134</image></paragraph>
135</tablecell>
136<tablecell colspan="" rowspan="">
137<paragraph role="tablecontent" id="par_id3151332" xml-lang="en-US" l10n="U">Addition</paragraph>
138</tablecell>
139</tablerow>
140<tablerow>
141<tablecell colspan="" rowspan="">
142<paragraph role="tablecontent" id="par_idN1071E" xml-lang="en-US" l10n="NEW" localize="false">
143<item type="literal">+</item>
144</paragraph>
145</tablecell>
146<tablecell colspan="" rowspan="">
147<paragraph role="tablecontent" id="par_id3145590" xml-lang="en-US" l10n="E">
148<image id="Graphic2" src="starmath/res/un21201.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
149</image></paragraph>
150</tablecell>
151<tablecell colspan="" rowspan="">
152<paragraph role="tablecontent" id="par_id3148390" xml-lang="en-US" l10n="CHG">+ Sign</paragraph>
153</tablecell>
154</tablerow>
155<tablerow>
156<tablecell colspan="" rowspan="">
157<paragraph role="tablecontent" id="par_idN107A0" xml-lang="en-US" l10n="NEW" localize="false">
158<item type="literal">+-</item>
159</paragraph>
160</tablecell>
161<tablecell colspan="" rowspan="">
162<paragraph role="tablecontent" id="par_id3150764" xml-lang="en-US" l10n="E">
163<image id="Graphic3" src="starmath/res/un21203.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
164</image></paragraph>
165</tablecell>
166<tablecell colspan="" rowspan="">
167<paragraph role="tablecontent" id="par_id3153579" xml-lang="en-US" l10n="U">Plus/Minus</paragraph>
168</tablecell>
169</tablerow>
170<tablerow>
171<tablecell colspan="" rowspan="">
172<paragraph role="tablecontent" id="par_idN10A6B" xml-lang="en-US" l10n="NEW">
173<item type="literal">and</item> or <item type="literal">&amp;</item>
174</paragraph>
175</tablecell>
176<tablecell colspan="" rowspan="">
177<paragraph role="tablecontent" id="par_id3146336" xml-lang="en-US" l10n="E">
178<image id="Graphic14" src="starmath/res/un21214.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
179</image></paragraph>
180</tablecell>
181<tablecell colspan="" rowspan="">
182<paragraph role="tablecontent" id="par_id3155565" xml-lang="en-US" l10n="U">Boolean AND operation</paragraph>
183</tablecell>
184</tablerow>
185<tablerow>
186<tablecell colspan="" rowspan="">
187<paragraph role="tablecontent" id="par_idN10C16" xml-lang="en-US" l10n="NEW" localize="false">
188<item type="literal">boper</item>
189</paragraph>
190</tablecell>
191<tablecell colspan="" rowspan="">
192<paragraph role="tablecontent" id="par_id3903317" xml-lang="en-US" l10n="NEW">No symbol. Usage:</paragraph>
193<paragraph role="tablecontent" id="par_id8633686" xml-lang="en-US" l10n="NEW">a boper %SYM1 b</paragraph>
194</tablecell>
195<tablecell colspan="" rowspan="">
196<paragraph role="tablecontent" id="par_id3149632" xml-lang="en-US" l10n="CHG">Binary operator. A user-defined symbol follows, which is used as a binary operator.</paragraph>
197</tablecell>
198</tablerow>
199<tablerow>
200<tablecell colspan="" rowspan="">
201<paragraph role="tablecontent" id="par_idN10BFC" xml-lang="en-US" l10n="NEW" localize="false">
202<item type="literal">uoper</item>
203</paragraph>
204</tablecell>
205<tablecell colspan="" rowspan="">
206<paragraph role="tablecontent" id="par_id1713309" xml-lang="en-US" l10n="NEW">No symbol. Usage:</paragraph>
207<paragraph role="tablecontent" id="par_id4594256" xml-lang="en-US" l10n="NEW">uoper %SYM2 b</paragraph>
208</tablecell>
209<tablecell colspan="" rowspan="">
210<paragraph role="tablecontent" id="par_id3154624" xml-lang="en-US" l10n="CHG">Unary operator. A user-defined symbol follows, which is a used as a unary operator.</paragraph>
211</tablecell>
212</tablerow>
213<tablerow>
214<tablecell colspan="" rowspan="">
215<paragraph role="tablecontent" id="par_idN108E5" xml-lang="en-US" l10n="NEW" localize="false">
216<item type="literal">cdot</item>
217</paragraph>
218</tablecell>
219<tablecell colspan="" rowspan="">
220<paragraph role="tablecontent" id="par_id3147212" xml-lang="en-US" l10n="E">
221<image id="Graphic8" src="starmath/res/un21206.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
222</image></paragraph>
223</tablecell>
224<tablecell colspan="" rowspan="">
225<paragraph role="tablecontent" id="par_id3155143" xml-lang="en-US" l10n="U">Multiplication, small multiply symbol</paragraph>
226</tablecell>
227</tablerow>
228<tablerow>
229<tablecell colspan="" rowspan="">
230<paragraph role="tablecontent" id="par_idN10AF5" xml-lang="en-US" l10n="NEW" localize="false">
231<item type="literal">circ</item>
232</paragraph>
233</tablecell>
234<tablecell colspan="" rowspan="">
235<paragraph role="tablecontent" id="par_id3151130" xml-lang="en-US" l10n="E">
236<image id="Graphic16" src="starmath/res/un21221.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
237</image></paragraph>
238</tablecell>
239<tablecell colspan="" rowspan="">
240<paragraph role="tablecontent" id="par_id3156125" xml-lang="en-US" l10n="U">Concatenate symbols</paragraph>
241</tablecell>
242</tablerow>
243<tablerow>
244<tablecell colspan="" rowspan="">
245<paragraph role="tablecontent" id="par_idN109E9" xml-lang="en-US" l10n="NEW" localize="false">
246<item type="literal">div</item>
247</paragraph>
248</tablecell>
249<tablecell colspan="" rowspan="">
250<paragraph role="tablecontent" id="par_id3147470" xml-lang="en-US" l10n="E">
251<image id="Graphic12" src="starmath/res/un21211.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
252</image></paragraph>
253</tablecell>
254<tablecell colspan="" rowspan="">
255<paragraph role="tablecontent" id="par_id3145129" xml-lang="en-US" l10n="U">Division</paragraph>
256</tablecell>
257</tablerow>
258<tablerow>
259<tablecell colspan="" rowspan="">
260<paragraph role="tablecontent" id="par_idN10822" xml-lang="en-US" l10n="NEW" localize="false">
261<item type="literal">neg</item>
262</paragraph>
263</tablecell>
264<tablecell colspan="" rowspan="">
265<paragraph role="tablecontent" id="par_id3151319" xml-lang="en-US" l10n="E">
266<image id="Graphic5" src="starmath/res/un21213.png" width="0.25inch" height="0.25inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
267</image></paragraph>
268</tablecell>
269<tablecell colspan="" rowspan="">
270<paragraph role="tablecontent" id="par_id3147527" xml-lang="en-US" l10n="U">Boolean NOT</paragraph>
271</tablecell>
272</tablerow>
273<tablerow>
274<tablecell colspan="" rowspan="">
275<paragraph role="tablecontent" id="par_idN10C02" xml-lang="en-US" l10n="NEW" localize="false">
276<item type="literal">odivide</item>
277</paragraph>
278</tablecell>
279<tablecell colspan="" rowspan="">
280<paragraph role="tablecontent" id="par_id3959776" xml-lang="en-US" l10n="NEW">No symbol.</paragraph>
281</tablecell>
282<tablecell colspan="" rowspan="">
283<paragraph role="tablecontent" id="par_id3150729" xml-lang="en-US" l10n="U">Slash / in circle</paragraph>
284</tablecell>
285</tablerow>
286<tablerow>
287<tablecell colspan="" rowspan="">
288<paragraph role="tablecontent" id="par_idN10BBE" xml-lang="en-US" l10n="NEW" localize="false">
289<item type="literal">odot</item>
290</paragraph>
291</tablecell>
292<tablecell colspan="" rowspan="">
293<paragraph role="tablecontent" id="par_id1206701" xml-lang="en-US" l10n="NEW">No symbol.</paragraph>
294</tablecell>
295<tablecell colspan="" rowspan="">
296<paragraph role="tablecontent" id="par_id3151227" xml-lang="en-US" l10n="U">Small multiply symbol in circle</paragraph>
297</tablecell>
298</tablerow>
299<tablerow>
300<tablecell colspan="" rowspan="">
301<paragraph role="tablecontent" id="par_idN10B9C" xml-lang="en-US" l10n="NEW" localize="false">
302<item type="literal">ominus</item>
303</paragraph>
304</tablecell>
305<tablecell colspan="" rowspan="">
306<paragraph role="tablecontent" id="par_id815759" xml-lang="en-US" l10n="NEW">No symbol.</paragraph>
307</tablecell>
308<tablecell colspan="" rowspan="">
309<paragraph role="tablecontent" id="par_id3154841" xml-lang="en-US" l10n="U">Subtract symbol in circle</paragraph>
310</tablecell>
311</tablerow>
312<tablerow>
313<tablecell colspan="" rowspan="">
314<paragraph role="tablecontent" id="par_idN10B7A" xml-lang="en-US" l10n="NEW" localize="false">
315<item type="literal">oplus</item>
316</paragraph>
317</tablecell>
318<tablecell colspan="" rowspan="">
319<paragraph role="tablecontent" id="par_id7664113" xml-lang="en-US" l10n="NEW">No symbol.</paragraph>
320</tablecell>
321<tablecell colspan="" rowspan="">
322<paragraph role="tablecontent" id="par_id3148783" xml-lang="en-US" l10n="U">Add symbol in circle</paragraph>
323</tablecell>
324</tablerow>
325<tablerow>
326<tablecell colspan="" rowspan="">
327<paragraph role="tablecontent" id="par_idN10AB0" xml-lang="en-US" l10n="NEW">
328<item type="literal">or</item> or <item type="literal">|</item>
329</paragraph>
330</tablecell>
331<tablecell colspan="" rowspan="">
332<paragraph role="tablecontent" id="par_id3147065" xml-lang="en-US" l10n="E">
333<image id="Graphic15" src="starmath/res/un21215.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
334</image></paragraph>
335</tablecell>
336<tablecell colspan="" rowspan="">
337<paragraph role="tablecontent" id="par_id3153797" xml-lang="en-US" l10n="U">Boolean OR operation</paragraph>
338</tablecell>
339</tablerow>
340<tablerow>
341<tablecell colspan="" rowspan="">
342<paragraph role="tablecontent" id="par_idN10BE0" xml-lang="en-US" l10n="NEW" localize="false">
343<item type="literal">otimes</item>
344</paragraph>
345</tablecell>
346<tablecell colspan="" rowspan="">
347<paragraph role="tablecontent" id="par_id7552110" xml-lang="en-US" l10n="NEW">No symbol.</paragraph>
348</tablecell>
349<tablecell colspan="" rowspan="">
350<paragraph role="tablecontent" id="par_id3155380" xml-lang="en-US" l10n="U">Multiply symbol times in circle</paragraph>
351</tablecell>
352</tablerow>
353<tablerow>
354<tablecell colspan="" rowspan="">
355<paragraph role="tablecontent" id="par_idN109A8" xml-lang="en-US" l10n="NEW" localize="false">
356<item type="literal">over</item>
357</paragraph>
358</tablecell>
359<tablecell colspan="" rowspan="">
360<paragraph role="tablecontent" id="par_id3148873" xml-lang="en-US" l10n="E">
361<image id="Graphic11" src="starmath/res/un21210.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
362</image></paragraph>
363</tablecell>
364<tablecell colspan="" rowspan="">
365<paragraph role="tablecontent" id="par_id3150118" xml-lang="en-US" l10n="U">Division/Fraction</paragraph>
366</tablecell>
367</tablerow>
368<tablerow>
369<tablecell colspan="" rowspan="">
370<paragraph role="tablecontent" id="par_idN10926" xml-lang="en-US" l10n="NEW" localize="false">
371<item type="literal">times</item>
372</paragraph>
373</tablecell>
374<tablecell colspan="" rowspan="">
375<paragraph role="tablecontent" id="par_id3147073" xml-lang="en-US" l10n="E">
376<image id="Graphic9" src="starmath/res/un21207.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
377</image></paragraph>
378</tablecell>
379<tablecell colspan="" rowspan="">
380<paragraph role="tablecontent" id="par_id3151024" xml-lang="en-US" l10n="U">Multiplication</paragraph>
381</tablecell>
382</tablerow>
383<tablerow>
384<tablecell colspan="" rowspan="">
385<paragraph role="tablecontent" id="par_idN10B58" xml-lang="en-US" l10n="NEW" localize="false">
386<item type="literal">widebslash</item>
387</paragraph>
388</tablecell>
389<tablecell colspan="" rowspan="">
390<paragraph role="tablecontent" id="par_id4930875" xml-lang="en-US" l10n="NEW">
391<image id="Graphic17" src="starmath/res/un21223.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
392</image></paragraph>
393</tablecell>
394<tablecell colspan="" rowspan="">
395<paragraph role="tablecontent" id="par_id3149241" xml-lang="en-US" l10n="U">Backslash \ between two characters, of which the right is superscript, the left subscript</paragraph>
396</tablecell>
397</tablerow>
398<tablerow>
399<tablecell colspan="" rowspan="">
400<paragraph role="tablecontent" id="par_idN10B36" xml-lang="en-US" l10n="NEW" localize="false">
401<item type="literal">wideslash</item>
402</paragraph>
403</tablecell>
404<tablecell colspan="" rowspan="">
405<paragraph role="tablecontent" id="par_id4568620" xml-lang="en-US" l10n="NEW">
406<image id="Graphic18" src="starmath/res/un21222.png" width="0.3335inch" height="0.3335inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
407</image></paragraph>
408</tablecell>
409<tablecell colspan="" rowspan="">
410<paragraph role="tablecontent" id="par_id3155587" xml-lang="en-US" l10n="U">Slash / between two characters, of which the left is superscript, the right subscript</paragraph>
411</tablecell>
412</tablerow>
413</table>
414<section id="relatedtopics">
415<embed href="text/smath/01/03090100.xhp#unaerbinaer"/>
416<embed href="text/smath/01/03091500.xhp#reference"/>
417</section>
418</body>
419</helpdocument>
420