IBM Release 1.93 manual Logical Operators, Abs, Acosh, Asinh, Atanh

Page 48

Also, REXX does not distinguish between integer and floating-point numbers. It isn’t that it uses floats for everything—internally REXX uses arbitrary-precision arithmetic.

3.8.2. Logical Operators

>(greater than) < (less than)

(greater or equal)

(less or equal) <> (unequal)

\ (not)

3.8.3. ABS

Returns the absolute value of <expression>.

Syntax: abs(<expression>)

3.8.4. ACOS

Returns the radian angle in [0, 2π) whose cosine is <expression>. Expressions whose values are outside [-1,1] will result in run-time errors.

Syntax: acos(<expression>)

3.8.5. ACOSH

Returns the argument in [0, ∞) whose hyperbolic cosine is <expression>. Attempting to take the hyperbolic arc-cosine of a number less than 1 will result in a run-time error.

Syntax: acosh(<expression>)

3.8.6. ASIN

Returns the radian angle in (-π, π] whose sine is <expression>.

Syntax: asin(<expression>)

3.8.7. ASINH

Returns the argument whose hyperbolic sine is <expression>. ASINH(x) is defined for all values of x.

Syntax: asinh(<expression>)

3.8.8. ATAN

Returns the radian angle in (-π/2, π/2) whose tangent is <expression>. Syntax: atan(<expression>)

3.8.9. ATANH

Returns the argument whose hyperbolic tangent is <expression>. Attempting to take the hyperbolic arctangent of a number outside (-1,1) will result in a run-time error.

44

Image 48
Contents IBM T. J. Watson Research Center Yorktown Heights, NY Page IBM T. J. Watson Research Center Yorktown Heights, NY Using Poems HOW Poems WorksChapter Introduction MotivationPhilosophy Structure OptimizationPage Poems system organization Program Organization Front-End Script poems.cmdScript Operation Fdtd Engine FIDO/TEMPEST Postprocessor EmpostVisualization System VIS5D Cluster ControlParallel Processing Command Reference Poems Command-Line OptionsGlobal Group Freq LambdaFunction HostsWhich means that the host’s predefined hostname is not used MacdefMacro PrintRandomseed SETSimulator World Group TitleVerbose BoundaryMaterial Group BasicstepXrange Yrange DefineParameters epsReal epsImag muReal muImag Object Group BlockFAN Grating HollowboxTiledplane Curve 3DCURVECylinder Source Group Command Group Output GroupPostprocess Group FieldCAD WebpageFarfield FluxIntegral List ModematchMovie MOVIE3DDissipation SliceOptimize Group VariablesGuess Limit StorePenalty Merit Schedule Group ParametersRange Computational Domain SymmetryObjects Perfectly-Matched Layers MaterialsPlane Waves Page Beam Sources Optimization Merit FunctionsPhase uniformity across a plane Worked Example Optimizing a V Antenna 10 Optimized V antenna refractivePage Worked Example Doped Silica Waveguide Mode Worked Example Glass Ridge Waveguide to Free Space CouplerPredefined Constants Reserved Names ConfinePredefined Mathematical Functions Arithmetic OperatorsLogical Operators ABSAcos AcoshATAN2 CeilCOS ElintkIntegral 20. LNMAX MINRandom ROOT1DRound SignAnalytical Pupil Functions Material Parameter FunctionsFlattop Tempest and General Fdtd Information Startup and Steady StateTime step Page Appendix A. V-Antenna Optimization Run Poems Input DIPOLE2I.PAR END Material END World Subdomain ALL END ObjectEND Command END SourceEND Output END Optimize Phaseex END Postprocess AmplexPage Page Page END Tempest Input File DIPOLE2I.PAR.IN Written by Phil Hobbs Pages of pointsource statements omitted Postprocessor orders DIPOLE2I.ORDERS ALLDIPOLE2IEXI DIPOLE2IEXQDIPOLE2IEYI DIPOLE2IEYQDIPOLE2IEZI DIPOLE2IEZQMiddleflux POSTPROC.1.NAMEArray Amplex POSTPROC.1.PARMSTRINGDIPOLE2IPHASEEX ArrayPOSTPROC.2.PARMSTRING FF2DIPOLE2IPX POSTPROC.6.NAMEArray Poyntingz DIPOLE2IPZPOSTPROC.9.PARMSTRING POSTPROC.10.PARMSTRINGPOSTPROC.11.NAME Slice IndexnSlice Poyntingz POSTPROC.13.COMPARISONDOMAINDIPOLE2IPZXY0.BMP POSTPROC.14.NAMEPOSTPROC.16.COMPARISONDOMAIN DIPOLE2IPXZX0.BMPPOSTPROC.17.NAME Slice AmplexDIPOLE2IPHASEEXXY0.BMP DIPOLE2IPHASEEXZX0.BMPPOSTPROC.20.COMPARISONDOMAIN DIPOLE2IDISSZX0.BMPPOSTPROC.24.COMPARISONDOMAIN DIPOLE2IEXQZX0.BMPRun Results DIPOLE2I.SIMPLEX Page Page Page Page Page Fdtd and Tempest Tempest patchesAdvice common to all or most Fdtd programs Tempest limitationsWindow System Configuration Sample X11 ConfigurationRunning Vis5D Release NotesWish list Beta Release Limitations Page Page Index Emdenormal EmunderflowMatlab Maxordersources 81 Maxpointsources