How saryghazy/gaussiansolve works
Gaussian Solver is an ASP.NET application and math engine for solving linear and nonlinear systems, presenting elimination/iteration results, and retaining problem history. The main workflow accepts equations or matrix values through the web controller, parses and solves them, returns a result view, and can save completed runs for later history retrieval. The README also describes PDF/OCR import and interactive matrix editing; those capabilities are represented where the tree supports them, but OCR implementation details are not shown in the sampled source.
Main entry points: HomeController.cs Web workflows · LinearEquationSystemParser.cs Linear system parser · Program.cs Web startup · ProblemHistoryService.cs History service
Components 19
Web experience
- Web workflows
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Web startup
GaussianSolve/src/GaussianSolver.Web/Program.cs - Matrix editor
GaussianSolve/src/GaussianSolver.Web/wwwroot/js/matrix-editor.js - PDF upload UI
GaussianSolve/src/GaussianSolver.Web/wwwroot/js/pdf-upload.js - Solver input model
GaussianSolve/src/GaussianSolver.Web/ViewModels/LinearSolverInputViewModel.cs
Math engine
- Equation parser
GaussianSolve/src/GaussianSolver.MathEngine/Expressions/EquationParser.cs - Expression parser
GaussianSolve/src/GaussianSolver.MathEngine/Expressions/ExpressionParser.cs - Linear system parser
GaussianSolve/src/GaussianSolver.MathEngine/Expressions/LinearEquationSystemParser.cs - Linear elimination
GaussianSolve/src/GaussianSolver.MathEngine/LinearAlgebra/GaussianEliminationSolver.cs - Matrix operations
GaussianSolve/src/GaussianSolver.MathEngine/Matrices/Matrix.cs - Exact fractions
GaussianSolve/src/GaussianSolver.MathEngine/Numbers/Fraction.cs - Nonlinear solvers
GaussianSolve/src/GaussianSolver.MathEngine/Numerical
Problem history
- History contracts
GaussianSolve/src/GaussianSolver.Application/History/ProblemHistoryContracts.cs - Request dispatcher
GaussianSolve/src/GaussianSolver.Application/Cqrs/RequestDispatcher.cs - History service
GaussianSolve/src/GaussianSolver.Infrastructure/Persistence/ProblemHistoryService.cs - History database
GaussianSolve/src/GaussianSolver.Infrastructure/Persistence/GaussianSolverDbContext.cs
Problem domain
- Problem aggregate
GaussianSolve/src/GaussianSolver.Domain/Entities/Problem.cs - Solution run
GaussianSolve/src/GaussianSolver.Domain/Entities/SolutionRun.cs
Other components
- Solver user
Connections 23
- Solver user → Web workflows: submits input
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Web workflows → Linear system parser: parses equations
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Web workflows → Equation parser: parses equation
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Linear system parser → Equation parser: parses lines
GaussianSolve/src/GaussianSolver.MathEngine/Expressions/LinearEquationSystemParser.cs - Equation parser → Expression parser: parses tokens
GaussianSolve/src/GaussianSolver.MathEngine/Expressions/EquationParser.cs - Web workflows → Linear elimination: solves system
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Web workflows → Nonlinear solvers: solves nonlinear
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Linear system parser → Matrix operations: builds matrix
GaussianSolve/src/GaussianSolver.MathEngine/Expressions/LinearEquationSystemParser.cs - Linear system parser → Exact fractions: uses exact values
GaussianSolve/src/GaussianSolver.MathEngine/Expressions/LinearEquationSystemParser.cs - Linear elimination → Matrix operations: operates on
GaussianSolve/src/GaussianSolver.MathEngine/LinearAlgebra/GaussianEliminationSolver.cs - Web workflows → Exact fractions: parses cells
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Web workflows → Solver input model: binds input
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Solver user → Matrix editor: edits matrix
GaussianSolve/src/GaussianSolver.Web/wwwroot/js/matrix-editor.js - Solver user → PDF upload UI: uploads PDF
- PDF upload UI → Web workflows: submits PDF
- Web workflows → History service: saves history
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - Web workflows → History contracts: uses contracts
GaussianSolve/src/GaussianSolver.Web/Controllers/HomeController.cs - History service → History database: reads and writes
GaussianSolve/src/GaussianSolver.Infrastructure/Persistence/ProblemHistoryService.cs - History service → History contracts: implements operations
GaussianSolve/src/GaussianSolver.Infrastructure/Persistence/ProblemHistoryService.cs - Problem aggregate → Solution run: starts runs
GaussianSolve/src/GaussianSolver.Domain/Entities/Problem.cs - Web startup → Request dispatcher: registers dispatcher
GaussianSolve/src/GaussianSolver.Web/Program.cs - Web startup → Linear elimination: configures solver
GaussianSolve/src/GaussianSolver.Web/Program.cs - Web startup → Linear system parser: configures parser
GaussianSolve/src/GaussianSolver.Web/Program.cs