Declaring functions and branches
Functions table
Select a Function row to see its branches and local parameters. Visible indicates whether it contributes to the view. Right-click or Shift+F10 opens Add declaration…, Edit selected…, Duplicate selected…, Delete selected, Toggle selected visibility and Select all branches for calculus. Add declaration… creates a function with an initial branch. Duplicate selected… proposes a new identity and takes over the data of the function. Delete selected deletes the chosen declaration. Keep at least one function and one active trace. Toggle selected visibility toggles its presence in the plot. Select all branches for calculus extends the requests of the function to the admitted branches.
In the function dialog Identity is the stable identifier, Name is the text shown, Visible sets the visibility and Output unit the default unit of the response. Choose a distinct identity. Confirm with Apply or leave with Cancel.

Branches table
Select a branch to use its scope in derivative, analysis and integral. Double-clicking opens Branch declaration. Here too Add declaration… creates, Edit selected… edits, Duplicate selected… copies with another identity and Delete selected removes the current row. Keep at least one branch.
| Field | Effect and values |
|---|---|
| Identity, Name | Unique identifier in the model and readable name of the row. |
| Expression | Real expression in the variable x, with declared parameters. Use * for multiplication and ^ for power. |
| Output unit (empty inherits) | Empty inherits from the function. A compatible unit, for example ms instead of s, converts the ordinate. |
| Lower bound (empty = global), Upper bound (empty = global) | Expressions or numbers in the unit of X. Empty takes the corresponding global limit. |
| Include lower bound, Include upper bound | Tick to admit the boundary point. Assign a shared boundary to one branch only when the branches must be disjoint. |
| Samples (0 inherits) | 0 takes Default sample count. An explicit number sets the uniform grid of the branch. |
| Sampling | uniform spreads the samples over the interval. explicit uses the list Explicit X (space-separated). |
| Exclusions | One row per interval to remove. Write lower limit, upper limit and two 0/1 flags to include the respective ends in the exclusion. |
P012 declaration exercise. Use X in s, function output in s, shared parameter amplitude=4 s, formula x and limits -amplitude and amplitude. Exclude the lower limit of the branch and include the upper one. Set explicit, the list -4 -3 -2 -1 0 1 2 3 4 and the rows below. The groups {−3,−2}, {1}, {3,4} remain. With the branch output in ms the expected values are −3000, −2000, 1000, 3000 and 4000 ms; X stays in seconds.
-1 ; 1 ; 1 ; 0
2 ; 2 ; 1 ; 1


The three published CSVs showed respectively the points (−3,−3000) and (−2,−2000), (1,1000), then (3,3000) and (4,4000). In the reopened Dataset, the Canonical table of the second segment shows one row in units s and ms.

Domain and validation
Global X minimum and Global X maximum form a finite increasing interval. Default sample count admits 2–20,000 samples in the named schema. The overall limit per declaration is 200,000 points and the one for connected components is 512. Explicit lists must respect order and interval. Check overlaps, included ends and exclusions separately. An isolated point can appear in a plot but gives no width for a trapezium. A formula that does not return a finite real value in the domain produces a calculation diagnostic.
Units and expressions
In Common X unit use 1 for a dimensionless X and a symbol known to the registry for a physical quantity. Sums require compatible quantities. For a sine use a dimensionless argument, interpreted in radians. With x in seconds and a=0.25 V/s, a*x returns volts. Check the units of the ends and of the parameters when you convert the output. A scale conversion for Graphs does not imply that the provider of the canonical Function admits the same model. Function publishing
Historical three-function Workspace
A schema 1 Workspace reopens in the rows F1, F2, F3 with activation, label, preset and formula, parameters a, b, c, units and 32–1,201 samples. The exact control also accepts finite values outside the slider range −10…10. Integrate F1 uses only the first function. For a model with identities and branches create a new document with File → New and save it with a new identity. Reuse the original through File → Open….
The test with the historical template reopened two active traces and 32 samples. A Job then saved a schema 2 with a schema 1 receipt and a distinct ID. Reopening schema 1, the three original rows were still available.
