| Re: Nope :-P [NT] --> an interesting problem Message #9 Posted by Valentin Albillo on 6 Sept 2007, 7:05 a.m., in response to message #8 by Arne Halvorsen (Norway)
Hi, Arne:
Arne wrote:
"Thinking about that it does not work for [0, 0],[0, 0, 0]: May not turn out to be an issue in most problems. That vector has no direction or length will in many
contexts be 'illegal'."
[0],[0,0], and [0,0,0] are not the only vectors which won't work but actually any vector having one or more 0 components, such as [0,3], [-1, 0, 7], [2, 0, 0], [3.14, 2.71, 0], etc.
As soon as your vector has a 0 component, the reported dimension will be wrong. This will surely play havoc with the subsequent computations, unless the input to Katie's routine is guaranteed not to include 0 components.
Best regards from V.
| |
|