HP Forums

Full Version: Built-in help for abscissa, apply and map
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to point out to some errors in the calculator's built-in help, for the functions abscissa, apply and map (FW 10638).

The text of the second example is: abscissa(point(1,2,3))
It should be: abscissa(point(1,2,3)) → 1

The text of the first example is: apply(x->x^3,[1,2,3]) → [1,8,27]
It should be: apply(xx^3,[1,2,3]) → [1,8,27]

The text of the second example is: apply(x->x+1,[[1,2,3],[1,2,3]],matrix)
It should be: apply(xx+1,[[1,2,3],[1,2,3]],matrix) → [[2,3,4],[2,3,4]]

By the way, it looks a little odd to me that the word "matrix" has to be added in order to get good results, but that's the way it is, because: apply(x→x+1,[[1,2,3],[1,2,3]]) ENTER, returns the wrong answer: [[1,2,4],[1,2,4]]. I've also noticed that the word "matrix" must be written in English, regardless of the calculator's language setting.

This functions works in the same way as apply regarding to matrices, i.e. the word "matrix" has to be added in order to get correct results. I think that this should be stated in the calculator's help.
map([[1,2,3],[1,2,3]],x→x+1,matrix) ENTER, returns the correct answer: [[2,3,4],[2,3,4]]
map([[1,2,3],[1,2,3]],x→x+1) ENTER, returns the wrong answer: [[1,2,4],[1,2,4]]
In CAS mode, there is no MATRIX data type, so that the compiler can interpret it is required to help with the word "matrix"

The container or limiter [] means many things, list, vector, matrix

Discussions on lists, arrays, vectors, arrays
Reference URL's