Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9994 > unrolled thread

Re: Norm, Normalize and column vectors

Started byBrentt <brenttnewman@gmail.com>
First post2012-05-08 08:10 +0000
Last post2012-05-08 08:10 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Norm, Normalize and column vectors Brentt <brenttnewman@gmail.com> - 2012-05-08 08:10 +0000

#9994 — Re: Norm, Normalize and column vectors

FromBrentt <brenttnewman@gmail.com>
Date2012-05-08 08:10 +0000
SubjectRe: Norm, Normalize and column vectors
Message-ID<joakcp$nhd$1@smc.vnet.net>
Thank you. Someone else said it had to do with the fact that the model for
lists in Mathematica is based on tensors (or something). This prompted me
to go look up what tensors are, and since I'm just now finishing up my
first course in Linear Algebra my mind throughly blown. But I still don't
understand it.

Your answer makes sense to me at least. Unexplained, possibly arbitrary
design decisions I can understand---tensors not so much at this point.

On Sun, May 6, 2012 at 5:29 PM, Murray Eisenberg <murray@math.umass.edu>wrote:

> It's impossible to know _why_ without being able to read the minds of
> the developers!
>
> A more proximate reason is the documentation: ref/Norm says Norm[expr]
> "gives the norm of a number, vector, or matrix" whereas ref/Normalize
> says Normalize[v] "gives the normalized form of a vector v".
>
> Whether Normalize ought to be extended to have the same domain as Norm
> -- that's a different question. At first glance, that would seem
> desirable, but then I don't know what the implications of such an
> extension would be for the rest of the system.
>
>
> On 5/6/12 3:24 AM, Brentt wrote:
> > Why does Norm work with column vectors, but Normalize does not?
> >
> > e.g..
> > In[1]:= Norm[{{1}, {2}, {3}}]
> >
> > Out[1]= Sqrt[14]
> >
> > But
> >
> > In[2]:=Normalize[{{1}, {2}, {3}}]
> >
> > Throws red
> >
> >
> > It even says in the documentation that Normalize[v] essentially returns
> >
> > Times[Power[Norm[v],-1],v],   except returning the 0 vector for the 0
> > vector.
> > Strangely, the above "equivalent" expression would handle all but th 0
> > column vector with aplomb.
> >
> > I find this curious. Is there a good explanation for this?
> >
>
> --
> Murray Eisenberg                     murray@math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower      phone 413 549-1020 (H)
> University of Massachusetts                413 545-2859 (W)
> 710 North Pleasant Street            fax   413 545-1801
> Amherst, MA 01003-9305
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web