archive-com.com » COM » E » EFG2.COM Total: 878 Choose link from "Titles, links and description words view": Or switch to
"Titles and links view". |

- efg's Delphi Math Functions: Numerical Methods

p 145 146 trapzd trapezoidal rule recipes Polynomials Functional Evaluation Chebyshev Approximation Function Name Description Source s chder derivative of a function already Chebyshev fitted recipes chebev Chebyshev polynomial evaluation recipes chebft fit a Chebyshev polynomial to a function recipes chebpc polynomial coefficients from a Chebyshev fit recipes chint integrate a function already Chebyshev fitted recipes ddpoly evaluate a polynomial and its derivatives recipes eulsum sum a series by Euler van Wijngaarden algorithm recipes pcshft polynomial coefficients of a shifted polynomials recipes poldiv divide one polynomial by another recipes Optimization Numerical Methods in Pascal pages http www rab larc nasa gov nmp nmpIndex htm LinearProgramming http www rab larc nasa gov nmp nmpIndex htm Optimization Function Name Category Description Source s amebsa simulated annealing in continuous spaces recipes amoeba minimize in N dimensions by downhill simplex method recipes anneal traveling salesman problem by simulated annearling recipes brent find minimum of a function by Brent s method recipes dbrent find minimum of a function using derivative information recipes dfpmin minimize in N dimensions by variable metric method recipes frprmn minimize in N dimensions by conjugate gradient recipes golden find minimum of a function by golden section search recipes linmin minimum of a function along a ray in N dimensions recipes Minimization of a function of several variables TPmath2 minfunc mnbrak bracket the minimum of a function recipes Optimum Min max of function using Newton s method Turbo p 144 145 powell minimize in N dimensions by Powells method recipes Round Robin Round Robin scheduling by Engineeing Objects International www engineeringobjects com RndRobin htm Simplex and Marquardt minimization methods TPmath1 optim Simplex procedure using LP optimizer Implementation in Borland Pascal 7 0 without Assembler and Borland Delphi 2 http www netcologne de nc weidenma readme htm Simplex Program www geocities com SiliconValley

Original URL path: http://www.efg2.com/Lab/Library/Delphi/MathFunctions/NumericalMethods.htm (2016-02-14)

Open archived version from archive - efg's Delphi Math Functions: Parsers and Math Expression Evaluators

including the following operators and functions mod abs atan cos exp ln round sin sqrt sqr trunc Includes full source code and demo application Expression Evaluator V1 4 from BitSoft Developemnt LLC click on Free Stuff www bitsoft com freestuff delphi parser htm Financial Calculator http delphi icm edu pl ftp d20free Fin Calc zip Formula Compiler Component Formula Compiler A Snappy Run Time Formula Evaluation Package Delphi Informant June 1998 pp 62 68 subscription FPlot Visual component that plots math functions Includes a quick parser so formulas are put as strings in a component s property Very simple to use Full source code http delphi icm edu pl ftp d30free fplot zip Fractions Calculator An object oriented fractions calculator www delphix de Tutorials FractCalculator MM Tutorial1 htm Links Several math parsers expression evaluators www programmersheaven com zone2 cat265 index htm LongCalc RPN expression evaluation with vast integers www merlyn demon co uk programs longcalc pas Mathematical Expression Parser MEP calculates expressions entered at runtime User functions and variables can be used http delphi icm edu pl ftp d40share meparser zip Mathematischer Parser Turbo Pascal Units für Turbo Pascal 6 and 7 Beispiel Programme und eine ausführliche Dokumentation www fh hamburg de rzbt dnksoft cammpus parser html MEP Mathematical Expression Parser MEP Calculates expressions entered at runtime as a string http delphi icm edu pl ftp d40share meparser zip MicroCalc TP 3 www geocities com SiliconValley 2926 tpsrc microcalcpas txt MWPasPar A Pascal parser Delphi Super Page http delphi icm edu pl ftp d20free mwpaspar zip nrwcalc Component to manipulate the execution of the standard Windows calculator calc exe http delphi icm edu pl ftp d30share nrwcalc zip Parser10 Parse and evaluate mathematical expression Delphi Super Page http delphi icm edu pl ftp d10free parser10 zip RecuCalc A TP parser calculates math formula with recursion ftp garbo uwasa fi pc turbopas recucalc zip RyFormulaEval Mathematical formula compiler evaluator VCL Component for Delphi TRyFormulaEval is a native Delphi component designed to evaluate mathematical formulas http delphi icm edu pl ftp d40share RyFormulaEval zip SimpleCalc A simple 4 function calculator program www delphiforfun org Programs SimpleCalc htm SWAG Parsing Parsing Tokenizing SWAG Software Archive Group 14 examples www gdsoft com swag parsing zip requires Reader Symbolic Set of classes that can evaluate functions and do simple symbolic operations like deriving Taylor etc Symbolic is not only a parser it also does some symbolic math and evaluates expressions fast www stack nl marcov symbolic zip Requires FCL Free Component Library available from www freepascal org fcl fcl html TatMathEvaluator Real and complex numeric expression evaluator and TatEquationMemo and TatDBEquationMemo to edit equations Works with real and complex numbers Works with multiple dependant equations http delphi icm edu pl ftp d30share amathtr zip TbcParser TbcParser implements parse once evaluate many times type of parsing for mathematical expressions given as strings TbcParser is especially useful in scientific engineering programs http delphi icm edu pl ftp d40share bcParserEval zip TCalc Classic Turbo Calc example program Download

