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