• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

BUGSH A D19-Sep-2001210 64

CHANGELOGH A D19-Sep-20014.8 KiB10487

CONTRIBUTORSH A D19-Sep-2001512 2015

COPYINGH A D09-Apr-200117.6 KiB341281

MakefileH A D03-May-2022676 3624

READMEH A D19-Sep-20011.8 KiB5239

TODOH A D19-Sep-200187 52

add.cH A D09-Apr-2001905 4618

inverse.cH A D19-Sep-20013.6 KiB14863

mtrxmath.1H A D09-Apr-20011.9 KiB6661

mtrxmath.cH A D09-Apr-20015.3 KiB259189

mtrxmath.hH A D03-May-20221.6 KiB5535

mult.cH A D26-Apr-20011.5 KiB7237

sub.cH A D09-Apr-2001779 3618

README

1README for mtrxmath Version 1.0.2
2Maintained by Jeff Craig <luserjeff@linuxfreemail.com>
3
4This project is licensed under the GPL (See COPYING file),and is free
5to change and distribute as you wish.
6
7Synopsis:
8The mtrxmath project is a simple project built for the singular
9purpose of performing math with matrices.The code and data structure
10have been designed to be capable of anything.  The data structure
11has been changed by Paul Sack to a dynamic array floating point numbers.
12The code is quick and tight, and will be better documented in future
13releases.
14
15To install:
16 Run make to compile
17 Run make install as root to install it to /usr/local/bin
18
19 For help either run mtrxmath with the '-h' option or read the man page
20
21To Use:
22To add two matrices type: 'mtrxmath -a' at the command prompt
23To subtract two matrices type: 'mtrxmath -s' at the command prompt
24To multiply two matrices type: 'mtrxmath -m' at the command prompt
25To divide two matrices type: 'mtrxmath -d' at the command prompt
26To find the determinant of a matrix type: 'mtrxmath -D'
27To find the inverse of a matrix type: 'mtrxmath -i'
28After that the three interfaces are identical, and self explanatory
29
30Also, Paul Sack has contributed code to allow for reading from a file.
31
32Here is Paul's Description of it:
33
34	The format is the same as that for the input (rows, whitespace,
35	columns, whitespace, entries, each separated by whitespace).
36	With the exception that any non-digits are ignored, so users
37	can put comments in the files.
38
39	e.g.
40	rows: 2
41	columns: 2
42	1 2
43	3 4
44
45	is allowed.
46
47To utilize this new feature simply type 'mtrxmath [function] <file1> <file2>'
48
49IMPORTANT: When subtracting and dividing you must specify the matrices in the
50correct order or your results will be incorrect.  Also, you can not specify
51a file for the second matrix and not the first.
52