Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
gb
gb.args
gb.cairo
gb.chart
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.db.mysql
gb.db.odbc
gb.db.postgresql
gb.db.sqlite2
gb.db.sqlite3
gb.dbus
gb.dbus.trayicon
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.desktop.x11
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.htmlview
gb.form.mdi
gb.form.print
gb.form.stock
gb.form.terminal
gb.gmp
gb.gsl
.FloatArrayStat
Complex
_call
_new
Abs
Abs2
ACos
ACosh
ACoshReal
ACosReal
ACot
ACoth
ACsc
ACsch
ACscReal
Arg
ASec
ASech
ASecReal
ASin
ASinh
ASinReal
ATan
ATanh
ATanhReal
Conj
Copy
Cos
Cosh
Cot
Coth
Csc
Csch
Exp
Handle
Imag
Inv
Log
Log10
LogAbs
LogB
Polar
Real
Sec
Sech
Sin
Sinh
Sqrt
SqrtReal
Tan
Tanh
ToString
Float[]
Gsl
Matrix
Polynomial
Vector
gb.gtk
gb.gtk.opengl
gb.gtk3
gb.gtk3.opengl
gb.gtk3.webview
gb.gui
gb.gui.opengl
gb.gui.qt
gb.gui.qt.ext
gb.gui.qt.opengl
gb.gui.qt.webkit
gb.gui.trayicon
gb.gui.webview
gb.hash
gb.highlight
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.jit
gb.libxml
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.memcached
gb.mime
gb.mysql
gb.ncurses
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.openssl
gb.option
gb.pcre
gb.pdf
gb.poppler
gb.qt4
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt4.webview
gb.qt5
gb.qt5.ext
gb.qt5.opengl
gb.qt5.webkit
gb.qt5.webview
gb.qt6
gb.qt6.ext
gb.qt6.opengl
gb.qt6.webview
gb.report
gb.report2
gb.scanner
gb.sdl
gb.sdl.sound
gb.sdl2
gb.sdl2.audio
gb.settings
gb.signal
gb.term
gb.test
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.web.form
gb.web.gui
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

Complex (gb.gsl)

This class implements a complex number.

This class is creatable.

This class can be used as a static function.

Static methods
ACosReal   Returns the complex arccosine of the real number X.
ACoshReal   Returns the complex hyperbolic arccosine of the real number X.
ACscReal   Returns the complex arccosecant of the real number X.
ASecReal   Returns the complex arcsecant of the real number X.
ASinReal   Return the complex arcsine of the real number X.
ATanhReal   Returns the complex hyperbolic arctangent of the real number X.
Polar   Create a new complex number from its modulus and argument.
SqrtReal   Returns the complex square root of the real number X, where X may be negative.

Properties
Handle   Return the internal Gsl complex number pointer.
Imag   Return or set the imaginary part of the number.
Real   Return of set the real part of the number.

Methods
ACos   Returns the complex arccosine of the complex number.
ACosh   Returns the complex hyperbolic arccosine of the complex number.
ACot   Returns the complex arccotangent of the complex number.
ACoth   Returns the complex hyperbolic arccotangent of the complex number.
ACsc   Returns the complex arccosecant of the complex number.
ACsch   Returns the complex hyperbolic arccosecant of the complex number.
ASec   Returns the complex arcsecant of the complex number.
ASech   Returns the complex hyperbolic arcsecant of the complex number.
ASin   Returns the complex arcsine of the complex number.
ASinh   Returns the complex hyperbolic arcsine of the complex number.
ATan   Returns the complex arctangent of the complex number.
ATanh   Returns the complex hyperbolic arctangent of the complex number.
Abs   Return the absolute value (or modulus) of the complex number.
Abs2   Return the square of the complex number absolute value.
Arg   Return the complex number argument.
Conj   Return the conjugate of the number as a new complex number.
Copy   Return a copy of the complex number.
Cos   Return the complex cosine of the complex number.
Cosh   Returns the complex hyperbolic cosine of the complex number.
Cot   Returns the complex cotangent of the complex number z.
Coth   Returns the complex hyperbolic cotangent of the complex number.
Csc   Return the complex cosecant of the complex number.
Csch   Returns the complex hyperbolic cosecant of the complex number.
Exp   Returns the complex exponential of the complex number.
Inv   Return the inverse of the complex number.
Log   Returns the complex natural logarithm (base e) of the complex number.
Log10   Returns the complex base-10 logarithm of the complex number.
LogAbs   Return the natural logarithm of the magnitude of the complex number.
LogB   Returns the complex base-_X_ logarithm of the complex number.
Sec   Return the complex secant of the complex number.
Sech   Returns the complex hyperbolic secant of the complex number.
Sin   Return the complex sine of the complex number.
Sinh   Returns the complex hyperbolic sine of the complex number.
Sqrt   Returns the square root of the complex number.
Tan   Returns the complex tangent of the complex number.
Tanh   Returns the complex hyperbolic tangent of the complex number.
ToString   Convert a complex number to a string.