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