1
Calculator C / Help working with estack
« on: May 12, 2011, 07:17:41 pm »
Hello all,
I am in the process of developing a flash app for TI89 using TI Flash Studio. I would like to get familiar with the estack, so I can use the AMS calculation abilities. Things don't seem to be working for me so far, though. If someone could help I would be most appreciative.
Here's what I am currently struggling with.
I want to place a matrix on the estack, execute an rref (reduced row echelon format) on it, and retrieve the result.
I have tried the following:
If someone is familiar with how to properly use the estack, I would appreciate it.
Thank you.
I am in the process of developing a flash app for TI89 using TI Flash Studio. I would like to get familiar with the estack, so I can use the AMS calculation abilities. Things don't seem to be working for me so far, though. If someone could help I would be most appreciative.
Here's what I am currently struggling with.
I want to place a matrix on the estack, execute an rref (reduced row echelon format) on it, and retrieve the result.
I have tried the following:
Code: [Select]
char matx_str[255];
EStackIndex orig_top;
strcpy(matx_str, "rref([[3,6,4][5,9,2][-9,5,-2]])");
orig_top = top_estack;
push_zstr(matx_str);
push_str_to_expr(top_estack); // Receive a syntax error when executing this line of code
delete_between(orig_top, top_estack);
If someone is familiar with how to properly use the estack, I would appreciate it.
Thank you.