ΣLIST, ΠLIST and ΔLIST with vectors [SOLVED]
|
01-30-2016, 11:29 AM
(This post was last modified: 10-23-2016 09:10 AM by JMB.)
Post: #1
|
|||
|
|||
ΣLIST, ΠLIST and ΔLIST with vectors [SOLVED]
Are these three functions intended to work also with vectors?
I've found that they have the following behavior, using firmware (8151):
|
|||
01-30-2016, 01:02 PM
Post: #2
|
|||
|
|||
RE: ΣLIST, ΠLIST and ΔLIST with vectors
Do you have examples that don't work?
These vectors seem to work ok: M1:=[1 2 3 4]; M2:=2*M1; ΣLIST({M1,M2}); ==> [3,6,9,12] ΠLIST({M1,transpose(M2)}); ==> [60] ΔLIST({M1,M2}); ==> {[1 2 3 4]} |
|||
01-30-2016, 01:17 PM
Post: #3
|
|||
|
|||
RE: ΣLIST, ΠLIST and ΔLIST with vectors
ΣLIST(M1); ==> 10
ΠLIST(M1); ==> restart but: ΠLIST(mat2list(M1)); ==> 24 |
|||
01-30-2016, 03:45 PM
Post: #4
|
|||
|
|||
RE: ΣLIST, ΠLIST and ΔLIST with vectors
In my case, the direct use of a vector produces the error:
ΠLIST([1 2 3]) ==> restart ΔLIST ([1 2 3]) ==> error |
|||
01-30-2016, 03:46 PM
Post: #5
|
|||
|
|||
RE: ΣLIST, ΠLIST and ΔLIST with vectors
(01-30-2016 01:17 PM)Didier Lachieze Wrote: ΠLIST(M1); ==> restart Well, that's not very graceful, is it? To be fair, the help description does specify a list as the argument. Also, the function, "calculates the product of all elements in a list," and since there is no list, there are no elements to calculate, but one could surely imagine better ways to exit than simply, crashing... |
|||
01-30-2016, 03:57 PM
Post: #6
|
|||
|
|||
RE: ΣLIST, ΠLIST and ΔLIST with vectors
I agree with DrR, but the help description for ΣLIST says: "calculates the sum of all elements in a list", and the function also works for vectors.
ΣLIST({1 2 3}) ==> 6 ΣLIST([1 2 3]) ==> 6 |
|||
01-30-2016, 05:23 PM
Post: #7
|
|||
|
|||
RE: ΣLIST, ΠLIST and ΔLIST with vectors
I think I read somewhere that the treatment of vectors and lists is generally the same. So ΣLIST([1 2 3]); should be the same as ΣLIST(mat2list([1 2 3])); and by extension, so should ΠLIST([1 2 3]) be the same as ΠLIST(mat2list([1 2 3])); so this seems like a valid bug and I know the team is aware of it.
-Dale- |
|||
02-01-2016, 04:55 PM
Post: #8
|
|||
|
|||
RE: ΣLIST, ΠLIST and ΔLIST with vectors
Is on the list. Thanks!
TW Although I work for HP, the views and opinions I post here are my own. |
|||
04-29-2016, 04:14 PM
(This post was last modified: 06-18-2016 07:24 PM by JMB.)
Post: #9
|
|||
|
|||
RE: ΣLIST, ΠLIST and ΔLIST with vectors
Corrected in firmware 10077.
Thanks to the HP Prime Team! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)