Post Reply 
Matix form "input" call
10-21-2020, 01:41 PM
Post: #1
Matix form "input" call
Is it possible to open from a program the Matrix Form (key "c") and introduce the elements/numbers you want interactively ?
Then resume the program steps; like assigning this matrix to a variable ...
Can "INPUT" do the job, how?

Can you help me?

Toni G
Find all posts by this user
Quote this message in a reply
10-21-2020, 02:44 PM
Post: #2
RE: Matix form "input" call
(10-21-2020 01:41 PM)Tonig00 Wrote:  Is it possible to open from a program the Matrix Form (key "c") and introduce the elements/numbers you want interactively ?
Then resume the program steps; like assigning this matrix to a variable ...
Can "INPUT" do the job, how?

Can you help me?

Toni G

Hi Toni,
I think your solution resides in using the EDITMAT function :

Code:

EXPORT CREATEMAT()
BEGIN
 LOCAL mat, tmat;
 mat := MAKEMAT(0, 2, 2); // example
 mat := EDITMAT(mat); // this is what you're looking for
 tmat := TRN(mat); // transpose the created matrix
 RETURN { mat, tmat }; // return both matrix
END;

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
10-21-2020, 07:37 PM
Post: #3
RE: Matix form "input" call
Perfect, it works.
Thanks very very much

Toni
Find all posts by this user
Quote this message in a reply
Post Reply 




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