Optional Mapping Argument to matrix() Function?
|
03-17-2017, 10:48 AM
Post: #1
|
|||
|
|||
Optional Mapping Argument to matrix() Function?
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! |
|||
03-17-2017, 12:41 PM
Post: #2
|
|||
|
|||
RE: Optional Mapping Argument to matrix() Function?
Some examples:
PHP Code: matrix(3,5,(j,k)->1+j+2*k) |
|||
03-19-2017, 07:00 AM
Post: #3
|
|||
|
|||
RE: Optional Mapping Argument to matrix() Function?
Thanks so much!
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)