cancel
Showing results for 
Search instead for 
Did you mean: 
Athanasios
Level 3
45 19 1 1
Message 1 of 2
632
Flag Post

Solved!

Normalise command error

HP Recommended
HP Prime

Hi All,

 

I am having difficulty using the 'normalize' command:

 

1

2017-10-27_8-53-45.jpg

 

 

2

normalise.jpg

 

Can someone please tell me why this error is occurring. I tried the HP example provided and the command works fine:

 

3

2017-10-27_8-47-15.jpg

 

 

4

2017-10-27_8-47-33.jpg

 

When I add another value (a 'k' vector value) to the HP template the function also works:

 

5

2017-10-27_8-47-53.jpg

 

When I enter the values manually (see image 2) I find I have a "Index outside range : vector size is 1 Error: Invalid dimension".

 

Can someone please clarify what I am doing wrong?

 

Thanks,

Athanasios

 

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Tim_Wessman
Level 8
Level 8
747 744 121 188
Message 2 of 2
Flag Post
HP Recommended

That is a matrix (m*n) dimensions. You need a vector.

 

[ ]   not  [ [ ] ]

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.

View solution in original post

Tags (1)
Was this reply helpful? Yes No
1 REPLY 1
Tim_Wessman
Level 8
Level 8
747 744 121 188
Message 2 of 2
Flag Post
HP Recommended

That is a matrix (m*n) dimensions. You need a vector.

 

[ ]   not  [ [ ] ]

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.

View solution in original post

Tags (1)
Was this reply helpful? Yes No
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation