Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Randomly choose a point within a specified domain
ResourceFunction["RandomRealPoint"][{range1,range2,…}] generates a random point in the domain defined by the ranges. | |
ResourceFunction["RandomRealPoint"][ranges,n] generates n random points on the domain. | |
ResourceFunction["RandomRealPoint"][ranges,{n1,n2,n3}] gives an n1× n2×… array of random points. |
xmax | between zero and xmax |
{xmin,xmax} | in range xmin to xmax |
Find a point within a domain:
In[1]:= | ![]() |
Out[1]= | ![]() |
Find many within a four-dimensional domain:
In[2]:= | ![]() |
Out[2]= | ![]() |
Create an array of random two-dimensional points in the specified domain:
In[3]:= | ![]() |
Out[3]= | ![]() |
Plot the points on a plane:
In[4]:= | ![]() |
Out[4]= | ![]() |
Create an array of random three-dimensional points:
In[5]:= | ![]() |
Out[5]= | ![]() |
Plot the points as surfaces:
In[6]:= | ![]() |
Out[6]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License