From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,26e047a7a0709881 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.223.73 with SMTP id qs9mr19445081pbc.7.1341788210330; Sun, 08 Jul 2012 15:56:50 -0700 (PDT) Path: l9ni11215pbj.0!nntp.google.com!news1.google.com!postnews.google.com!y3g2000pbc.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: How to initialize a matrix of one column only? Date: Sun, 8 Jul 2012 15:56:49 -0700 (PDT) Organization: http://groups.google.com Message-ID: <4d3d481d-a179-44f6-a81d-04a0531641ad@y3g2000pbc.googlegroups.com> References: NNTP-Posting-Host: 97.117.195.55 Mime-Version: 1.0 X-Trace: posting.google.com 1341788210 25708 127.0.0.1 (8 Jul 2012 22:56:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 8 Jul 2012 22:56:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y3g2000pbc.googlegroups.com; posting-host=97.117.195.55; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_4; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-08T15:56:49-07:00 List-Id: On Jul 7, 5:08=A0pm, "Nasser M. Abbasi" wrote: > where the labase package simply introduces a type for > Fortran_Real_Matrix as follows > > ---------------------------- > =A0 =A0type Fortran_Real_Matrix is array (Fortran_Integer range <>, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 Fortran_Integer range <>) > =A0 =A0 =A0 =A0 =A0 of Real; > =A0 =A0 =A0pragma Convention (Fortran, Fortran_Real_Matrix); I wish these bindings would be rewritten to use Annex G.3 Real_Vector and Real_Matrix (etc. for complex) so that a single set of types can be used in a program that uses the G.3 stuff anyway. Jerry