Arpian 0.2.0

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

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.

Release Notes

* 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.

Dependencies

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 History

Version Downloads Last updated
0.2.0 1,366 4/15/2016
0.1.0 541 3/10/2016