Post Reply 
Need suggestion about long matrix program
03-27-2021, 06:14 PM
Post: #5
RE: Need suggestion about long matrix program
(03-27-2021 05:29 PM)Amer7 Wrote:  I want program to utilize M1, M2, M3 - matrices, products of program calculations will be new matrices M4,M5....A1...A7.
And I want to store these in calculator variables because I could view them. ( these will be large matrices with 9 decimal numbers, and print option is awful.

The variables M1 to M9 are predefined as global matrix variables so you can use them as you want.
To have A1 to A7 defined as global matrix variables that you can view in the matrix editor you have to declare them before the beginning and outside of your program with:

EXPORT A1,A2,A3,A4,A5,A6,A7;

For example:
Code:
#pragma mode( separator(.,;) integer(h32) )
EXPORT A1,A2,A3,A4,A5,A6,A7;

EXPORT TST()
BEGIN
 A1:=[[1,2],[3,4]];
END;

After executing TST() you'll find A1 in the matrix editor.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Need suggestion about long matrix program - Didier Lachieze - 03-27-2021 06:14 PM



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