ComplexBox
Elementary
elementary functions for ComplexBox objects
Re
compute the real part of a ComplexBox object
Im
compute the imaginary part of a ComplexBox object
abs
compute the absolute value of a ComplexBox object
argument
compute the argument of a ComplexBox object
sqrt
compute the square root of a ComplexBox object
exp
compute the exponential of a ComplexBox object
log
compute the logarithm of a ComplexBox object
rsqrt
compute the reciprocal square root of a ComplexBox object
expm1
compute the exponential of a ComplexBox object minus one
expPiI
compute the exponential of Pi*I times a ComplexBox object
log1p
compute the logarithm of a ComplexBox object minus one
signum
compute the signum of a ComplexBox object
csgn
compute the sign of a ComplexBox object
Calling Sequence
Parameters
Description
Examples
Compatibility
Re( b )
Im( b )
abs( b )
argument( b )
sqrt( b )
exp( b )
log( b )
rsqrt( b )
expm1( b )
expPiI( b )
log1p( b )
signum( b )
csgn( b )
b
-
ComplexBox object
precopt
(optional) equation of the form precision = n, where n is a positive integer
These are the standard basic elementary functions defined for ComplexBox objects.
They override the standard Maple procedures for ComplexBox objects.
Additionally, via "arblib", there are a number of variations that are not defined for standard numerics in Maple.
1/sqrt( b )
exp( b ) - 1
exp( Pi*b*I )
log( 1 + b )
Use the 'precision' = n option to control the precision used in these methods. For more details on precision, see BoxPrecision.
b≔ComplexBox⁡2.3+11.35⁢I
b≔⟨ComplexBox: [2.3 +/- 2.32831e-10]+[11.35 +/- 9.31323e-10]⋅I⟩
ℜ⁡b
⟨RealBox: 2.3±2.32831ⅇ-10⟩
ℑ⁡b
⟨RealBox: 11.35±9.31323ⅇ-10⟩
abs⁡b
⟨RealBox: 11.5807±1.97203ⅇ-09⟩
argument⁡b
⟨RealBox: 1.37086±1.7137ⅇ-10⟩
signum⁡b
⟨ComplexBox: [0.198606 +/- 8.5212e-11]+[0.980079 +/- 3.88106e-10]⋅I⟩
csgn⁡b
⟨RealBox: 1±0⟩
csgn⁡1,b
⟨RealBox: 0±0⟩
Note the exception raised in the following example, due to non-differentiability.
csgn⁡1,ComplexBox⁡4.1⁢I
Error, (in ComplexBox:-csgn) csgn is not differentiable on the imaginary axis
csgn⁡0,ComplexBox⁡0,1
csgn⁡0,ComplexBox⁡0,−1
⟨RealBox: -1±0⟩
b:-sqrt⁡b
⟨ComplexBox: [2.63445 +/- 3.66495e-10]+[2.15415 +/- 5.18888e-10]⋅I⟩
rsqrt⁡b
⟨ComplexBox: [0.227487 +/- 6.46232e-11]+[-0.186012 +/- 5.43171e-11]⋅I⟩
exp⁡b
⟨ComplexBox: [3.46156 +/- 1.05079e-08]+[-9.35425 +/- 7.86248e-09]⋅I⟩
expm1⁡b
⟨ComplexBox: [2.46156 +/- 9.94183e-09]+[-9.35425 +/- 6.5501e-09]⋅I⟩
expPiI⁡b
⟨ComplexBox: [1.92109e-16 +/- 1.79641e-24]+[2.64415e-16 +/- 2.33121e-24]⋅I⟩
log⁡b
⟨ComplexBox: [2.44934 +/- 3.15894e-10]+[1.37086 +/- 1.7137e-10]⋅I⟩
log1p⁡b
⟨ComplexBox: [2.46979 +/- 3.14239e-10]+[1.28785 +/- 1.75505e-10]⋅I⟩
The ComplexBox[Elementary], ComplexBox:-Re, ComplexBox:-Im, ComplexBox:-abs, ComplexBox:-argument, ComplexBox:-sqrt, ComplexBox:-exp, ComplexBox:-log, ComplexBox:-rsqrt, ComplexBox:-expm1, ComplexBox:-expPiI, ComplexBox:-log1p, ComplexBox:-signum and ComplexBox:-csgn commands were introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
RealBox
RealBox[Elementary]
Download Help Document