News for hackers. Stuff that matters.
Re:Can 1/3 and 1/3 = 2/6? It seemed so by qubex on Tuesday May 26, 2020 @09:51AM (#23311088)
This is one of the reasons I annoy people by following Wolfram’s convention in Mathematica of using square braces to denote arguments passed to a function: f(x)=fx=f×x while f[x] means “apply the function f to the argument x”. An unusual convention it may well be, but at least it’s one devoid of ambiguity.
Re:Can 1/3 and 1/3 = 2/6? It seemed so by pwdisswordfish2 on Tuesday May 26, 2020 @10:06AM (#23311257)
It's not devoid of ambiguity, because f[A] usually means the image of the set A under f.
Re:Can 1/3 and 1/3 = 2/6? It seemed so by mkl on Tuesday May 26, 2020 @09:58AM (#23311174)
Not at all. f[x] is clearly the xth component of the array f :-D
Re:Can 1/3 and 1/3 = 2/6? It seemed so by qubex on Tuesday May 26, 2020 @10:03AM (#23311217)
On the blackboard in the mathematics department it’s not.

But I get your point.

I have also heard the objection that [x] is a 1×1 matrix whose only element is ‘x’.

Re:Can 1/3 and 1/3 = 2/6? It seemed so by OscarCunningham on Tuesday May 26, 2020 @11:07AM (#23312093)
Square brackets can also denote the floor function (especially in old works where '⌊' and '⌋' were typographically unavailable).
Re:Can 1/3 and 1/3 = 2/6? It seemed so by gowld on Tuesday May 26, 2020 @11:12AM (#23312142)
An array is merely a function from N to some set.