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
