Editor's review
This is a library for complex number math functions.
CMATH is a comprehensive library for complex-number arithmetic and mathematics, both in Cartesian and polar coordinates. This library can be used in C/C++ and Pascal/Delphi compiler environments. CMATH is available as a stand-alone product. The functions available could be called from classic C and Pascal/Delphi with type-specific function names such as cf_sin, cd_exp, pe_sqrt, etc. You could also use overloaded function names and operators in C++ and Delphi. Same names are used (as far as possible) in the Pascal/Delphi version as in the C/C++ version. The implementation is done in assembler code to offer speed, accuracy and safety. Alternative inline code is used only for implementing the simplest of the tasks. Mathematically correct results are produced by design. Implementation of the functions follows that principle very strictly. Differing data types need treatment independent of each other for these functions. Execution speed and error handling also has been given priority in implementation.
The library meant for the Delphi environment defines six different complex number types. These include fComplex (single precision), dComplex (double precision) and eComplex (extended precision) numbers and three others in polar coordinates. These include, in the same sequence fPolar, dPolar and ePolar. This is clearly a product for the developer types. The library is well-documented and the developers should not have much trouble becoming familiar with it. This library will let your applications developed in Delphi to implement complex number arithmetic quite easily. This is a very good product and could be handy if you have complex number handling based projects.
User comments