JSci.maths.NumericalConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsci Show documentation
Show all versions of jsci Show documentation
JSci is a set of open source Java packages. The aim is to encapsulate scientific methods/principles in the most natural way possible. As such they should greatly aid the development of scientific based software.
It offers: abstract math interfaces, linear algebra (support for various matrix and vector types), statistics (including probability distributions), wavelets, newtonian mechanics, chart/graph components (AWT and Swing), MathML DOM implementation, ...
Note: some packages, like javax.comm, for the astro and instruments package aren't listed as dependencies (not available).
The newest version!
package JSci.maths;
/**
* A collection of useful numbers (stored to maximum precision).
* @version 1.0
* @author Mark Hale
*/
public interface NumericalConstants {
/**
* Square root of 2.
*/
double SQRT2=1.4142135623730950488016887242096980785696718753769;
/**
* Two times .
* @jsci.planetmath Pi
*/
double TWO_PI=6.2831853071795864769252867665590057683943387987502;
/**
* Square root of 2.
*/
double SQRT2PI=2.5066282746310005024157652848110452530069867406099;
/**
* Natural logarithm of 10.
*/
double LOG10=2.30258509299404568401799145468436420760110148862877;
/**
* Euler's gamma constant.
* @jsci.planetmath EulersConstant
*/
double GAMMA=0.57721566490153286060651209008240243104215933593992;
/**
* Golden ratio.
* @jsci.planetmath GoldenRatio
*/
double GOLDEN_RATIO=1.6180339887498948482045868343656381177203091798058;
}