All Projects → Giorgi → Math-Expression-Evaluator

Giorgi / Math-Expression-Evaluator

Licence: other
A C# library for parsing mathemitical expressions with support for parentheses and variables.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Math-Expression-Evaluator

XamarinFormsPinView
PIN keyboard for Xamarin.Forms.
Stars: ✭ 83 (-14.43%)
Mutual labels:  netstandard, netstandard20
GiGraph
Simple yet versatile library for generating graphs in the DOT language
Stars: ✭ 25 (-74.23%)
Mutual labels:  netstandard, netstandard20
KuttSharp
🔪 .NET Package for kutt.it url shortener
Stars: ✭ 29 (-70.1%)
Mutual labels:  netstandard, netstandard20
Nlog
NLog - Advanced and Structured Logging for Various .NET Platforms
Stars: ✭ 5,296 (+5359.79%)
Mutual labels:  netstandard, netstandard20
Vortice.Mathematics
Cross platform .NET math library.
Stars: ✭ 46 (-52.58%)
Mutual labels:  netstandard, netstandard20
DotNetGraph
Create GraphViz DOT graph with .NET / C#
Stars: ✭ 57 (-41.24%)
Mutual labels:  netstandard, netstandard20
WebsocketClientLite.PCL
websocket Client Lite PCL - Xaramrin
Stars: ✭ 22 (-77.32%)
Mutual labels:  netstandard, netstandard20
aspnetcore-authentication-apikey
Easy to use and very light weight Microsoft style API Key Authentication Implementation for ASP.NET Core. It can be setup so that it can accept API Key in Header, Authorization Header, QueryParams or HeaderOrQueryParams.
Stars: ✭ 215 (+121.65%)
Mutual labels:  netstandard, netstandard20
Vortice.Vulkan
Cross platform .NET bindings for Vulkan, VMA, SPIRV-Cross and shaderc
Stars: ✭ 172 (+77.32%)
Mutual labels:  netstandard, netstandard20
paseto-dotnet
🔑 Paseto.NET, a Paseto (Platform-Agnostic Security Tokens) implementation for .NET
Stars: ✭ 67 (-30.93%)
Mutual labels:  netstandard
InTouch
👥 InTouch - is a programming SDK build around vk.com API exposing most of the social platform features including messaging, news feed fetching, communities, and media management.
Stars: ✭ 33 (-65.98%)
Mutual labels:  netstandard
mysql-connector-net-netstandard
ADO.NET driver for MySQL targeted against netstandard 1.3
Stars: ✭ 47 (-51.55%)
Mutual labels:  netstandard
ParsecSharp
The faster monadic parser combinator library for C#
Stars: ✭ 23 (-76.29%)
Mutual labels:  netstandard
java.math.expression.parser
java math expression parser is faster than JEP
Stars: ✭ 25 (-74.23%)
Mutual labels:  expression-evaluator
DjvuNet
DjvuNet is a cross platform fully managed .NET library for working with Djvu documents which can run on Linux, macOS and Windows. Library has been written in C# and targets .NET Core v3.0 and .NET Standard v2.1 or later. We intend to provide DjVu document processing capabilities on par with DjVuLibre reference library (or even better).
Stars: ✭ 54 (-44.33%)
Mutual labels:  netstandard
dark-sky-core
A .NET Standard Library for using the Dark Sky API.
Stars: ✭ 55 (-43.3%)
Mutual labels:  netstandard
Vulkan.NET
This repository contains low-level bindings for Vulkan used in Evergine.
Stars: ✭ 119 (+22.68%)
Mutual labels:  netstandard
fcal
Extensive math expression evaluator library for JavaScript and Node.js
Stars: ✭ 86 (-11.34%)
Mutual labels:  math-expression-evaluator
sledge-formats
C# parsers and formats for Half-Life 1 and related engines.
Stars: ✭ 35 (-63.92%)
Mutual labels:  netstandard
IGeekFan.AspNetCore.Knife4jUI
support .NET Core3.0+,.NET Standard2.0 Swagger UI knife4j ui,you can use NSwagger or Swashbuckle.AspNetCore in packages
Stars: ✭ 178 (+83.51%)
Mutual labels:  netstandard

Math Expression Evaluator NuGet Version

Math Expression Evaluator is a library for evaluating simple mathematical expressions. It supports simple expressions such as 2.5+5.9, 17.89-2.47+7.16, 5/2/2+1.5*3+4.58, expressions with parentheses (((9-6/2)*2-4)/2-6-1)/(2+24/(2+4)) and expressions with variables:

var a = 6;
var b = 4.32m;
var c = 24.15m;
Assert.That(engine.Evaluate("(((9-a/2)*2-b)/2-a-1)/(2+c/(2+4))", new { a, b, c}), 
            Is.EqualTo((((9 - a / 2) * 2 - b) / 2 - a - 1) / (2 + c / (2 + 4))));

It is also possible to specify variables by using named arguments like this:

dynamic dynamicEngine = new ExpressionEvaluator();

var a = 6;
var b = 4.5m;
var c = 2.6m;
Assert.That(dynamicEngine.Evaluate("(c+b)*a", a: 6, b: 4.5, c: 2.6),
            Is.EqualTo((c + b) * a));

Installation

PM> Install-Package Math-Expression-Evaluator 
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].