CMATH for Delphi 7.3.5.1

OptiCode in Development / Components & Libraries

CMATH for Delphi screenshot

User Rating: 3.0 (22 votes)

CMATH for Delphi is a useful and comprehensive library for complex-number arithmetics and mathematics, both in cartesian and in polar coordinates, for C/C++ and Pascal/Delphi compilers. CMATH is available as a stand-alone product. It is also included in the OptiVec package.

All functions may alternatively be called from classic C and Pascal/Delphi with type-specific function names (like cf_sin, cd_exp, pe_sqrt), or from C++ and Delphi with overloaded function names and operators (like sin, exp, sqrt, operator +; operators only in C++). As far as possible, all functions have the same names in the Pascal/Delphi version as in the C/C++ version.

Superior speed, accuracy and safety are achieved through the implementation in Assembly language (as opposed to the compiled or inline code of available complex C++ class libraries). Only for the most simple tasks, alternative inline C++ functions are used in the C++ version.

As far as the scope of CMATH overlaps with the complex class implementations of Visual C++, Borland C++, and Delphi, CMATH is a high-quality replacement for the latter, which are all quite inefficient and inaccurate.

In contrast to the written-down-and-compiled textbook formulas of most other available complex libraries (including those coming with Visual C++ and the Borland compilers), the implementation of CMATH was guided by the following rules:

Without any compromise, top priority is always given to the mathematically correct result, with the accuracy demanded for the respective data type. Especially for complex functions, this necessitates a very thorough treatment of many different situations. To this end, the various cases have to be distinguished with pedantic care. (Textbook formulas do not need to treat these situations separately, as they theoretically assume infinite accuracy of intermediate results; an actual implementation, however, has to work with the limited accuracy given by real-life processors.)

Mathematical functions must be "safe" under all circumstances. They may for no reason simply crash, but have to perform a decent error treatment. This is true even - and perhaps especially - for seemingly nonsense arguments, with the single exception of the non-numbers INF and NAN, which occur themselves only as a result of serious errors in other functions.

By all possible means, greatest execution speed must be attained. (After all, you did not buy your fast computer for nothing!)
The program code has to be as compact as possible. However, in case of conflicts, faster execution speed is always given priority over smaller code size.

top download editor's pick
File Size: 768 kB License: Trialware Price: $60.00
Platform: Windows XP, Windows Vista, Windows Vista x64, Windows 7, Windows 7 x64, Windows 8, Windows 8 x64, Windows 10, Windows 10 x64
Downloads: Total: 168 | This Month: 0 Released: 2019-12-09
CMATH for Delphi Similar Software
Popular Software in Development / Components & Libraries

EaseSoft PDF417 Barcode ASP.NET Control 4.0.0 EaseSoft Inc.    

EaseSoft PDF417 ASP.NET Web ServerControls generate the barcodes dynamically.. Free download of EaseSoft PDF417 Barcode ASP.NET Control 4.0.0

jPDFAssemble 2013R1 Qoppa Software™    

Designed to enable users to combine, merge or split PDF documents. Free download of jPDFAssemble 2013R1

software pick   

MegaPipe Win32 DLL 3.0.1 MW6 Technologies, Inc.    

XModem/YModem/ZModem/Kermit .Net Compact Framework Class Library. Free download of MegaPipe Win32 DLL 3.0.1

Scheduler Pro Ocx 4.0.10 Gaia Consulting    

ActiveX control designed to build professional job scheduling applications.. Free download of Scheduler Pro Ocx 4.0.10

Muscle 7.41 Jeremy Friesner    

Dynamic distributed applications that runs under any POSIX-compliant system. Free download of Muscle 7.41