CMATH for Delphi 6.4.1

OptiCode in Development / Components & Libraries

CMATH for Delphi screenshot

User Rating: 0 (0 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: 256 kB License: Trialware Price: $60.00
Platform: WinXP, Windows Vista, Windows Vista x64, Windows 7, Windows 7 x64
Downloads: Total: 47 | This Month: 0 Released: 2012-11-25
CMATH for Delphi Similar Software

Client/Server Comm Lib for Delphi 6.2 MarshallSoft Computing    

MarshallSoft Delphi and .NET TCP/IP and UDP/IP sockets client/server component for communication across a network such as the internet ... Features of the CSC4D library include: Supports 64-bit Delphi XE2. Can be used to create both clients and servers. Supports "one time" passwords for improved security. Data and files can be encrypted .... Free download of Client/Server Comm Lib for Delphi 6.2

Dew Lab Studio for Delphi/C++ 2012 Dew Research    

... cores. - LAPACK 3.1 based - Complete support for complex numbers for all functions. - Rich set of matrix and vector functions and operators. - Solver for banded sparse matrices, Iterative sparse solvers, Direct sparse solver for non-symmetric matrices. Conversions support Banded, Dense, Sparse and .... Free download of Dew Lab Studio for Delphi/C++ 2012

SMTP/POP3/IMAP Email Engine for Delphi 7.1 MarshallSoft Computing    

MarshallSoft SMTP/POP3/IMAP Delphi email component library (SEE4D) uses a simple API ... UTF-8 character coding. - Supports CHARSET_WIN_1250. - Support for email servers that require SSL (gmail,yahoo,hotmail, etc.). - ... and COBOL. - Free technical support and updates for one year. Supports all versions of 32-bit and 64-bit Delphi including Delphi for .NET and Embarcadero Delphi XE/XE2. .... Free download of SMTP/POP3/IMAP Email Engine for Delphi 7.1

Oracle Data Access Components for Delphi 7 8.00 Devart    

... XE2 and XE, Embarcadero RAD Studio 2010, CodeGear Delphi 2009, C++Builder 2009, CodeGear RAD Studio 2007, Delphi 2007 for Win32/64, C++Builder 2007, Borland Developer Studio 2006, Delphi 2005, Turbo Delphi, Turbo Delphi for .NET, Turbo C++, Delphi 7,6,5, C++Builder 6,5, Lazarus and FreePascal for Win32/64 and Linux. The ODAC library is designed .... Free download of Oracle Data Access Components for Delphi 7 8.00

SQL Server Data Access Components for Delphi 7 6.00 Devart    

... XE2 and XE, Embarcadero RAD Studio 2010, CodeGear Delphi 2009, C++Builder 2009, CodeGear RAD Studio 2007, Delphi 2007 for Win32/64, C++Builder 2007, Borland Developer Studio 2006, Delphi 2005, Turbo Delphi, Turbo Delphi for .NET, Turbo C++, Delphi 7,6,5, C++Builder 6,5, Lazarus and FreePascal for Win32/64 and Linux. 60-day fully functional trial versions .... Free download of SQL Server Data Access Components for Delphi 7 6.00

Popular Software in Development / Components & Libraries

.NET Email Validator Component CS VB.NET 5.1.4028 ComponentPro    

Add powerful and comprehensive e-mail address validation to your .NET apps. Free download of .NET Email Validator Component CS VB.NET 5.1.4028

iReport 5.0.0 Sourceforge    

The most popular visual reporting tool for JasperReports. Free download of iReport 5.0.0

software pick   

.NET Bounce Inspector Component CS VB 5.1.4028 ComponentPro    

Easily and quickly filter and categorize bounced e-mail messages. Free download of .NET Bounce Inspector Component CS VB 5.1.4028

Aztec 2D Barcode ASP Component 4.0.1 MW6 Technologies, Inc.    

Aztec 2D Barcode ASP Component. Free download of Aztec 2D Barcode ASP Component 4.0.1

Allegro 5.1.2 Shawn Hargreaves    

Allegro is a game programming library for C/C++ developers distributed freely. Free download of Allegro 5.1.2

software pick