![]() |
cmd_sinreg | Function (ROM Call 0x38C) |
AMS 1.01 or higher | bascmd.h |
void cmd_sinreg (ESI RegData); |
Executes TI-Basic 'SinReg' command.
cmd_sinreg calculates a sine regression and updates all the statistics
variables (see TI-Basic manual for more info). The RegData parameter
must point to a structure on the expression stack which describes where the
actual data is stored. This structure may have one of the following eight
layouts (RegData should point to the last item):
NOTHING_TAG NOTHING_TAG NOTHING_TAG NOTHING_TAG y_list_name x_list_name |
NOTHING_TAG NOTHING_TAG NOTHING_TAG iterations y_list_name x_list_name |
NOTHING_TAG NOTHING_TAG period NOTHING_TAG y_list_name x_list_name |
NOTHING_TAG NOTHING_TAG period iterations y_list_name x_list_name |
END_TAG categories_list LIST_TAG categories_name NOTHING_TAG NOTHING_TAG y_list_name x_list_name |
END_TAG categories_list LIST_TAG categories_name NOTHING_TAG iterations y_list_name x_list_name |
END_TAG categories_list LIST_TAG categories_name period NOTHING_TAG y_list_name x_list_name |
END_TAG categories_list LIST_TAG categories_name period iterations y_list_name x_list_name |