Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site phri.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!pesnta!phri!roy From: roy@phri.UUCP (Roy Smith) Newsgroups: net.sources.bugs Subject: Re: Retraction (matrix routine) Message-ID: <2026@phri.UUCP> Date: Wed, 20-Nov-85 22:33:25 EST Article-I.D.: phri.2026 Posted: Wed Nov 20 22:33:25 1985 Date-Received: Sat, 23-Nov-85 00:38:03 EST References: <267@h.cs.cmu.edu> <2268@umcp-cs.UUCP> Organization: Public Health Research Inst. (NY, NY) Lines: 14 > Here is a `portable' matrix allocator that uses `malloc', along > with a matrix destroyer. The remaining routines are left as an > exercise to the reader.... Take a look at mod.sources Vol 2, No. 36 for a similar set of routines I wrote, along with an description of how vectored arrays work, and why they are different from 2-d arrays. My stuff doesn't allow for initialization (easy enough to add, I guess), but it does allow for arbitrary sized array elements. If you don't have the archives, contact me direct for a copy. -- Roy Smith System Administrator, Public Health Research Institute 455 First Avenue, New York, NY 10016