S c i e n t i f i c A r t s
WorkLife Requirements Purchase FAQ Documentation WLFW Blog ?
 

Computations Palette

The Palette

For the buttons and executable commands that are described n this section to work it is assumed that you have installed A WorkLife FrameWork™ and have loaded it.  This can be done either from the Load WorkLife Framework button on the supplied palette, by executing the command Needs["Diary`Diary`"], or by clicking on the following button:

"computationspalette_1.gif"

By clicking on the on the button to the left of Computations on the WorkLife Tools Palette, you will open the Computation Palette.  You can also open the Computation Palette by executing:

"computationspalette_2.gif"

or by clicking the Computations button on the All Palettes Palette.

"computationspalette_3.gif"

The Computation Palette

The Palette Buttons

For the buttons and executable commands that are described n this section to work it is assumed that you have installed A WorkLife FrameWork™ and have loaded it.  This can be done either from the Load WorkLife Framework button on the supplied palette, by executing the command Needs["Diary`Diary`"], or by clicking on the following button:

"computationspalette_4.gif"

"computationspalette_5.gif"

This is a heading button for the two sets of buttons that follow which have to do with adding data cells to the current Diary notebook.

"computationspalette_6.gif"

Clicking on any of these buttons inserts a data cell of the indicated label at the end of the current Diary notebook.

A data cell is formatted like the following (for the case of the label A):

"computationspalette_7.gif"

where the place holder, □, is ready for the insertion of data.

"computationspalette_8.gif"

The Data Grid button opens up a dialog that lets you choose the dimensions of a data grid to be placed as a data cell at the end of the current Diary notebook.  The Data Grid dialog looks like:

"computationspalette_9.gif"

The Data Grid dialog

In the Data Grid dialog the number of rows and columns (each an integer) are input and then by clicking on one of the buttons labeled A, B, C, D, E, F, a blank data grid is placed at the end of the current Diary notebook as a computation cell of the chosen label.

The buttons R and C, when clicked, each add respectively one row or one column to the data grid at the insertion point in the data grid.

"computationspalette_10.gif"

This is a heading button for the buttons that follow which have to do with computations data cells to the current Diary notebook.

Note that the names of these cells are the default generic ones.  On a Diary by Diary basis these names can be changed by defining values of the function ComputationCellOperatorName.  This is illustrated below.

"computationspalette_11.gif"

Clicking on this button causes the computation defined by ComputationCellOperator["A"] to be performed on the data contained in computation cells with label "A" in the current Diary notebook.   The default value of each of the ComputationCellOperators is just (#&), which returns the data contained in the computation cells with the given label.

If we had made the definition

"computationspalette_12.gif"

then the button would look like

"computationspalette_13.gif"

And an example of a function that would add together the contents of the A data cells would be

"computationspalette_14.gif"

"computationspalette_15.gif"

Causes the computation defined by ComputationCellOperator["B"] to be performed on the data contained in computation cells with label "B" in the current Diary notebook.  See the discussion above for the first Computation button.

"computationspalette_16.gif"

Causes the computation defined by ComputationCellOperator["C"] to be performed on the data contained in computation cells with label "C" in the current Diary notebook.  See the discussion above for the first Computation button.

"computationspalette_17.gif"

Causes the computation defined by ComputationCellOperator["D"] to be performed on the data contained in computation cells with label "D" in the current Diary notebook.  See the discussion above for the first Computation button.

"computationspalette_18.gif"

Causes the computation defined by ComputationCellOperator["E"] to be performed on the data contained in computation cells with label "E" in the current Diary notebook.  See the discussion above for the first Computation button.

"computationspalette_19.gif"

Causes the computation defined by ComputationCellOperator["F"] to be performed on the data contained in computation cells with label "F" in the current Diary notebook.  See the discussion above for the first Computation button.

"computationspalette_20.gif"

This is a heading button for the buttons that follow which have to do with computations data cells to the current Diary notebook.

"computationspalette_21.gif"

Each of these buttons opens up a new notebook containing the data cells of the indicated label from the current Diary notebook.

Copyright ©, 2005→2009 Scientific Arts, LLC. All rights  reserved.

Copyright ©, 2005-2009 Scientific Arts, LLC