Ada 编程/库/Ada.Numerics.Generic Complex Elementary Functions
外观
此语言特性从 Ada 95 开始可用。
Ada.Numerics.Generic_Complex_Elementary_Functions 是 预定义语言环境 的一个单元,从 Ada 95 开始。
-- 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;
外部示例
[编辑源代码]- 在以下位置搜索
Ada.Numerics.Generic_Complex_Elementary_Functions的示例:Rosetta Code,GitHub (gists),任何 Alire 包 或 本华夏公益教科书。 - 在以下位置搜索与
Ada.Numerics.Generic_Complex_Elementary_Functions相关的帖子:Stack Overflow,comp.lang.ada 或 任何 Ada 相关页面。
FSF GNAT
- 规范:a-ngcefu.ads
- 主体:a-ngcefu.adb
drake
