News for hackers. Stuff that matters.

ibluesun

Re:Symbolic Algebraic Library written entirely in C# on Sunday October 08, 2017 @01:49PM (#15429147)
are you trying to solve system of linear equations ?!!
Re:Symbolic Algebraic Library written entirely in C# on Sunday October 08, 2017 @01:38PM (#15429103)
well I think that would be another layer before sending this to parser

so we can convert the latex expression and send it to the library after that .. I guess it is doable if we are limiting ourself to the math expressions only.

Re:Symbolic Algebraic Library written entirely in C# on Sunday October 08, 2017 @08:29AM (#15427947)
you can check my opensource project that seems to make the same as smath

it is called Quantity System http://QuantitySystem.org

and it blends numerical and symbolic in the same context and it supports units in the context of quantities

check the specs and tell me your opinion.

Re:Symbolic Algebraic Library written entirely in C# on Sunday October 08, 2017 @08:27AM (#15427945)
I know latex expressions .. but I don't know exactly how do you want to merge them.

a use case would be helpful for me.

Re:Symbolic Algebraic Library written entirely in C# on Sunday October 08, 2017 @08:25AM (#15427943)
after parsing the symbolic calculations you can execute them as a normal function call

in case of single variable for example var result = SymbolicVariable.Parse("sin(3*x)").Execute(2);

in case of multi variables you can send the values based on their alphabet order

var d = SymbolicVariable.Parse("a^b^c"); Assert.AreEqual("a^(b^c)", d.ToString());

var r = d.Execute(3, 2, 4); Assert.AreEqual(43046721.0, r);

or by assigning them to a dictionary of Dictionary<string, double>