Remix.run Logo
▲ vlovich123 a day ago

It’s not immediately obvious to me that argument is sound since we’re talking about the exact bound. I believe the lower bound for certain rectangular sizes is less than 2.25 while 2.25 remains an upper bound for rectangular matrices.

▲pastel8739 a day ago | parent [-]

I think it’s actually obvious that this argument isn’t sound, think about multiplying a 1x5 matrix by a 5x1 matrix—this can clearly be done in linear time.

▲fn-mote a day ago | parent [-]

Pedantry: In order for O(n) or Theta(n) to be relevant, your problem statement needs to have an “n” in it.

So: Multiplying a (1,n) matrix by an (n,1) matrix is linear in n.