Post Reply 
Multi-Dimensional Matrices
04-12-2017, 06:31 PM
Post: #2
RE: Multi-Dimensional Matrices
The hp-prime supports only up to 2D,

In a next firmware the compiler should detect the validity of an array (maximum 2D)

You can work with n-dimensional arrays as a list

PHP Code:
EXPORT mattest()
BEGIN
    L1
:= { {{1,2,3},{2,3,4},{19,20,21}}, {{4,5,6},{7,8,9},{-1,-2,-3}}, {{10,11,12},{13,14,15},{-5,-6,-7}}};
    print(
L1(2,1,3)); // 6
END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Multi-Dimensional Matrices - toml_12953 - 04-12-2017, 05:48 PM
RE: Multi-Dimensional Matrices - compsystems - 04-12-2017 06:31 PM
RE: Multi-Dimensional Matrices - Han - 04-12-2017, 06:45 PM
RE: Multi-Dimensional Matrices - Han - 04-12-2017, 06:42 PM



User(s) browsing this thread: 1 Guest(s)