Optional Mapping Argument to matrix() Function? - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Optional Mapping Argument to matrix() Function? (/thread-7964.html) |
Optional Mapping Argument to matrix() Function? - mark4flies - 03-17-2017 10:48 AM The latest User Guide describes the matrix(r,c) function as having an optional third argument that is either a value or a mapping of (j,k). The example shows how to use it with a constant but not with a mapping. It is not in the catalog of functions so there is no further help or examples. How do define a mapping of (j,k) for this argument? Thanks! RE: Optional Mapping Argument to matrix() Function? - Didier Lachieze - 03-17-2017 12:41 PM Some examples: PHP Code: matrix(3,5,(j,k)->1+j+2*k) RE: Optional Mapping Argument to matrix() Function? - mark4flies - 03-19-2017 07:00 AM Thanks so much! |