Recent Changes - Search:

DynMatrix

DynMatrix.DynMatrix History

Hide minor edits - Show changes to output

February 21, 2012, at 03:38 AM by 188.82.155.241 -
Changed lines 5-6 from:
Many years ago I wrote a [[http://en.wikipedia.org/wiki/Zortech | C++ ]] matrix class. It used the operator overloading and a few tricks, like a manual implementation of reference counting, to enable us to write things like:
to:
Many years ago I wrote a [[http://en.wikipedia.org/wiki/Zortech | C++ ]] matrix class. It used the operator overloading and a few tricks, like having a manual implementation of reference counting, to enable us to write things like:
Changed lines 24-25 from:
The important file is dynmatrix.pas.
to:
The important file is dynmatrix.pas but now there is a package to install so that any project can use it to locate the units,
Deleted lines 28-30:
Missing things:
* Proper documentation
* Systematic tests
September 30, 2009, at 03:33 AM by 82.155.157.117 -
Changed line 26 from:
It is released under the Modified LGPL version common to the FCL/LCL.
to:
It is released under the Modified LGPL version like the one that is used for the FCL/LCL.
March 16, 2009, at 04:37 AM by 82.154.226.150 -
Changed lines 9-10 from:
Later, when I started using Delphi, missed the joys and dangers of operator overloading and implemented a version using strings to store the matrix and take advantage of its automatic reference counting. Of course, the same expression would become:
to:
Later, when I started using Delphi, missed the joys and dangers of operator overloading, so I implemented a version using strings to store the matrix and take advantage of its automatic reference counting. Of course, the same expression would become:
March 09, 2009, at 06:15 AM by 85.242.154.74 -
Added lines 29-31:
Missing things:
* Proper documentation
* Systematic tests
March 09, 2009, at 05:25 AM by 85.242.154.74 -
Changed lines 23-24 from:
The latest version is here: ([[(Attach:)DynMatrix.zip]]).
to:
The latest version is here: ([[(Attach:)dynmatrix.zip]]).
The important file is dynmatrix.pas
.
March 09, 2009, at 05:23 AM by 85.242.154.74 -
Changed lines 23-24 from:
The latest version is here: ([[(Attach:)DynMatrix.zip]].
to:
The latest version is here: ([[(Attach:)DynMatrix.zip]]).
March 09, 2009, at 05:22 AM by 85.242.154.74 -
Changed lines 23-24 from:
The latest version is here.
to:
The latest version is here: ([[(Attach:)DynMatrix.zip]].
March 09, 2009, at 05:22 AM by 85.242.154.74 -
Changed lines 25-26 from:

to:
It is released under the Modified LGPL version common to the FCL/LCL.
Inside the zip is a test program and an additional matrix utils unit.

March 09, 2009, at 05:19 AM by 85.242.154.74 -
Added line 6:
Added line 10:
Added line 12:
Added line 16:
Added line 18:
Added line 20:
March 09, 2009, at 05:19 AM by 85.242.154.74 -
Added lines 1-20:
(:notitle:)

!! %blue% DynMatrix - A matrix implementation for FPC/Lazarus

Many years ago I wrote a [[http://en.wikipedia.org/wiki/Zortech | C++ ]] matrix class. It used the operator overloading and a few tricks, like a manual implementation of reference counting, to enable us to write things like:
 matrix A = A + B * inv(C);

Later, when I started using Delphi, missed the joys and dangers of operator overloading and implemented a version using strings to store the matrix and take advantage of its automatic reference counting. Of course, the same expression would become:
 A := Madd(A, MMul(B, inv(C)));
Not as pretty and not as easy...

When I started using FPC/Lazarus the presence of operator overloading lead to another attempt with a matrix implementation. By using a mix of objects and dynamic arrays here is a version that allows us to write:
 A := A + B * inv(C);
or even
 A := A + B * C**-1;

The latest version is here.


Edit - History - Print - Recent Changes - Search
Page last modified on February 21, 2012, at 03:38 AM