Skip to content

Commit 6eb2efe

Browse files
committed
edited README.md
1 parent e93ceaf commit 6eb2efe

2 files changed

Lines changed: 26 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# ParserNG
2-
<b>ParserNG</b> is a powerful open-source math tool that parses and evaluates algebraic expressions and also knows how to handle a lot of mathematical expressions. Its latest release on mavn-central (version 0.2.1) can be used to plot 2D graphs(Geometric plots and function plots) It works seamlessly on all Java platforms.
3-
<b>
2+
<b>ParserNG</b> is a powerful open-source math tool that parses and evaluates algebraic expressions and also knows how to handle a lot of mathematical expressions. Its latest release on mavn-central (version 0.2.1) can be used to plot 2D graphs(Geometric plots and function plots) It works seamlessly on all Java platforms.<br><br>
3+
4+
5+
46
I started this project 2009 ending and have been upgrading it since then.
5-
Sponsor Note: Please consider sponsoring me. That would be very helpful.
7+
Please consider sponsoring me. That would be very helpful.
68
Click the Sponsor button to do this.
7-
</b>
9+
810

911
ParserNG v0.2.3 breaks the barrier in fully featured math parser frequencies!
1012
With various other optimizations, v0.2.3 comes with inner loop optimizations which uses a blazing fast, post-fix style algorithm to quickly evaluate inner brackets with less checks and less string manipulations.
@@ -734,10 +736,6 @@ Note that matrix indexes in **ParserNG** are zero-based, so be advised according
734736

735737
The function is called `eigpoly`
736738

737-
<p style="font-weight:bold;color:brown;font-style:italic;font-size:1.3em">
738-
Actually, there is a function called `eigvec`, which in the future will allow the user to automatically generate the eigenvector from the Matrix; but at the moment, we cannot completely solve all generated polynomials completely, so the `eigvec` function is still in the works.
739-
</p>
740-
741739
To generate the characteristic polynomial, do:
742740

743741
MathExpression expression = new MathExpression("eigpoly(@(3,3)(4,2,1,3,1,8,-5,6,12))");
@@ -763,6 +761,25 @@ This would give:
763761

764762
anon3=@(n)(20883.0*n^0.0+1155.0*n^1.0-1667.0*n^2.0+30.0*n^4.0-1.0*n^5.0+35.0*n^3.0)
765763

764+
#### ParserNG and eigenvalues
765+
766+
Version 0.2.3 of ParserNG allows you to quickly compute the eigenvalues of a Matrix.
767+
768+
Do:
769+
```Java
770+
MathExpression expression = new MathExpression("eigvalues(@(5,5)(12,1,4,2,9,3,1,8,-5,6,13,9,7,3,5,7,3,5,4,9,13,2,4,8,6))");
771+
System.out.println("soln: "+ expression.solve());
772+
```
773+
#### ParsrNG and eigenvectors
774+
775+
As of ParserNG 0.2.3 also, eigenvector computations have been added, do:
776+
Do:
777+
```Java
778+
MathExpression expression = new MathExpression("eigvec(@(5,5)(12,1,4,2,9,3,1,8,-5,6,13,9,7,3,5,7,3,5,4,9,13,2,4,8,6))");
779+
System.out.println("soln: "+ expression.solve());
780+
```
781+
782+
766783
## TO BE CONTINUED
767784
And much more!
768785

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<version>0.2.3</version>
77
<packaging>jar</packaging>
88
<!--
9-
I started this project 2009 and have been upgrading it since then.
9+
I started this project 2009 and have been upgrading it since then.
1010
Sponsor Note: Do consider sponsoring me at
1111
Link: https://buymeacoffee.com/gbenroscience
1212
-->

0 commit comments

Comments
 (0)