Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9972
| From | Brentt <brenttnewman@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Norm, Normalize and column vectors |
| Date | 2012-05-06 07:25 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jo590k$2bu$1@smc.vnet.net> (permalink) |
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?
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Norm, Normalize and column vectors Brentt <brenttnewman@gmail.com> - 2012-05-06 07:25 +0000 Re: Norm, Normalize and column vectors Szabolcs Horvát <szhorvat@gmail.com> - 2012-05-07 00:29 +0000
csiph-web