Original URL path: http://www.efg2.com/Lab/Library/Delphi/MathFunctions/Parsers.htm (2016-02-14)

Open archived version from archive

X Trace 2 Mar 2000 08 22 34 0800 206 163 155 131 Organization Tempest Software Inc Corvallis Oregon MIME Version 1 0 Newsgroups borland public delphi objectpascal On Thu 2 Mar 2000 10 49 46 0100 Grega wrote How can I set bits I have a Byte and want to set bit 7 to 1 all other bits should be 0 var B1 set of 0 7 B2 Byte

Original URL path: http://www.efg2.com/Lab/Library/UseNet/2000/0302.txt (2016-02-14)

Open archived version from archive

by by using Bits TIntegerset Value The set Bits will now consist of the numbers of the bits in Value which are set to 1 e g if bit 10 was set in Value 10 will be in the Bits set Working in the other direction Value Integer Bits Generates an integer value from the set I think this will work Very simple and quite elegant Tom Backer Johnsen wrote

Original URL path: http://www.efg2.com/Lab/Library/UseNet/2000/0502.txt (2016-02-14)

Open archived version from archive

14 Mar 2000 13 00 42 EDT Organization Roberts Browne Limited X MSMail Priority Normal Reply To Bruce Roberts NNTP Posting Date Tue 14 Mar 2000 13 00 42 EDT Newsgroups comp lang pascal delphi misc Tan Tze Yong wrote in message news 8al9dn oj2 1 newton pacific net sg Dear fellow Delphi programmers Is it possible to reverse the bits in a integer i e move the most significant

Original URL path: http://www.efg2.com/Lab/Library/UseNet/2000/0313b.txt (2016-02-14)

Open archived version from archive

X MSMail Priority Normal Newsgroups comp lang pascal delphi misc The following routine does the job and is fast too function Reversed source longint longint asm mov EDX EAX mov ECX 32 loop RCL EDX 1 RCR EAX 1 LOOP LOOP end It left shifts each bit from EDX into the carry flag and then right shifts the carry flag into EAX a total of 32 times controlled by ECX

Original URL path: http://www.efg2.com/Lab/Library/UseNet/2000/0315a.txt (2016-02-14)

Open archived version from archive

reverses the bytes in a 32bit quantity Here s a collection of Swap routines You ll note that many are the same except for the typing of the params result Also I assume that you pass the backwards version essentially as untyped DWords type TData8 double function Swap2 a cardinal word asm bswap eax shr eax 16 end function Swap4 a cardinal cardinal asm bswap eax end function Swap4Signed a

Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0825a.txt (2016-02-14)

Open archived version from archive

In article Artem wrote 1 I have a binary file of 32 bit unsigned values However the order of bytes is reversed 00000000 00 1C 08 BB 00 00 00 0A 00 00 00 D1 00 00 00 D4 If I were to read them I would get BB081C00 A000000 D1000000 and D4000000 What i want to get is 1C08BB A D1 D4 How do I go about it Do I use wrong type LongWord when reading from the stream No the file was written on a computer that uses big endian byte order while DOS Windows uses little endian YOu have to reverse the order of bytes in a LongWord after you have read it Function Swap32 aLong LongWord LongWord Assembler Asm BSWAP eax End That performs the byte swap If you want to convert the file itself the following example may come in handy Procedure Swap32 p Pointer counter DWORD Assembler Asm push edi mov edi eax pointer mov ecx edx counter loop mov eax edi BSWAP eax stosd dec ecx jnz loop pop edi End procedure TForm1 Button2Click Sender TObject var fs TFilestream hMap Thandle pMap Pointer pDW DWORD i Integer start Longword begin start gettickcount screen

Original URL path: http://www.efg2.com/Lab/Library/UseNet/2001/1015.txt (2016-02-14)

Open archived version from archive