comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Inheritance problem!
Date: Sun, 21 Dec 2008 09:29:16 +0100
Date: 2008-12-21T09:29:17+01:00	[thread overview]
Message-ID: <7v3397hyn2w0.1unj7tjmiaheo$.dlg@40tude.net> (raw)
In-Reply-To: IPg3l.433343$TT4.121438@attbi_s22

On Sun, 21 Dec 2008 01:18:32 GMT, Jeffrey R. Carter wrote:

> Dmitry A. Kazakov wrote:
>> 
>> A number is a matrix with one column and one row...
> 
> No, a number is the value in the 1x1 matrix. You can transpose a matrix. You 
> can't transpose a number.

(It was a joke. Such statements are meaningless without further
explanations)

 But you surely can transpose 1x1 matrices. Assuming "is-a matrix" means
injective mapping keeping matrix operations, here is transposing numbers:

Number  ---> Matrix
                     |
                     | Transpose
                    V
Number  <--- Matrix

When you wanted to consider numbers as elements of matrices, then the above
would be illegal, but you could do the same with vectors (block matrices).
The point is that it is not a property of vector or number to be something
else, but merely a matter of view.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2008-12-21  8:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-18 15:14 Inheritance problem! AndreiK
2008-12-18 16:31 ` Adam Beneschan
2008-12-19 21:34   ` Maciej Sobczak
2008-12-19 22:37     ` Adam Beneschan
2008-12-20  0:02     ` Georg Bauhaus
2008-12-20  0:33       ` Jeffrey R. Carter
2008-12-20  8:28         ` Dmitry A. Kazakov
2008-12-21  1:18           ` Jeffrey R. Carter
2008-12-21  8:29             ` Dmitry A. Kazakov [this message]
2008-12-21 17:05               ` Jeffrey R. Carter
2008-12-22 17:10         ` hesobreira
2008-12-22 19:46           ` Jeffrey R. Carter
2008-12-23 13:06             ` Maciej Sobczak
replies disabled

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