"James Tursa" wrote in message <firstname.lastname@example.org>... > "Roger Stafford" wrote in message <email@example.com>... > > "Matt J" wrote in message <firstname.lastname@example.org>... > > > But... I still think these things should be documented somewhere. They don't satisfy the basic definitions of matrix multiplication, PROD, or SUM. They're just extrapolations of them. > > - - - - - - - > > I agree with you there. It should have been explicitly documented somewhere. > > > > Roger Stafford > > Quoting from the doc for mtimes: > > "Note If A is an m-by-0 empty matrix and B is a 0-by-n empty matrix, where m and n are positive integers, A*B is an m-by-n matrix of all zeros."
That's good. But I meant also that sum()=0 and prod()=1 should be documented somewhere as well. Maybe I just haven't found it yet, though.