|
wxMaxima
|
The sample worksheet of the configuration dialog's "Worksheet" tab. More...
#include <WorksheetPreview.h>
Public Types | |
| enum class | Topic { labels , specialSymbols , longNumbers , oversizedMatrix , count } |
| What part of the preview a setting affects. More... | |
Public Member Functions | |
| GroupCell * | HeadingFor (Topic topic) const |
Static Public Member Functions | |
| static WorksheetPreview | Make (Configuration *config) |
| Builds the preview's cells with this configuration. | |
| static wxString | MatrixXml () |
| What Maxima sends for genmatrix(lambda([i,j],100*i+j),n,n), n = MatrixSize. | |
| static wxString | Factorial200 () |
| The decimal digits of 200!, a number long enough to be shortened by default. | |
Data Fields | |
| std::unique_ptr< GroupCell > | tree |
| The preview's cells, to hand to Worksheet::InsertGroupCells() | |
| std::array< GroupCell *, static_cast< size_t >(Topic::count)> | headings {} |
| The text cell each topic starts with; owned by tree. | |
| GroupCell * | matrixGroup = nullptr |
| The code cell whose output is the oversized matrix; owned by tree. | |
Static Public Attributes | |
| static constexpr int | MatrixSize = 40 |
| The oversized matrix has this many rows and as many columns. | |
The sample worksheet of the configuration dialog's "Worksheet" tab.
A few cells, each with the output Maxima would send for it, so no Maxima is needed: labels (one user-defined, one automatic) and multiplication signs, special symbols and a Greek letter, a long number and a matrix too large for the window. Each Topic starts with a text cell naming it; when a setting changes, the dialog scrolls that heading to the top, so the cells the setting affects are in view.
|
strong |
What part of the preview a setting affects.
| Enumerator | |
|---|---|
| labels | Labels, the label width, indenting maths and multiplication signs. |
| specialSymbols | e, i and pi with or without their percent sign, and a Greek letter |
| longNumbers | 200!, as long a number as the digit settings need |
| oversizedMatrix | A matrix too large for the window. |
|
static |
What Maxima sends for genmatrix(lambda([i,j],100*i+j),n,n), n = MatrixSize.
The entries tell where in the matrix one is, which makes it obvious which rows and columns were left out.