Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Create generalized number ranges
Contributed by: Daniele Gregori
This paclet aims to provide various functions for systematically producing numbers with generic features.
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`"]
This paclet aims to provide various functions for systematically producing numbers with generic features:
Currently hosted functions:
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.
Generate a range of square roots:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
Generate a square root range with non-unit step:
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
Create a range made of generic algebraic numbers with a nearly uniform numeric values distribution:
| In[5]:= |
| Out[5]= | ![]() |
| In[6]:= |
| Out[6]= |
AlgebraicRange[ord,{x,y}] is naturally suited for searching possible closed forms through resource function FindClosedForm:
| In[7]:= | ![]() |
| Out[7]= |
| In[8]:= |
| Out[8]= |
The built-in function RootApproximant may have difficulty recognizing certain root combinations:
| In[9]:= |
| Out[9]= |
| In[10]:= |
| Out[10]= |
However, equipping resource function FindClosedForm with AlgebraicRange[x,y,s,options] enables its systematic recognition:
| In[11]:= | ![]() |
| Out[11]= |