• Stars
    star
    213
  • Rank 184,600 (Top 4 %)
  • Language
    C#
  • Created over 11 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Computer Algebra and Symbolic Computation in C#

Symbolism - A Computer Algebra Library for C#

Library that implements automatic simplification of algebraic expressions in C#.

To get an idea of the kinds of expressions it handles, see the tests in this file.

The automatic simplification algorithm comes from the book "Computer Algebra and Symbolic Computation: Mathematical Methods" by Joel S. Cohen.

The core of the system is in Symbolism.cs.

Symbolism currently targets .NET Standard 2.0 and thus can be used in .NET projects on Windows, Linux, and Mac.

Nuget package available here.

Setup on Linux

Tutorial on how to build and run a simple Symbolism program on Linux.

Examples

The "PSE 5E" examples and problems in the unit tests are from the textbook "Physics for Scientists and Engineers, 5th Edition" by Serway and Jewett. Here's an index of some of the examples.

Here's a walk-through of solving a physics problem.

A slightly more complex walk-through.

Walk-through of solving a laws of motion problem.

In action:

Unit test for that example.

See also

Symbolism began as a port of the Scheme MPL library to C#.

GiNaC and SymbolicC++ are of course very inspirational.

References

Computer Algebra and Symbolic Computation: Elementary Algorithms by Joel S. Cohen

Computer Algebra and Symbolic Computation: Mathematical Methods by Joel S. Cohen

More Repositories

1

net-liquidity.ps1

PowerShell
64
star
2

mpl

Computer Algebra and Symbolic Computation for R6RS Scheme
Scheme
61
star
3

PsReplWpf

PsReplWpf
C#
53
star
4

executable-tutorials

50
star
5

box2d-lite

Box2D Lite ported to R6RS Scheme
Scheme
42
star
6

chez-gl

OpenGL libraries for Chez Scheme
Scheme
37
star
7

psilab

Libraries for Ypsilon Scheme
Scheme
27
star
8

surfage

R6RS SRFIs
Scheme
22
star
9

reddit-dhtk-ps

Reddit datahoarding toolkit
PowerShell
21
star
10

agave

Low-glycemic OpenGL hacking for R6RS Scheme
Scheme
17
star
11

clos

Tiny CLOS for R6RS Scheme
Scheme
14
star
12

EntityFrameworkGraph

Graph database in Entity Framework
C#
13
star
13

abstracting

Scheme
12
star
14

dharmalab

Experimental libraries for R6RS Scheme
Scheme
12
star
15

usts-yield-curve.ps1

PowerShell
10
star
16

haskell-methods

Haskell
9
star
17

chez-srfi

SRFI libraries for Chez Scheme
Scheme
9
star
18

LSysSlimDx

C#
8
star
19

qt-projection-mbs.ps1

PowerShell
7
star
20

redbook

OpenGL red book examples for R6RS Scheme
Scheme
6
star
21

fed-balance-sheet-chart.ps1

PowerShell
6
star
22

qt-projection-usts.ps1

PowerShell
6
star
23

treasury-direct-issued-maturing.ps1

PowerShell
6
star
24

FluentWpf

Fluent Interface for WPF
C#
6
star
25

sec-gov-htm-unrealized-loss.ps1

PowerShell
5
star
26

options-chain-marketdata.ps1

PowerShell
5
star
27

treasury-gov-tga-top.ps1

PowerShell
5
star
28

larceny-gl

OpenGL libraries for Larceny Scheme
Scheme
5
star
29

tweet-thread-to-org-mode

PowerShell
4
star
30

fred-largest-change-since.ps1

PowerShell
4
star
31

indexable-sequence

Indexable Sequences for R6RS
Scheme
4
star
32

sec-gov-api.ps1

PowerShell
3
star
33

treasury-gov-pandas.py

Python
3
star
34

AbstractAlgebraCs

C#
3
star
35

numero

Scheme
3
star
36

factorlab

2
star
37

polygon-io.ps1

PowerShell
2
star
38

kraken-price-history

Jupyter Notebook
2
star
39

sicm

Scheme
2
star
40

dharmatech.github.io

HTML
2
star
41

kraken-trades-database

Jupyter Notebook
2
star
42

rrp-counterparties.ps1

PowerShell
2
star
43

WpfExtensionMethods

WpfExtensionMethods
C#
2
star
44

x86-64

Assembly
2
star
45

mvc-movie-giraffe

F#
2
star
46

FreebaseWpf

C#
2
star
47

MeadChatAppBlazor

C#
2
star
48

factor

C
2
star
49

fed-usts-qt-report.ps1

PowerShell
2
star
50

treasury-gov-tga-chart-table-iii-a-public-debt-transactions.ps1

PowerShell
2
star
51

_dharmalab-factor

2
star
52

bls-gov-cpi.ps1

PowerShell
2
star
53

numerology

Scheme
2
star
54

treasury-direct-treasury-auctions

PowerShell
2
star
55

treasury-gov-tga-top.fsx

F#
1
star
56

options-chain-yfinance.ps1

PowerShell
1
star
57

ContosoUniversityIhp

Haskell
1
star
58

TSqlEf

C#
1
star
59

bm-utils

BareMetal OS development utilities for Ubuntu
Shell
1
star
60

MvcMovieSaturnTutorial

PowerShell
1
star
61

bible.ps1

PowerShell
1
star
62

net-liquidity.fsx

F#
1
star
63

md

1
star
64

trading-pair

Jupyter Notebook
1
star
65

dharmatech.github.com

1
star
66

coinbase-pro-bchavez-price-history

Jupyter Notebook
1
star
67

treasury-gov-tga-chart-components.ps1

PowerShell
1
star
68

FractionalReserveBankingTest

HTML
1
star
69

epcot

Scheme
1
star
70

LinkAggregatorTutorial

Tutorial on how to build a simple link aggregator in ASP.NET Core Razor Pages
PowerShell
1
star