DanieleGregori/
GeneralizedRange
(1.0.1)
current version: 1.1.0 »
Create generalized number ranges
Contributed by: Daniele Gregori
This paclet aims to provide various functions for systematically producing numbers with generic features.
Installation Instructions
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["DanieleGregori/GeneralizedRange"]
To load the code after installation, evaluate this code:
Needs["DanieleGregori`GeneralizedRange`"]
Details
This paclet aims to provide various functions for systematically producing numbers with generic features:
• members of rationals, algebraics, transcendentals or complexes;
• expressed in terms of constants, special functions or equations;
• constrained by bounds, steps or complexity.
Currently hosted functions:
• FareyRange
• AlgebraicRange
• ComplexRange
All the functions provided can be particularly useful as options for the resource function FindClosedForm, enabling it to exhaustively search generic closed forms in terms of arbitrary mathematical functions evaluated on the given ranges.
Examples
Basic Examples (2)
Generate a range of square roots:
Generate a square root range with non-unit step:
Scope (3)
Create a range made of generic algebraic numbers with a nearly uniform numeric values distribution:
AlgebraicRange[ord,{x,y}] is naturally suited for searching possible closed forms through resource function FindClosedForm:
The built-in function RootApproximant may have difficulty recognizing certain root combinations:
However, equipping resource function FindClosedForm with AlgebraicRange[x,y,s,options] enables its systematic recognition:
Publisher
Daniele Gregori
Version History
-
1.1.0
– 02 March 2026
-
1.0.1
– 02 March 2026
-
1.0.0
– 22 October 2025
MIT License
Paclet Source
See Also