Details and Options
TranscendentalRange can systematically generate various types of transcendental numbers.
Transcendental numbers are irrational numbers for which it has been mathematically proven that they cannot be expressed as solutions of any polynomial equation with integer coefficients (that is, they are not
Root objects at the exact level).
As for the basic function
Range, the first two arguments of TranscendentalRange are the numeric bounds
x,
y of the range. In other words, all the range elements satisfy
x<=ti<=y.
By default, the range elements are generated according to the Lindemann-Weierstrass theorem, that is linear combinations of exponentials
ti= b ⅇa,
for all algebraic arguments and coefficients
a,
b that are
members of
Range[x,y], or possibly
Range[x,y,s] using also a step parameter
s as third argument.
This transcendental range definition appears rather natural mathematically, but requires careful implementation as a customized version of
Outer, so to avoid producing unnecessary expressions which will be eventually discarded since beyond the bounds.
As it happens for resource function "
AlgebraicRange", also the definition of
ResourceFunction["TranscendentalRange"] allows the user to specify a fourth argument
d, to require a minimum absolute value
difference between successive transcendentals and thus avoid the tendency to produce very irregular distributions of numeric values.
ResourceFunction["TranscendentalRange"] has been designed especially in view of its application to the resource function "
FindClosedForm" for exhaustively searching possible closed forms for raw numbers in terms of arbitrary mathematical functions with transcendental arguments.
TranscendentalRange accepts the following options:
The option
Method can be used to specify other types of transcendental functions for generating transcendental numbers and these include:
| Exp | exponential forms b ⅇa |
| Log | logarithmic forms bLog[a] |
| Power | power forms ab, only for irrational b |
| Sin, Cos, Tan, … | any of the trigonometric forms b Sin[a],bCos[a],bTan[a], … |
| ArcSin, ArcCos, ArcTan, … | any of the inverse trig. forms b ArcSin[a],bArcCos[a],bArcTan[a], … |
| Sinh, Cosh, Tanh, … | any of the hyperbolic forms b Sinh[a],bCosh[a],bTanh[a], … |
| ArcSinh, ArcCosh, ArcTanh, … | any of the inverse hyp. forms bArcSinh[a],bArcCosh[a],bArcTanh[a], … |
| {type1,type2,… } | a list of the above types |
| All | all of the above types |
For all these transcendental types, the generated exact numbers have been mathematically proven to be transcendental through the theorems of Lindemann-Weierstrass, Gelfond-Schneider and Baker (cf. Baker, 1975).
The option "GeneratorsDomain" can be used to specify whether
a,
b (function argument and coefficient) should belong to the
Rationals or to the
Algebraics, as generated by
Range and the resource function "
AlgebraicRange", respectively. These are also restricted to be elements of the
Reals and no complex number can be generated.
For the method
Power, only algebraic irrational generators in the exponent
b can produce transcendental numbers.
Another way to restrict the output of ResourceFunction["TranscendentalRange"] is by setting a threshold for the complexity of the numeric expressions involved through the option "FormulaComplexity". The corresponding numerical values are not much relevant in practice and are assigned through a merely heuristic recipe.
A user interested in precise computations of the underlying
homonymous function may use the paclet "DanieleGregori/GeneralizedRange".