Re: [PHP4BETA] cvs: /php4/ext/standard array.c php_array.h
| From: | Egon Schmid | Date: | Sun, 21 Nov 1999 18:24:38 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/standard array.c php_array.h | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6630@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> At 06:55 PM 11/21/99 +0100, Thies C. Arntzen wrote:
> >On Sun, 21 Nov 1999, Andrei Zmievski wrote:
> >
> >> I think we should call it array_transpose(). What do you think?
> >
> >what's the problem with array_flip() - is transpose clearer in any way?
>
> I think it is. If you imagine array as a matrix, you're basically doing a
> transpose operation.
No, you are wrong here. I have only studied agricultural science, but
I'm sometimes very familiar with matrix operations. A matrix transpose
is somethink like this:
| 1 |
X = | 2 | X' = | 1, 2, 3 |
| 3 |
X' is the transposed matrix.
-Egon
PS: But I'm not sure if 'flip' is the correct wording in rocket science.
-Egon