Anthrazit

900 Reputation

13 Badges

6 years, 44 days

MaplePrimes Activity


These are questions asked by Anthrazit

I just wonder how it is possible to store data between sessions. What I found out is that if a matrix is connected with a datatable, the matrix data is stored. If it is not connected with a datatable, it is not.

In the attached example there are 2 matrices. If you run the worksheet, both variables are defined as visible in the variable overview.

After reopening without running the worksheet, just the variable connected with a datatable is.

Any ideas how to also get the second variable stored between sessions (obviously not with the same method as used for a)?

storetable.mw

According to the help manual...

To perform an action when the data table is updated, click the data table, and then, from the Data Table context panel, select Edit Content Changed Code to open the Code Editor dialog for the data table.

I am unable to make this work, nothing happens when I click on that button.

Edit - Component code - shows everything greyed out.

Any hints?

Any idea why a similar indexing call to an Array and a Matrix gives different "orientations"?

The indexing call [1..2,1] to a Matrix gives a a column Vector, while a similar call to an Array gives a (row) Array. So somehow the Array call gives a transpose of the original.

MatrixVsArray.mw

I've got a question regarding sum of matrix or arrays.

My problem is that sum of the values of the maxtrices is not calculated, but shown as a sum with the '+' sign. I have tried to recreate the problem with an easier example, but so far I have not managed to do so.

Before posting the whole program, I'd like to post it as a question, if someone has an idea about how I could get an evaluation of the matrix.

Here's a screenshot.

Is there any possibility to update a DataTable, when the connected Array is expanded?

I've tried to change visibleColumns, but that doesn't show the content unfortunately.

Datatable.mw

First 20 21 22 23 24 25 26 Page 22 of 26