Math solution with JsJava(jsjava-math-2.0.js):
As we known,Javascript itself offer the support to math calculation. The support contains two ways.The one is operator support such as +,-,*, /,% and so on.The other is object support which is called Math.Examples as follows:
All of above is default support to math in Javascript.With that,we can only make the simple calculation.It's not suitable to complex or advanced calculation such as matrix,statistic,distribute and so on.
JsJava offers parts of support to complex or advanced math calculation such as polynomial analysis,complex,distribution,fraction,linear,statistic, area,transform and so on.
JsJava math libraries lie in two directory.One is jsorg.apache.commons. math.The other is jsorg.eob.math.
The library of jsorg.apache.commons.math supports polynomial analysis, complex,distribution,fraction,linear,statistic and so on.Example as follows: (About the usage in detail,you can refer to chapter 2.)
The library of jsorg.eob.math supports simple area calculation and transform. Example as follows:
Along with the development of JsJava,it plans to support more advanced math calculation.