The options FuncPoly=true, FuncSum=true, FuncProd=true specify the performance of tests 6, 8 and 10 respectively. The options Rational=false, Algebraic=false, FuncRat=false, FuncAlg=false, Pol圜onst=false, SumConst=false, and ProdConst=false specify not to perform tests 1, 2, 3, 4, 5, 7, and 9 respectively.
Rational, Algebraic, FuncRat, FuncAlg, Pol圜onst, SumConst, and ProdConst The option LearnBasis=true specifies the use of nonrational constants found in tests 1-4 when making tests 5-10. The option extension=B specifies adding the elements of B, a list of real constants, to the bases B1, B2, B3, when making tests 5, 7, and 9. The option BasisSizeProd=n specifies the value of n to use in test 9 (default 3). The option BasisProdConst=B3 specifies the use of basis B3, a list of real constants (default is 2, 3, 5, 7, π, &ExponentialE, ln 2, ln 3, ζ 3, ζ 5 ) when making test 9, that is, t i is chosen from this list. The option BasisSizeSum=n specifies the value of n to use in test 7 (default 3). The option BasisSumConst=B2 specifies the use of basis B2, a list of real constants (default is 1, 2, 3, π, ln 2, ln 3, ζ 3, ζ 5 ) when making test 7, that is, t i is chosen from this list. The option BasisSizePoly=n specifies the value of n to use in test 5. The option BasisPol圜onst=B1 specifies the use of basis B1, a list of real constants (default is π, &ExponentialE, ln 2, when making test 5, that is, t is chosen from this list. The option BasisSizeAlg=n specifies when testing whether x is an algebraic number, to search up to degree n (default is 6). The option all=false specifies only the tests that are explicitly asked for, as specified below. The option all=true specifies trying all tests, including the optional ones. They are equations of the form option=value. The remaining arguments to the identify command are treated as options. If the solve command is not able to solve for the root in terms of radicals, the answer may be returned in the form of a RootOf. , x 6 &rsqb to compute the minimal polynomial m z for x and then solving for the roots and selecting the right one. The test for an algebraic number up to degree 6, that is, a root of a polynomial m z of degree 6 or less, is made by applying Bailey and Ferguson's IntegerRelations algorithm to &lsqb x 0, x 1, x 2. The test for rational constants is made by looking at the continued fraction expansion of x. t n a n where t i are certain constants and a i are rational. Test if x is of the form t 1 a 1 t 2 a 2 . + a 0 where t i are known algebraic or transcendental constants. Test if x is of the form a 1 t 1 + a 2 t 2 + a n t n +. (optional) Test if x is a function of the above form. + a n t k where t is a known transcendental constant e.g. Test if x is of the form a 1 + a 2 t + a 3 t + a 4 t + a 5 t +. Test if x is a function of an algebraic number of degree 6 or less. Test if x is a function of a rational number e.g. Test if x is algebraic of degree 6 (default) or less. If the input is not a (complex) floating-point constant, then the identify command maps recursively over the input expression applying itself to each floating-point constant in the expression. For the identify command to succeed, enough digits must be provided to approximate the number. If the input cannot be identified as an exact constant, then the numerical value x is returned. The identify command applies the tests listed in the following section.
In this case, it determines that this is the constant 2 ln 2 + I π. 141592654 I, the identify command is applied to the real and imaginary parts separately.
If the input is a complex floating-point constant, for example, 1. In this case, it determines that this is the constant 2. If the input is a floating-point constant x, for example, 1.414213562, the identify command searches for an exact expression for the number. Find a closed form for a decimal approximation of a numberĪ real or complex floating-point number or expressionĮquations in the form of option=value, where option is one of all, BasisSizeAlg, BasisPol圜onst, BasisProdConst, BasisSumConst, extension, LearnBasis, Rational, Algebraic, FuncRat, FuncAlg, Pol圜onst, FuncPoly, SumConst, FuncSum, ProdConst, and FuncProd.