def getRecurrenceCoefficients(self, order): """ Recurrence coefficients for the beta distribution. :param Beta self: An instance of the Beya class. :param array order: The order of the recurrence coefficients desired. :return: Recurrence coefficients associated with the beta distribution. """ ab = jacobi_recurrence_coefficients(self.shape_parameter_A, self.shape_parameter_B, self.lower, self.upper, order) return ab
def getRecurrenceCoefficients(self, order): """ Recurrence coefficients for the uniform distribution. :param Uniform self: An instance of the Uniform class. :param array order: The order of the recurrence coefficients desired. :return: Recurrence coefficients associated with the uniform distribution. """ ab = jacobi_recurrence_coefficients(self.shape_parameter_A, self.shape_parameter_B, self.lower, self.upper, order) return ab