Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!ariel.unm.edu!spectre.unm.edu!john From: john@spectre.unm.edu (John Prentice) Newsgroups: comp.lang.fortran Subject: Re: Need complex matrix solver for CM Message-ID: <1991Jun28.192324.20512@ariel.unm.edu> Date: 28 Jun 91 19:23:24 GMT References: <1991Jun27.190724.26161@ariel.unm.edu> <7887@mace.cc.purdue.edu> <1991Jun28.061454.29461@fs7.ece.cmu.edu> Organization: Dept. of Math & Stat, University of New Mexico, Albuquerque Lines: 28 In article <1991Jun28.061454.29461@fs7.ece.cmu.edu> winstead@faraday.ece.cmu.edu (Charles Holden Winstead) writes: >>In article <1991Jun27.190724.26161@ariel.unm.edu> john@spectre.unm.edu (John Prentice) writes: >>linear system twice as large. If you need a High School math reminder: > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > >Yo dude, grow up! I agree that it's a simple task of changing a complex >linear system into a real one, but with a language that deals with complex >numbers as nicely as fortran does, let's agree that there are some benefits >to not switching from complex to real and back again repeatedly. Why not >just look through the code that works for real matrices and change the >corresponding variable declaration from real to complex. > The first time you come across a piece of code in a matrix solver that checks to see what sign a real number is, how are you going to change this to handle complex numbers? It takes more than just changing the variable declarations. In either case, it is a sterile argument. I judge it to be preferential in my situation to use complex numbers and I don't particularly feel compelled to argue about it. I am certainly not proselytizing that this is the only way to do it. Peace! John -- John K. Prentice john@spectre.unm.edu (Internet) Computational Physics Group Amparo Corporation, Albuquerque, NM