3 ms·
I have asked this in the past, but how do people actually read formulae and text using non-standard operators like this article? When you encounter the text `a
by tsimionescu 5y ago
I have asked this in the past, but how do people actually read formulae and text using non-standard operators like this article? When you encounter the text `a ⊗ b = a ⊙ f b` how do you read this in your mind?
In these simple examples it's easy enough to ignore, but in more realistic code that I've seen it's impossible for me to follow until I invent arbitrary names for these operators.
- lasfter 5y agoLike you mention, I invent names, though not quite arbitrarily. '⊙' looks like an 'oh-dot' to me, and '⊗' is just 'cross'. Algebra classes are full of such operators, and usually my instructors were kind enough to give them names during lectures.
- pwdisswordfish8 5y ago> how do you read this in your mind? By looking at the screen. Do you have to ‘read’ a painting to be able to perceive it?
- tsimionescu 5y agoDepends on what I want to do with it. For most paintings, I only intend to perceive the aesthetics of color, and then I don't need to read it. When I want to discuss some paintings though, it does help to be able to describe them in words - either for colors or for particular features. And then, if a painting is actually a 'riddle' that is intended to be taken as a message, then I really do want to decipher it in words. This happens in particular with religious icons (at least in Eastern Orthodoxy). I feel we'll soon get into a discussion of whether reasoning is necessarily language-based or not, which I don't want to go into. So instead I will ask - how do you discuss that formula with someone else? How do you call that operator, or others like `<=>` when you're verbally discussing the algorithm/code with someone else?
- Athas 5y agoI read them by their LaTeX names, which are "ocross" and "odot". Sometimes I will just read them as "cross" or "dot", or even "add" and "times" when applicable.
- jiehong 5y agoYou can always look them up to check: - https://en.wiktionary.org/wiki/%E2%8A%97 https://en.wiktionary.org/wiki/%E2%8A%97 - https://en.wiktionary.org/wiki/%E2%8A%99 https://en.wiktionary.org/wiki/%E2%8A%99 So I'd read it as "the tensor product of a and b equals the dot product of a and b times b", something like that. Or just "a times b = a prod f b" if I see this often.
- taejo 5y agoThese operations are meant to be essentially an arbitrary binary operation, not the tensor product.
- dgb23 5y agoI would say 'dot' and 'cross' etc. But I think something else entirely. Usually I have a little picture in my head of what I feel the operator does or what it's properties are. In this particular case I see/imagine a little purple bridge atop the operands that glows slightly and connects them. I'd say use whatever feels natural to you: names, colors, shapes, smells(?), other feelings... Now I really wonder if there are people who read symbolic expressions by associating smells or taste.