Friday, March 21, 2008

Wicked Cool Java - The JScience API

JScience is a hardcore Math-Science library which provides a wide range of methods and datatypes related to Measurement (Converters , Quantities , Units) , Economics , Geography (Co-Ordinates) , Mathematics (Functions ,Numbers,Structures,Vector) and Physics.It provides data types to store numbers with a very high precision. Classes such as the LargeInteger can hold numbers of immutable sizes with arbitrary precision.

Though they may sound similar to the BigDecimal class provided in the java.lang.Number class , the org.jscience.mathematics.number.Number.LargeInteger has the following advantages:

* It is optimized for 64 bits architectures. But still runs significantly faster on 32 bits processors.
* Real-time compliance for improved performance and predictability (no garbage generated when executing in StackContext).
* Improved algorithms (e.g. Concurrent Karabutsa multiplication in O(nLog^3) instead of O(n^2).

Links :

API List -> http://jscience.org/api/index.html

Source Code -> http://jscience.org/jscience-4.3.1-src.zip

Download Library -> http://jscience.org/jscience-4.3.1-bin.zip

If you find it useful, say thanks to the Project Owner - Jean-Marie Dautelle

JScience is powered by the Javolution library (for real-time/fast performance, parallel computing etc.)

The library is open-source (BSD License). Everyone can participate by submitting new modules as long as those modules are integrated with existing modules.

I'd like to end this post with a video of a mechanical calculator for simple binary arithmetic operations :)

1 comment:

Ankit said...

Great Video dude!