The Math Forum

Search All of the Math Forum:

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

Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   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
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.