Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: matrix multiplication with zero dimensions
Replies: 11   Last Post: Jan 7, 2013 10:20 AM

 Messages: [ Previous | Next ]
 Matt J Posts: 4,997 Registered: 11/28/09
Re: matrix multiplication with zero dimensions
Posted: Jan 7, 2013 6:26 AM

"James Tursa" wrote in message <kcdu10\$8bi\$1@newscl01ah.mathworks.com>...
> "Roger Stafford" wrote in message <kcdmmk\$ekv\$1@newscl01ah.mathworks.com>...
> > "Matt J" wrote in message <kcdl09\$975\$1@newscl01ah.mathworks.com>...
> > > 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.

Date Subject Author
1/6/13 Matt J
1/6/13 Bruno Luong
1/6/13 Matt J
1/6/13 Roger Stafford
1/6/13 Matt J
1/7/13 Matt J
1/7/13 Roger Stafford
1/7/13 James Tursa
1/7/13 Roger Stafford
1/7/13 Matt J
1/7/13 Bruno Luong
1/7/13 Steven Lord