Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Warning: This resource is provisional
Function Repository Resource:
Get one or more random functions of a single complex variable
ResourceFunction["SampleUnivariateFunctions"][] returns a random univariate function in terms of the complex variable z, and possibly one or more parameters. | |
ResourceFunction["SampleUnivariateFunctions"][All] returns all available functions. |
"IncludedSubexpressions" | {_} | all of the supplied forms must appear as subexpressions of the returned function(s) |
"ExcludedSubexpressions" | {} | none of the supplied forms may appear as subexpressions of the returned function(s) |
Get some arbitrary sample functions:
In[1]:= |
Out[1]= |
In[2]:= |
Out[2]= |
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
Besides the independent variable z, functions may contain unspecified parameters in the "Global`" context (here, A, B, b, and c):
In[5]:= |
Out[5]= |
To get all available functions, use the argument All:
In[6]:= |
Out[7]= |
Get a random sample of five univariate functions:
In[8]:= |
Out[8]= |
Get a single function containing BesselJ as a subexpression:
In[9]:= |
Out[9]= |
Get all sample functions containing BesselJ as a subexpression and get a count of the number available:
In[10]:= |
Out[11]= |
View a subset of these functions:
In[12]:= |
Out[12]= |
Get all sample functions containing BesselJ, but excluding Hypergeometric0F1Regularized and Sum:
In[13]:= |
Get a count of the number of such functions:
In[14]:= |
Out[14]= |
Use SeedRandom to get a repeatable sequence of functions:
In[15]:= |
Out[16]= |
In[17]:= |
Out[17]= |
In[18]:= |
Out[18]= |
This work is licensed under a Creative Commons Attribution 4.0 International License