< Ada Programming < Libraries 
 
 
      
Ada. Time-tested, safe and secure.
This language feature is available from Ada 95 on. Ada.Numerics.Generic_Complex_Elementary_Functions is a unit of the Predefined Language Environment since Ada 95.
Specification
-- Standard Ada library specification -- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual -- -------------------------------------------------------------------------withAda.Numerics.Generic_Complex_Types;genericwithpackageComplex_TypesisnewAda.Numerics.Generic_Complex_Types (<>);packageAda.Numerics.Generic_Complex_Elementary_FunctionsispragmaPure (Generic_Complex_Elementary_Functions);functionSqrt (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionLog (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionExp (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionExp (X :inComplex_Types.Imaginary)returnComplex_Types.Complex;function"**" (Left :inComplex_Types.Complex; Right :inComplex_Types.Complex)returnComplex_Types.Complex;function"**" (Left :inComplex_Types.Complex; Right :inComplex_Types.Real'Base)returnComplex_Types.Complex;function"**" (Left :inComplex_Types.Real'Base; Right :inComplex_Types.Complex)returnComplex_Types.Complex;functionSin (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionCos (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionTan (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionCot (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionArcsin (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionArccos (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionArctan (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionArccot (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionSinh (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionCosh (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionTanh (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionCoth (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionArcsinh (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionArccosh (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionArctanh (X :inComplex_Types.Complex)returnComplex_Types.Complex;functionArccoth (X :inComplex_Types.Complex)returnComplex_Types.Complex;endAda.Numerics.Generic_Complex_Elementary_Functions;
See also
Wikibook
External examples
- Search for examples of Ada.Numerics.Generic_Complex_Elementary_Functionsin: Rosetta Code, GitHub or this Wikibook.
- Search for any post related to Ada.Numerics.Generic_Complex_Elementary_Functionsin: Stack Overflow, comp.lang.ada or any Ada related page.
Ada Reference Manual
Ada 95
Ada 2005
Ada 2012
Open-Source Implementations
FSF GNAT
- Specification: a-ngcefu.ads
- Body: a-ngcefu.adb
drake
- Specification: numerics/a-ngcefu.ads
- Body: numerics/a-ngcefu.adb
    This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.