GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - voonfoo/SharpMath: A small .NET math library.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

123 Commits
123 Commits

Folders and files

NameName
Last commit message
Last commit date
SharpMath.3DTest
SharpMath.3DTest
 
 
SharpMath.CanvasTest
SharpMath.CanvasTest
 
 
SharpMath.PolygonTest
SharpMath.PolygonTest
 
 
SharpMath.Tests
SharpMath.Tests
 
 
SharpMath
SharpMath
 
 
.gitignore
.gitignore
 
 
Canvas2D.png
Canvas2D.png
 
 
Canvas2DFunctions.png
Canvas2DFunctions.png
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SharpMath.png
SharpMath.png
 
 
SharpMath.sln
SharpMath.sln
 
 
SharpMath.sln.GhostDoc.xml
SharpMath.sln.GhostDoc.xml
 
 

Repository files navigation

SharpMath

SharpMath is a C# math library supporting vectors, matrices, linear equation systems, expression parsing and soon more advanced analysis. Specials thanks go to NikxDa who wrote the Canvas2D control for representing vectors and functions graphically.

Overview

Class Diagramm

2D and 3D-Geometry

SharpMath offers many structs, such as points, vectors, lines and matrices. These are basically also used in games/computer graphics, except that they're a bit more extensive and sophisticated. Thus, the game engines provide some more flexibility and possibilites than SharpMath. Nevertheless, you can perform simple operations (such as rotating, scaling or translating objects defined through vertices) in space and project everything onto a two-dimensional surface.

3D-Sample

Linear equation systems

SharpMath can solve linear equation systems using the Gauss-Jordan algorithm internally by representing the equations as matrices.

Expression Parsing

SharpMath knows most of the functions, constants and operators used in computations. You can provide the parser with an input string containing your expression and it will return the result when calling the corresponding function. The flexibility of the parser allows you to add further operations. This feature may be used for calculators.

Calculator

Canvas2D

SharpMath provides a two-dimensional canvas control for representing vectors and functions graphically in your application. It was written by NikxDa. A three-dimensional representation (e.g. for vectors, points and lines) will follow as well. Thanks to the Geometry-namespace, the implementation of this one should not be too hard as the projection onto a two-dimensional surface can be done using the integrated matrices. Canvas2D

About

A small .NET math library.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.