
cgtkcalc
a simple complex number calculator for GTK+

//////// Operation ////////
Binary operators obey the standard rules of precedence.
Entering "3+4*5=" results in "23". 
Unary operators do not obey the standard rules of precedence.
You have to input "3", "+", "4+i5", "sin" and "=" to get the 
result of 3+sin(4+i5).

"DRPI" button only changes the unit for expressing the argument.
The real part, the imaginary part and the absolute value are always 
in radians. To calculate sin(45 deg), set "45 deg" into the 
argument and enter "arg z" and "sin".

//////// Keyboard Shortcuts ////////
+/-    : M, S, Ctrl+'-'
EE     : E

Move the input position to ...
real : R
imag : I
abs  : F
arg  : K

conj : C
z^w  : ^
BackSpace : BackSpace

STO : Alt+S, Alt+Enter
RCL : Alt+R
M+  : Alt+'+'
M-  : Alt+'-'
M*  : Alt+'*'
M/  : Alt+'/'
M^  : Alt+'^'
conjM : Alt+C

CUT    : Ctrl+X
COPY   : Ctrl+C
PASTE  : Ctrl+V
UNDO   : Ctrl+Z, Ctrl+U
CE/C   : Delete, Ctrl+BackSpace
ACL    : Ctrl+Delete

QUIT   : Alt+X, Ctrl+Q
HELP   : Alt+A, Ctrl+H
FONT   : Ctrl+F
DOMAIN : Ctrl+D
DRPI   : Ctrl+A

 '0'..'9', '.', '+', '-', '*', '/', '!', '='
and parentheses can be also input from keyboards.

//////// Note ////////
o   All functions including gamma can deal with complex numbers.
o   The precedence of binary operators:
            z^w > nCr,nPr,nHr > *,/,mod > +,-
o   Cut and Copy functions copy the complex number in the style of
  "a+bi". They omit "+bi" when its imaginary part is "0".
o   You may copy the complex number in the style of "a+bi = r ej arg"
  with ACP button.
o   CE/C erases the current complex number.
o   Paste function pastes the selection as a complex number properly.
  When the number is not complex one, it pastes the value on the
  current part.
o   If you prefer the shrunk mode, you might use "cgtkcalc -s".
o   Use "cgtkcalc -p" to use PIrad as the unit for expressing the
  argument.
o   Use "cgtkcalc -h" for more information about options.

/////////////////////////
Author: SAITOH Akira
URL: http://cgtkcalc.sourceforge.net/

This software is distributed under GPL version 2.0.
