src/main/java/workshop5/Model/IntegrationModel.java
public static double gammaFunction(double number) {
        if (number > 0) {
            number--;
        }
        return factorial(number);
    }
/**
     * Method to calculate the gamma function for doubles
     *
     * @param number
     * @return gama result
     */
Method to calculate the gamma function for doubles
@param number
@return gama result
Method to calculate the gamma function for doubles @param number @return gama result
public static double gammaFunction(double number) {
        if (number > 0) {
            number--;
        }
        return factorial(number);
    }
public static double gammaFunction ( double number ) { if ( number > 0 ) { number -- ; } return factorial ( number ) ; }
Method to calculate the gamma function for doubles
 @param number
 @return gama result
Method to calculate the gamma function for doubles @param number @return gama result