Taking Vector Transposes Seriously | Jiahao Chen | JuliaCon 2017
Channel:The Julia Programming Language · Length:19:12 · Published:2017-07-17 · Views:7387
Summary
Jiahao Chen's JuliaCon 2017 talk argues that vector transposes should be taken seriously in type systems and linear algebra libraries. It explains why treating vectors as matrices causes trouble in languages.
Why HN recommends it
Strongly recommended for anyone working with vectors for its clear take on how they should be treated in types.
but seriously take the time to watch this, it's fantastic — HN, 2020
Programming language design · Pure mathematics
Subtitles (excerpt)
my name is Jal Chan U until about four months ago I was at mitc cell uh with the Julia Labs uh I currently work at Capital One in New York uh but the disclaimer here is that this is all work that was done before I went to Capital One so they don't get to tell me what I can't say about this topic so some of you may remember this issue taking back the transposer seriously how many of you how many of you have read this issue oh my goodness okay all right three qus of you guys rais your hands okay so I the punch line here is that we were wrong on at least four counts on this issue and I will explain as much as possible within half an hour why we were wrong um as you know 4774 is quite possibly one of the most hotly debated issues of our time and I went to sample some luminaries of our community to ask about their opinions so here's one oh sorry thank you uh so here's one opinion here's another opinion from another luminary and here's yet another uh opinion from that another luminary uh who unfortunately could not be here and thus was born this issue uh surprisingly it's not just us so uh turns out that the python people had also thought about this and they had what is it 381 comments on this particular
On Hacker News
> Purist test The short answer is. Yes, but if your PL treats it that way you will wind up in trouble [0]. The long answer is: [VIDEO] (but seriously take the time to watch this, it's fantastic). [0] Separately C- and often C-derived languages/frameworks like numpy also treat them as 1xN matrices, but that's a nearly tabs-vs-spaces level religious war, with actual consequences. I think a lot of p… — dnautics, 2020-10
Addendum: Also really good is this video about how one should treat vectors and matrices in a type system. Has good lessons for python, R, and Matlab. Seriously anyone who does anything with vectors should watch this. [VIDEO] — dnautics, 2018-03
If you want a great video on the topic, see [VIDEO] Or equivalently [LINK] There are basically two self-consistent choices for the design of linear algebra libraries. — gugagore, 2022-04
If you will do a lot of matrix stuff you might want to listen to [VIDEO] taking Vector Transpose Seriously — freemint, 2021-07
I happened to be the other way, I learned first that matrices were linear transformations and, being thick-headed, it took me a really long time to understand that matrices could also be used as "dumb excel spreadsheets". there's a fantastic historiography of linear algebra and why we're stuck in this situation here: [VIDEO] — dnautics, 2020-06
Related videos
- Lecture 7: Introduction to Galois Fields for the AES by Christof Paar · Introduction to Cryptography by Christof Paar · 1:30:50
- Feynman_i_dont_like_honors_ [longer_version] · batxg3 · 2:36
- DNA animation (2002-2014) by Drew Berry and Etsuko Uno wehi.tv #ScienceArt · WEHImovies · 7:19
- Stanford Seminar: Beyond Floating Point: Next Generation Computer Arithmetic · Stanford Online · 1:31:28
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- Ruby Conf 12 - Boundaries by Gary Bernhardt · Confreaks · 45:55
- ElixirConf 2018 - Docker and OTP Friends or Foes - Daniel Azuma · ElixirConf · 38:53
- 8-bit computer update · Ben Eater · 6:53
- Scale By The Bay 2018: Bryan Cantrill, Rust and Other Interesting Things · FunctionalTV · 37:06
- Toybox vs BusyBox - Rob Landley, hobbyist · The Linux Foundation · 51:43
- Quantum Expert Insight: Peter Shor · Qiskit · 31:18
- Why does light slow down in water? · Fermilab · 10:24
- Category Theory in Life - Eugenia Cheng · Lambda World · 40:38
- Vectors | Chapter 1, Essence of linear algebra · 3Blue1Brown · 9:51
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- But what is the Fourier Transform? A visual introduction. · 3Blue1Brown · 19:41