Re: cool new sytax feature in Mathematica 6, compete with Matlab?
- From: Szabolcs <szhorvat@xxxxxxxxx>
- Date: Mon, 14 May 2007 11:32:04 +0200
DP wrote:
So, typing A(1:10) in Matlab means the elements 1 to 10.
Now in Mathematica one can do the same, but the syntax is ';;'
Sorry but I find this notation ugly because my eyes are now programmed to
transmit to my brain that a semicolon means a command separator or the
beginning of a comment in various other languages.
Maple does a better job with the interval notation a..b
Dan
The front end formats it nicely so it is not at all difficult to read. You have to get used to it just as you had to get used to the peculiarities of other languages. It was a better solution than overloading yet another operator, as in the case of ! which means factorial as postfix, "not" as prefix, but shell escape at the beginning of the line, pipe prefix at the beginning of a string ...
.
- References:
- Prev by Date: Re: Getting 3D graphs to look nice in Mathematica 6
- Next by Date: Re: cool new sytax feature in Mathematica 6, compete with Matlab?
- Previous by thread: Re: cool new sytax feature in Mathematica 6, compete with Matlab?
- Next by thread: Re: cool new sytax feature in Mathematica 6, compete with Matlab?
- Index(es):