home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!gumby!wupost!dsuvax.dsu.edu!rolfe
- From: rolfe@dsuvax.dsu.edu (Tim Rolfe)
- Subject: Re: ... f77 code to do matrix mult,trans,inv operations
- Message-ID: <1992Nov20.175511.6659@dsuvax.dsu.edu>
- Organization: Dakota State University
- References: <suppressed>
- Date: Fri, 20 Nov 1992 17:55:11 GMT
- Lines: 18
-
- In <***> [name suppressed] writes
-
- >multiply a matrix by a vector
- >multiply two matrices
- >invert a matrix
- >transpose a matrix
-
- Except for inverting a matrix, aren't the rest of these exercises typical
- of introductory programming languages courses with a numerical bent, or at
- very most a second-semester course? Transpose is one line in a nested
- double loop. Matrix-dot-vector is a triple loop; in Fortran the matrix
- multiply can be a single loop calling the matrix-dot-vector.
-
- If anything more complicated is required, it isn't obvious from the post.
- --
- --- Tim Rolfe
- rolfe@dsuvax.dsu.edu
- ROLFE@SDNET.BITNET
-