|
84753 packages online
|
|
|
|
|
|
No screenshot available
|
Short: | A small cli program which solves matrixes. solver vbcc harlock |
Author: | harlocktso.cin.ix.net |
Uploader: | harlock tso cin ix net |
Type: | misc/math |
Version: | 1.0 |
Architecture: | m68k-amigaos |
Date: | 1998-05-11 |
Download: | misc/math/Matrix.lha - View contents | Readme: | misc/math/Matrix.readme |
Downloads: | 479 |
|
This program will solve matrixes of varying size. It was written in
C and the source code is included. There are two versions. One is
called Matrix and the other is called Test. Test is the program I
used to debug the routine. It allows the user to see how the
computer is solveing the matrix step by step. I included it in case
there was anyone out there interested in how the work was getting
done.
There were several bugs in the last version 0.2. I believe that I've
ironed all of them out though. The only reason why this program
should return anything other than the correct answer now is if the
numbers get to large for it to handle. Since the max is like 3.4e38
This shouldn't be a problem for the vast majority of problems,
however if you gave a matrix of rediculous proportions or you used
REALLY large numbers then you could hit the barrier. I'm working on
writeing a reduction routine into the solver which should take care
of this problem completely.
For programmers or those interested I have written the routine that
solves the matrix as a C function so that others may use it. The
documentation on the correct usage in the C language is contained in
the source file itself in standard Commodore autodoc format. The
source and the program are freeware, and you may do with them what
you will. The SolveMatrix Function in paticular could be altered by
a programmer to talor it to his/her own needs. I wrote it to be as
all purpose as possible, but feel free to change it as you need to.
The most practical thing I could think to change would perhaps be the
variable type of the matrix from float to int for speed, or from
float to double to allow larger matrixes to be solved.
|
Contents of misc/math/Matrix.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 631 1722 36.6% -lh5- 0555 May 10 1998 SolveMatrixSource/Matrix.c
[generic] 1637 4925 33.2% -lh5- abaf May 10 1998 SolveMatrixSource/SolveMatrix.c
[generic] 1325 4198 31.6% -lh5- 7964 May 10 1998 TestSource/Test.c
[generic] 8769 17960 48.8% -lh5- 8b17 May 10 1998 Matrix
[generic] 943 1890 49.9% -lh5- b335 May 10 1998 Matrix.readme
[generic] 8751 17944 48.8% -lh5- 500d May 10 1998 Test
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 6 files 22056 48639 45.3% May 11 1998
|
|
|
|
Page generated in 0.01 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |