Skip to content

Make the Lab's notebooks the sample notebooks - #2110

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
one-set-of-sample-notebooks
Oct 24, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
one-set-of-sample-notebooks

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #1689: "the notebooks are one set of Jupyter notebooks here".

AngouriMathLab's try branch had two notebooks, both against the current API:

  • an F# tutorial of 38 code cells: building and parsing expressions, substitution, calculus with its shortcuts, vectors, matrices, sets, the aggressive operators and a surface plot;
  • a C# example.

The samples here had five cells each. Now:

  • Interactive.Sample.ipynb is the F# tutorial, so the README's links and the Binder button (Build the Binder image from this repository, and make the samples run #2107) open it. Its Try link now builds from this repository.
  • CSharp.Interactive.Sample.ipynb is the Lab's example, followed by the three cells of the old sample it didn't have: an expression with an integral, a system, and a matrix.
  • Both: outputs are stripped, and the MyGet feed the Lab used is gone.

Executed with jupyter nbconvert --execute in the binder/Dockerfile image. Every cell of both runs, the F# notebook in 14 s and the C# one in 5 s. A sample of the outputs:

cell output
("x", 3) -|> "x ^ 2" 9
```lim x->0`` "sin(a x) / (b x)"` a/b
e ** (i * pi) -1
simplified (m2 - (parsed "lambda") * I_2) the matrix, λ taken off the diagonal
the surface plot rendered, 1.2 MB of HTML
C#: "a + b".ToEntity().Substitute("a", 5).Substitute("b", 6).Evaled 11

The F# notebook's first cell also prints the C# compile error of #2109, and the notebook carries on past it.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

AngouriMathLab's try branch had an F# tutorial of 38 code cells -- building and
parsing expressions, substitution, calculus with its shortcuts, vectors,
matrices, sets, the aggressive operators and a surface plot -- and a C#
example, both against the current API, where the samples here had five cells
each. The F# tutorial is Interactive.Sample.ipynb now, so the README's links
and the Binder button open it, and the C# sample is the Lab's example followed
by the three cells of the old sample it did not have. Outputs are stripped,
the MyGet feed the Lab used is gone, and the tutorial's Try link builds from
here.

Executed with nbconvert in the binder/Dockerfile image: every cell of both runs,
in 14 and 5 seconds. The F# one's first cell prints the C# compile error of
#2109 and carries on.

Part of #1689.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet Rafael-SOWNet added this to the 2.7.0 milestone Oct 24, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 9893cf4 into master Oct 24, 2026
27 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant