Conformant arrays-- how to?

Chris Torek chris at mimsy.UUCP
Wed May 3 08:52:40 AEST 1989


>In article <4700036 at m.cs.uiuc.edu> kenny at m.cs.uiuc.edu writes:
>>... proposal to implement conformant arrays of more than one
>>dimension in C. ...
>>	return_type f (int m,		/* Number of rows */
>>	               int n,		/* Number of columns */
>>	               double x [] [n])	/* x is a m x n array */

In article <13101 at paris.ics.uci.edu> schmidt at zola.ics.uci.edu (Doug Schmidt)
writes:
>... GCC ... implements what you are referring to ....

It does.

>This seems pretty straight-forward to understand and implement, but
>might it present problems on some architectures?

No.  Fortran does the same thing (although it needs all but the
*last* dimension, rather than all but the first).
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.lang.c mailing list