Professional Documents
Culture Documents
Formula CommandRef0 4 1
Formula CommandRef0 4 1
org HowTo:
Formula Command Reference
Formula Command Reference 0.4 First edition: 05 June 2003 First English edition: 05 June 2003
Contents
Contents
Table of Contents
Contents........................................................................................................................................... 2 Overvie ..........................................................................................................................................3 Co!"right and trademar# information..............................................................................................3 Feed$ac#.......................................................................................................................................... 3 %c#no ledgments............................................................................................................................3 &odifications and u!dates............................................................................................................... 4 Command Reference........................................................................................................................5 Commands...................................................................................................................................5 'nar" ( )inar" O!erators........................................................................................................5 Relational O!erators............................................................................................................... * +et O!erations........................................................................................................................ , Functions................................................................................................................................ O!erators................................................................................................................................ . %ttri$utes.............................................................................................................................. /0 Others................................................................................................................................... /2 )rac#ets................................................................................................................................ /3 Formats................................................................................................................................. /4 Characters................................................................................................................................../5 0ree#.................................................................................................................................... /5 +!ecial.................................................................................................................................. /5
ii
Overview
Overview
O!enOffice.org1s $urgeoning !o!ularit" has increased the need for a com!rehensive set of 2o 3os to aid users.
Feedback
5lease direct an" comments or suggestions a$out this document to: dev:documentation.o!enoffice.org
Acknowledgments
3his document as ins!ired $" the de.O!enOffice.org 0erman language Formula 2o ;3o. 8a"out is in accordance ith the O!enOffice.org +t"le 0uide for '.+. <ocumentation
Document Revision
0./
Date
0*(05(03
Description of Change
=nitial edition issued for comment %dded ta$le >Commands6 attri$utes ? continued.@ sho ing font colors6 and commands s itching from serif to sans serif fonts. Fred +aal$ach &inor corrections to additions to a$ove. =an 8aurenson Revised ta$le of contents. Fred +aal$ach
Command Reference
Command Reference
Commands
Unary !inary Operators
Operation
Asign ;sign A(; sign ;(A sign )oolean not %ddition A &ulti!lication dot &ulti!lication BCD &ulti!lication BED )oolean and +u$traction B;D <ivision BfractionD <ivision Bo!erandD <ivision BslashD )oolean or Concatenate
Command
A/ ;/ A;/ neg / neg a aA$ a cdot $ a times $ aE$ a and $ a;$ a over $ a div $ a($ a or $ a circ $
Display
/ / / /
a a b
ab
a b a b ab a b
a b
a b a /b ab ab
Command Reference
Relational Operators
Operation
=s eFual =s not eFual %!!roJimatel" <ivides <oes not divide 8ess than 0reater than +imilar to or eFual 5arallel Orthogonal to 8ess than or eFual to 0reater than or eFual to +imilar to Congruent 8ess than or eFual to 0reater than or eFual to 5ro!ortional 3o ard %rro left <ou$le arro left and right %rro right Table 2Commands, relations.
Command
aG$ a HI $ a a!!roJ 2 a divides $ a ndivides $ aH2 aI2 a simeF $ a !arallel $ a ortho $ a leslant $ a geslant $ a sim $ a eFuiv $ a HG $ a IG $ a !ro! $ a to ard $ a dlarro $ a dlrarro $ a drarro $
Display
a= b
a2 a 2
ab ab
a2 a2
a b
ab
ab a b a b a~b a b a b a b a b a b a b a!b a"b
Command Reference
"et Operations
Operation
=s in =s not in O ens Em!t" set =ntersection 'nion <ifference Kuotient %le!h +u$set +u$set or eFual to +u!erset +u!erset or eFual to 7ot su$set 7ot su$set or eFual 7ot su!erset 7ot +u!erset or eFual 7atural 7um$ers +et +et of =ntegers +et of rational num$ers +et of real num$ers +et of com!leJ num$ers Table 3Commands, set operators.
Command
a in $ a notin $ a o ns $ em!t"set a intersection $ a union $ a setminus $ a slash $ ale!h a su$set $ a su$seteF $ a su!set $ a su!seteF $ a nsu$set $ a nsu$seteF $ a nsu!set $ a nsu!seteF $ set7 setL setK setR setC
Display
a #b a $b a %b
&
a' b a( b a )b a /b
*
a+ b a, b a-b a. b a/ b a0 b a1b a2 b
3 4 5 6 7
Command Reference
Functions
Operation
EJ!onential 7atural logarithm EJ!onential function 8ogarithm 5o er +ine Cosine 3angent Cotangent +Fuare root %rcsine %rc cosine %rctangent %rc cotangent n root 2"!er$olic sine 2"!er$olic cosine 2"!er$olic tangent 2"!er$olic cotangent %$solute value %rc h"!er$olic sine %rc h"!er$olic cosine %rc h"!er$olic tangent %rc h"!er$olic cotangent factorial Table 4Commands, function.
th
Command
func eMNaO lnBaD eJ!BaD logBaD aMN$O sinBaD cosBaD tanBaD cotBaD sFrtNaO arcsinBaD arccosBaD arctanBaD arccotBaD nrootNaON$O sinhBaD coshBaD tanhBaD cothBaD a$sNaO arsinhBaD arccoshBaD arctanhBaD arccothBaD factBaD
Display
ea
ln 8 a 9 eJ! 8 a 9 log 8 a 9
ab
:a
arcsin 8 a 9 arccos 8 a 9 arctan 8 a 9 arccot 8 a 9
a b :
a
arsinh 8 a 9 arcosh 8 a 9 artanh 8 a 9 arcoth 8 a 9 a;
Command Reference
Operators %ll o!erators can $e used ith the limit functions B>from@ and >to@D
Operation
8imit +um 5roduct Co!roduct 8imits from and to Bsho n ith intigralD =ntigral <ou$le intigral 3ri!!le =ntigral 8o er limit sho n ith summation s"m$ol Curved intigeral <ou$le curved intigeral 3ri!!le curved intigeral '!!er limit sho n ith !roduct s"m$ol Table 5Commands, operators.
Command
8imBaD sumBaD !rodBaD co!rodBaD int from NrP0O to NrPtO a
Display
lim a
<a =a >a
?a
r0 rt
intNaO iintNaO iiintNaO sum fromN3O$ lint a llint a lllint a !rod toN3O r
?a @a Aa <b
3
Ba Ca Da
=r
3
Command Reference
Attributes
Operation
%cute accent 0rave accent Reverse circumfleJ )reve Circle 9ector arro 3ilde CircumfleJ 8ine a$ove <ot Qide vector arro Qide tilde Qide circumfleJ <ou$le dot 8ine over 8ine under 8ine through Ri!!le dot 3rans!arent Buseful to get a !laceholder of a given siReD )old font =talic font
/
Command
acute a grave a chec# a $reve a circle a vec a tilde a hat a $ar a dot a idevec a$c idetilde a$c idehat a$c ddot overline a$c 'nderline a$c overstri#e ac$ dddot a !hantom a $old a
ital a
Display
a E a F a G a H a I a J a K a L a M a N
J abc K a bc L abc
a O
a a
siRe /* Fv
/ 'nFuoted teJt that isn1t a command is considered to $e a varia$le. 9aria$les are6 $" default6 italiciRed. OpenOffice.org Formula Command Reference 10
Command Reference
%ttri$utes Continued
Operation
Following item in sans serif font2 Following item in serif font Following item in fixed font Make color of following text cyan Make color of following text yellow Make color of following text green Make color of following text blue Make color of following text white Make color of following text red Make color green returns to default color black Brace items to change color of more than one item
Command
font sans qv font serif qv font fiJed qv color c"an qv color "ello qv color green qv color blue qv color white qv color red qv color green C qv color green {X qv}
Display
qv q
qv
q q q
q q
q
"q "q
2 3here are three custom fonts6 sans serif B ithout #ic#sD6 serifs B ith #ic#sD6 and fiJed Bnon !ro!ortionalD. 3o change the actual fonts used for custom fonts and the fonts used for varia$les BunFuoted teJtD6 num$ers and functions6 use: Format > Fonts. OpenOffice.org Formula Command Reference 11
Command Reference
Others
Operation
=nfinit" 5artial 7a$la 3here eJists For all 2 $ar 8am$da $ar Real !art =maginar" !art Qeierstrss ! 8eft arro Right arro '! arro <o n arro <ots at $ottom <ots at middle <ots vertical <ots diagonal u! ard <ots diagonal do n ard Table %Commands, ot&ers.
Command
infinit" !artial na$la eJists forall h$ar lam$da$ar re im ! leftarro rightarro u!arro do narro dotslo dotsaJis dotsvert dotsu! dotsdo n
Display
Q R S T U
Va W X Y Z
[ \ ] ^ _ ` a b
12
Command Reference
!rackets
Operation
Round )rac#ets +Fuare )rac#ets <ou$le +Fuare )rac#ets +ingle line <ou$le line )races %ngle )rac#ets O!erator )rac#ets 0rou! $rac#ets Bused for !rogram controlD Round $rac#ets scala$le B3o ma#e $rac#ets scala$le add the ord >left $efore a left $rac#et and >right@ $efore a right $rac#et +Fuare $rac#ets scala$le <ou$le sFuare $rac#ets scala$le 8ine scala$le <ou$le line scala$le )race scala$le %ngle $rac#et scala$le O!erator $rac#ets scala$le Over $race scala$le 'nder $race scalea$le
Command
BaD S$T ld$rac#et c rd$rac#et lline a rline ldline a rdline l$race r$race
Display
8a9 cbd e cf a a g' h id j i ab j
a
89
a b (
left S $ right T left ld$rac#et c right rd$rac#et left lline a right rline left ldline d right rdline left l$race e right r$race left langle f right rangle left langle g mline h right rangle N3he $race is a$oveO over$race a Nthe $race is $elo Ounder$race NfO
c bd e cf
a
d ge h ifj i )& j
13
Command Reference
Formats
Operation
Left Superscript Center Superscript
Command
a lsup{b} sum(a)a csup{b}
Display
b
a
ab
b
Right Superscript Left subscript Center subscript Right subscript Align character to left Align character to center Align character to right Vertical stack of 2 Vertical stack, more than 2
a
b
ab
88 a 99 88 a 99 88 a 99
a b a b ( a c
a
Matrix stack
matrix{a # b ## c # d}
b d
Gb Gc
Common mathematical arrangement New Line Small gap (apostrophe) Large gap (tilde) Table 1-Commands, formats.
asld+f,o sad+f,
stuff stuff stuff stuff
14
Command Reference
Characters
#reek
U%852%
U<E83%
.
UE3%
U)E3% /
UC2=
"
UE5+=8O7
0
U8%&)<%
U0%&&%
UV%55% U=O3% 2
UO&E0%
n
U7' 5 U5+= s UC= w
U$eta
3
UO&=CRO7
o
U52= q U32E3%
p
UR2O 7 ULE3% 8 Uchi z Uiota Uomega Usigma Uvar!hi UJi
6
U+=0&%
v
Ual!ha
Uvartheta
"pecial
Uand
Uangle Unoelement UnoteFual Uelement # Uor Uidentical
U!erthousand
$
Ustrictl"lessthan
Utendto
15