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-7-bit Received: by 10.68.196.232 with SMTP id ip8mr17993613pbc.6.1341732423423; Sun, 08 Jul 2012 00:27:03 -0700 (PDT) Path: l9ni11132pbj.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to initialize a matrix of one column only? Date: Sun, 08 Jul 2012 08:27:01 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="xdR+M82wpvuVwH9XwXKBMw"; logging-data="25499"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XndCvvvMMe5A6LMBnAf6rXn6KqOnRdRk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:JQR4Gu5FiWqsZGMsJt3r32udvPU= sha1:3h7cy6ucEej2TIO+eG6RZGAZ6Pk= Content-Type: text/plain Date: 2012-07-08T08:27:01+01:00 List-Id: "Nasser M. Abbasi" writes: > I want to pass it a one column matrix. (i.e. I can't use a > Vector, it must be a matrix, since this is what the Ada Lapack > binding requires). The case where NRHS is 1 probably happens often enough that it deserves its own overlaid binding (this is what the Ada Solve has). >From the point of view of SGESV's object code, there's no difference between a (1 .. n, 1 .. 1) matrix and a (1 .. n) vector.