Repository navigation
Math tools, phase 1: the engine, the tools and the graphs apart from the views - #47
Open
simonebortolin wants to merge 1 commit into
Open
simonebortolin wants to merge 1 commit into
simonebortolin wants to merge 1 commit into
Conversation
… [no-new-version] The first phase of the math tools as an app of their own, still a sample of the repository: what they compute moves to projects without a user interface, which build for the desktop and for WebAssembly alike. - SharpEquations.MathTools.Core: ICasEngine (CasAction, CasResult) with AngouriMathEngine (the former Algebra, reading through MathReader), the formulas, units and triangles, and ISettingsStore (a JSON file on the desktop, MemorySettingsStore otherwise) - SharpEquations.MathTools.Graphing: Viewport (pan, zoom, screen mapping) and Ticks, the start of the graphs - the views take the engine and the store: the page, the equation of the calculator and the theme come back in the next session; the browser keeps them in the local storage of the page (BrowserSettingsStore) - SharpEquations.MathTools.Tests: the tests of the engine, formulas, units and triangles move there, with tests of the settings and the graphs; ci.yml runs them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyVio8afJsGwHW9i5v5HDs
|
Pre-release NuGet package of c92e742. Updated on every push, deleted when this PR is closed. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #44. The first phase ("Fondamenta") of the math tools as an app of their own, still a sample of this repository.
What changes
samples/SharpEquations.MathTools.Core(no user interface, builds for desktop and WebAssembly):ICasEnginewithCasAction/CasResult;AngouriMathEngineis the formerAlgebra, reading throughMathReader. Other engines (e.g. a local reference one, later) can stand beside it.Triangles.Describemoves here from the page).ISettingsStore:FileSettingsStore(JSON in the application data, desktop) andMemorySettingsStore(default, tests).samples/SharpEquations.MathTools.Graphing:Viewport(pan, zoom around a point, screen ↔ plane) andTicks(round marks), the start of the 2D graphs.SharpEquations.Avalonia.MathTools.Demo, shared with the browser):MathToolsView(ISettingsStore?, ICasEngine?). The page shown, the equation of the calculator and the theme come back in the next session. The browser host keeps them inlocalStorage(BrowserSettingsStore, viaJSImport).tests/SharpEquations.MathTools.Tests(net10.0) gets the engine, formulas, units and triangles tests, plus new ones for the settings and the graphs.ci.ymlruns it, and the window testSettingsAreKeptchecks the restore.Checked
dotnet build SharpEquations.slnx -c Release: no warnings or errors.mathtools.tab/mathtools.theme, and both come back after a reload.Next phases: reference tests, engine features (angles, session variables, systems), 2D graphs, worksheet UI, tools/library, browser, 3D, the optional Windows-only reference adapter, and the export last.
Generated by Claude Code