comp.lang.ada
 help / color / mirror / Atom feed
From: jpwoodruff@gmail.com
Subject: Re: X : Real_Vector := Solve(A => A, X => B); -- Why X as argument name?
Date: Mon, 24 Dec 2012 12:10:49 -0800 (PST)
Date: 2012-12-24T12:10:49-08:00	[thread overview]
Message-ID: <70ce3fc0-c458-4fc2-9630-461e576898be@googlegroups.com> (raw)
In-Reply-To: <871uegmmiq.fsf@katthult.thorslund.org>

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?
> 



      parent reply	other threads:[~2012-12-24 20:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-23 22:28 X : Real_Vector := Solve(A => A, X => B); -- Why X as argument name? Gustaf Thorslund
2012-12-24  8:33 ` Niklas Holsti
2012-12-24 11:50   ` Simon Wright
2012-12-24 12:58     ` Niklas Holsti
2012-12-24 21:25     ` Gustaf Thorslund
2012-12-24 20:42   ` Gustaf Thorslund
2012-12-24 20:10 ` jpwoodruff [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox