Arpian 0.2.0

.NET Framework
Install-Package Arpian -Version 0.2.0
dotnet add package Arpian --version 0.2.0
<PackageReference Include="Arpian" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Arpian --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Arpian, 0.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Arpian as a Cake Addin
#addin nuget:?package=Arpian&version=0.2.0

// Install Arpian as a Cake Tool
#tool nuget:?package=Arpian&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A MathParser using RPN supporting User-Defined Functions, Operators, Variables, Conditional Operators and more...

Product Versions
.NET Framework net
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 1,831 4/15/2016
0.1.0 918 3/10/2016

* Fixed many minor bugs, thanks to Unit Tests.

* Added static MathParser.Calculate() method.

* Added Bitshift operators in MathParser.

* Fixed MathParser.AngleType.

* Removed Boolean type.

* CommonTokens merged into MathParser as ShareOperators, SharedFunctions, Constants and more.

* Made Portable class library.

* Two constants are automatically multiplied: e.g. 2pi changes to 2*pi.

* Added VariableAssignmentOperator and VariableShorthandOperator classes.

Generic Approach


Now, supports two Parsers: MathParser for Real numbers and MathParserComplex for Complex numbers.

These inherit from MathParserBase.

Many items have been made Generic like Function, Operator, Constant, Variable.

Replaced Scripting with MathParser.Manipulate


e.g. Let's work on a MathParser P.

P.Manipulate("var x"); // Declare a variable x (default value = 0).

P.Manipulate("var y = 1"); // Declare a variable y with an initial value 1.

P.Manipulate("x++"); // Increment x.

P.Manipulate("x += y*8+sin(x)"); // Complicated works

P.Manipulate("rem x"); // Remove variable x.