Skip to content

mdmozibur/mathsharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathSharp

Evaluate mathematical expression with MathSharp. Suported features:

TermBase term = "2(x+y^2)^2 + 3(y+2)^2 + 2y^2";

 if(term is Expression expression)
{
   Console.WriteLine(expression.CoEfficientOf("y^2"));
   Console.WriteLine(expression.EvaluateFor(('x', 2), ('y', 3)));
   Console.WriteLine(expression.Expand());
}

Output:
2
335
(5y^2 + 2y^4 + 4xy^2 + 2x^2 + 12y + 12)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages