home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.edu:1493 comp.lang.fortran:3389 comp.lang.misc:2898 comp.arch:9180 sci.math:10899
- Path: sparky!uunet!mcsun!sun4nl!cwi.nl!dik
- From: dik@cwi.nl (Dik T. Winter)
- Newsgroups: comp.edu,comp.lang.fortran,comp.lang.misc,comp.arch,sci.math
- Subject: Re: Scientists as Programmers (was Re: Small Language Wanted)
- Message-ID: <7216@charon.cwi.nl>
- Date: 2 Sep 92 21:12:56 GMT
- References: <1992Aug31.133811.3626@crd.ge.com> <1992Aug31.144045.11416@hubcap. <1992Sep2.090541.29304@st-andrews.ac.uk>
- Sender: news@cwi.nl
- Followup-To: comp.edu
- Organization: CWI, Amsterdam
- Lines: 15
-
- In article <1992Sep2.090541.29304@st-andrews.ac.uk> ajtd@honey.st-and.ac.uk (Tony Davie) writes:
- > In addition, many of the best non-numerical algorithms seem to be neglected.
- > Bubble sort STILL seems to be the most used sorting method, for instance.
-
- Surprise, also Bubble sort has its place! I once did code for the
- singular value decomposition. At the end of the routine the singular
- values are sorted (because most people expect this). I deliberately
- chose Bubble sort because the code is short. That its order is n^2
- is not important as the order of the decomposition is n^3 for square
- matrices. It would be silly to invest time to implement better sorting
- methods at that place.
- --
- dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland
- home: bovenover 215, 1025 jn amsterdam, nederland
- dik@cwi.nl
-