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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,380d5dcaa525139c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.218.2 with SMTP id ho2mr11461545qab.8.1356379849630; Mon, 24 Dec 2012 12:10:49 -0800 (PST) Received: by 10.49.75.195 with SMTP id e3mr3378596qew.24.1356379849574; Mon, 24 Dec 2012 12:10:49 -0800 (PST) Path: k2ni2110qap.0!nntp.google.com!ee4no2130029qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 24 Dec 2012 12:10:49 -0800 (PST) In-Reply-To: <871uegmmiq.fsf@katthult.thorslund.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=71.229.206.178; posting-account=eLk0BgoAAAA-yA75xm1L7heSizMaESVg NNTP-Posting-Host: 71.229.206.178 References: <871uegmmiq.fsf@katthult.thorslund.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <70ce3fc0-c458-4fc2-9630-461e576898be@googlegroups.com> Subject: Re: X : Real_Vector := Solve(A => A, X => B); -- Why X as argument name? From: jpwoodruff@gmail.com Injection-Date: Mon, 24 Dec 2012 20:10:49 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-12-24T12:10:49-08:00 List-Id: I would agree that calling the formal parameter "x" is infelicitous. But it's been that way for a long time, so we live with it. The important thing is that the originators made the decision and moved on. I'm glad the topic came up. I like to engage the people who think this subject is interesting. I'm going to reopen the topic of Ada bindings to Lapack, and the subject of parameter names looms in that discussion. I'll put something up a couple days after Christmas. Ho Ho Ho. John On Sunday, December 23, 2012 3:28:13 PM UTC-7, Gustaf Thorslund wrote: > -- why_x.adb by confused Gustaf Thorslund > > > > with Ada.Numerics.Real_Arrays; use Ada.Numerics.Real_Arrays; <...> > > -- x is found using > > -- function Solve (A : Real_Matrix; X : Real_Vector) return > > -- Real_Vector; > > X : Real_Vector := Solve(A => A, X => B); -- Why X as argument name? >