def apply_N(self, k, precision, evaluation): 'N[AiryAiZero[k_Integer], precision_]' prec = get_precision(precision, evaluation) k_int = k.get_int_value() with mpmath.workprec(prec): result = mpmath2sympy(mpmath.airyaizero(k_int), prec) return from_sympy(result)
def apply_N(self, k, precision, evaluation): 'N[AiryAiZero[k_Integer], precision_]' try: d = get_precision(precision, evaluation) except PrecisionValueError: return if d is None: p = machine_precision else: p = _prec(d) k_int = k.get_int_value() with mpmath.workprec(p): result = mpmath.airyaizero(k_int) return Number.from_mpmath(result, d)
def apply_N(self, k, precision, evaluation): "N[AiryAiZero[k_Integer], precision_]" try: d = get_precision(precision, evaluation) except PrecisionValueError: return if d is None: p = machine_precision else: p = _prec(d) k_int = k.get_int_value() with mpmath.workprec(p): result = mpmath.airyaizero(k_int) return from_mpmath(result, d)