Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10748 > unrolled thread

Re: An easier functional way to divide each Column of matrix by a

Started byBill Rowe <readnews@sbcglobal.net>
First post2012-07-02 09:33 +0000
Last post2012-07-03 02:21 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: An easier functional way to divide each Column of matrix by a Bill Rowe <readnews@sbcglobal.net> - 2012-07-02 09:33 +0000
    Re: An easier functional way to divide each Column of matrix by a Andre Koppel <akoppel@akso.de> - 2012-07-03 02:21 +0000

#10748 — Re: An easier functional way to divide each Column of matrix by a

FromBill Rowe <readnews@sbcglobal.net>
Date2012-07-02 09:33 +0000
SubjectRe: An easier functional way to divide each Column of matrix by a
Message-ID<jsrpt4$d52$1@smc.vnet.net>
On 7/1/12 at 2:05 AM, nma@12000.org (Nasser M. Abbasi) wrote:

>I think Mathematica is definitely biased towards rows. I think the
>original designers of Mathematica liked rows much more than columns
>:)

Mathematica is definitely biased towards rows due to the rather
fundamental usage of List. That is, a matrix is a list of rows
not a list of columns. And it is this distinction that creates
the bias for rows.

[toc] | [next] | [standalone]


#10755

FromAndre Koppel <akoppel@akso.de>
Date2012-07-03 02:21 +0000
Message-ID<jstkud$k74$1@smc.vnet.net>
In reply to#10748
Am 02.07.2012 11:33, schrieb Bill Rowe:
> On 7/1/12 at 2:05 AM, nma@12000.org (Nasser M. Abbasi) wrote:
>
>> I think Mathematica is definitely biased towards rows. I think the
>> original designers of Mathematica liked rows much more than columns
>> :)
>
> Mathematica is definitely biased towards rows due to the rather
> fundamental usage of List. That is, a matrix is a list of rows
> not a list of columns. And it is this distinction that creates
> the bias for rows.
>
>
this seems to be similiar on every computersystem and language that I know:
In C you will write vektor[rows] and Matrix[rows][Columns]
This means every row contains all columns within this row.
On a display (either alphanumeric or graphical) it's the same, every row
contains all columns of this row. This means the Index most of the right
is the fastest counting one. Possibly you may address the first one of 
the second row by addressing the last one + 1 of the first row.
For me this is straight foreward. A row contains a list of all columns.
so a vektor is a list of rows (even if it's a horizontal vektor) and a 
row is a list of columns. For any kind of square matrices the complete
map may be flattened and back again reordered.
If you take a look in the HP 85 Matrix-Manual (written in the late 
80ies) there are several MAT-functions that do the same.
So I think ordering the things this way is "the natural way" :-)


[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web