
Recent Posts
Categories
 Android (15)
 Applications (9)
 Development (14)
 GLSL (2)
 Java (9)
 LibGDX (2)
 Math (5)
 Photography (1)
 Scala (3)
 Timelapse (1)
 Tips and Tricks (3)
Tags
Archives
Category Archives: Math
Implementing noninteger Factorial and Gamma function for BigDecimal
Introduction This article describes how the factorial and Gamma functions for noninteger arguments where implemented for the bigmath library. For an introduction into the Gamma function see Wikipedia: Gamma Function Attempt to use Euler’s definition as an infinite product Euler’s … Continue reading
Posted in Development, Java, Math
Leave a comment
Release 2.0.0 of bigmath library supports now complex numbers
The easter weekend was the perfect time to polish and release version 2.0.0 of the bigmath library. The class BigComplex represents complex numbers in the form (a + bi). It follows the design of BigComplex with some convenience improvements like … Continue reading
Posted in Development, Java, Math
Leave a comment
Adaptive precision in Newton’s Method
This describes a way to improve the performance of a BigDecimal based implementation of Newton’s Method by adapting the precision for every iteration to the maximum precision that is actually possible at this step. As showcase I have picked the … Continue reading
Posted in Development, Java, Math
Leave a comment
BigDecimalMath
Java 8 is out and there are still no Math functions for BigDecimal. After playing around with some implementations to calculate Pi I decided to write some implementation of BigDecimalMath to fill this gap. The result of this is available … Continue reading
Posted in Development, Java, Math
Tagged algorithm, BigDecimal, Java, math, optimization, performance, precision, programming
8 Comments
Bernoulli Numbers
As part of the ongoing development of the BigRational and BigDecimalMath classes I needed to implement a method to calculate the Bernoulli numbers. Since I had a hard time to find a reference list of the Bernoulli numbers I will … Continue reading
Posted in Development, Math
Leave a comment