home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / fortran / 4381 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!gumby!wupost!dsuvax.dsu.edu!rolfe
  3. From: rolfe@dsuvax.dsu.edu (Tim Rolfe)
  4. Subject: Re: ... f77 code to do matrix mult,trans,inv operations
  5. Message-ID: <1992Nov20.175511.6659@dsuvax.dsu.edu>
  6. Organization: Dakota State University
  7. References: <suppressed>
  8. Date: Fri, 20 Nov 1992 17:55:11 GMT
  9. Lines: 18
  10.  
  11. In <***> [name suppressed] writes
  12.  
  13. >multiply a matrix by a vector
  14. >multiply two matrices
  15. >invert a matrix
  16. >transpose a matrix
  17.  
  18. Except for inverting a matrix, aren't the rest of these exercises typical
  19. of introductory programming languages courses with a numerical bent, or at
  20. very most a second-semester course?  Transpose is one line in a nested
  21. double loop.  Matrix-dot-vector is a triple loop; in Fortran the matrix
  22. multiply can be a single loop calling the matrix-dot-vector.
  23.  
  24. If anything more complicated is required, it isn't obvious from the post.
  25. -- 
  26.                                               --- Tim Rolfe
  27.                                            rolfe@dsuvax.dsu.edu
  28.                                             ROLFE@SDNET.BITNET
  29.