Releases - VICamaraPrg/NewMath GitHub Wiki

1.0

Methods added:

  • fibonacciSequence
  • isPrimeNumber
  • nPrimeNumbers
  • greatestCD
  • leastCM
  • factorial
  • factorialSequence
  • doubleFactorial
  • getFactors
  • isAbundantNumber
  • isDeficientNumber
  • isPerfectNumber

Added the Javadoc to each method.

1.0.6

Major changes:

  • Full reestructuration of the project, now everything is organized in different classes and packages for better organization as the project grows.
  • From now on, all methods from classes will be sorted alphabetically top-down.
  • Testing environment added for almost all classes and methods. Inputs for testing are also provided in (/src/test/resources).
  • With the addition of testing environments, JUnit5 is required to perform those tests. JUnit5 Repository on GitHub.

Detailed changelog:

Fraction class 1.0 > 1.0.6

Modified the first constructor to properly set the value of the fraction.
Added getDenominator().
Added getNumerator().
Added getValue().
Added setDenominator().
Added setNumerator().

Prime class 1.0 > 1.0.3

Modified method name, isPrimeNumber to isPrime.
Modified method name, getNextPrime to getNext.
Modified method name, nPrimeNumbers to nPrimes.

Fixed getNext() bug, now checks if n equals 2 before checking if n is multiple of 2 (Since 2 is prime, but not its multiples).

Factorization class 1.0 > 1.0.2

Modified method name primeFactors to getPrimeFactors.

Fixed getFactors() bug that returned just [1] for all prime numbers. Now returns [1, (prime)].
Fixed getFactors() bug that returned the same input for 0 and 1. Now evaluates 0 and 1 separately.

Arithmetic class 1.0 > 1.0.1

Modified method name isAbundantNumber to isAbundant.
Modified method name isDeficientNumber to isDeficient.
Modified method name isPerfectNumber to isPerfect.

Sequence class 1.0 > 1.0.1

Modified method name fibonacciSequence to fibonacci

Utils class 1.0 > 1.0.1

Modified all methods to be sorted alphabetically (To search quicker).
Added doubleFactorialList().

⚠️ **GitHub.com Fallback** ⚠️