Forum > Packages and Libraries
Math package for nonlinear constrained optimization, low-discrepancy sampling?
stephanweber:
Hi,
in the internet you can find many great math libs, but for these special topics I for nothing yet for Pascal. Does anybody has a hint? Or maybe a really good C++ (or c#, python, java, etc.) to Pascal converter?
Bye Stephan
sstvmaster:
"Compatible with FreePascal" -> http://www.alglib.net/download.php#delphi
apeoperaio:
Check mrmath library, it works on Lazarus and it is superfast.
https://github.com/mikerabat/mrmath
stephanweber:
Thanks! These units work quite fine.
However, the most complete unit seems to be AMath, BUT I cannot compile it under freepascal, there are some asm statements, unfortunately.
Has anybody made AMath working under Lazarus?
Bye Stephan
MathMan:
Hi Stephan,
I assume you mean the AMath unit of Wolfgang Ehrhardt (http://www.wolfgang-ehrhardt.de/misc_en.html#amath)?
If so, what's your target environment? The website explicitly states
"The archive amath_2018-11-27.zip contains units for accurate mathematical methods without using multi precision arithmetic. Please note that the high accuracy can only be achieved with the rmNearest rounding mode; it decreases if other modes are used. AMath is designed for the 80-bit extended data type, and therefore cannot be used with 64-bit code on 64-bit system (for these use the corresponding DAMath package). More information can be found on the separate introduction page."
Maybe you need to take a look at DAMath instead.
Cheers,
MathMan
Navigation
[0] Message Index
[#] Next page