The definitive Wolfram Language and notebook experience
The original technical computing environment
All-in-one AI assistance for your Wolfram experience
We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise
Courses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
Software DevelopersWe deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise
Wolfram SolutionsCourses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
Software DevelopersMany built-in functions in the Wolfram Language can use "functional" or "operator" forms.
This gives the element of a list nearest to 6.3:
In[1]:= Out[1]=This sets up a "nearest function," ready to apply to any specific value:
In[2]:= Out[2]=Applying it to a particular value gives a specific result:
In[3]:= Out[3]=Notes for Java programmers:
Java methods do not typically have "operator" forms.
Notes for Python programmers:
The "operator" forms in the Wolfram Language enable the creation of new functions by providing some of the arguments of a built-in function. Similar functionality in Python would require calling the partial function or writing your own custom wrapper function.
With no explicit data supplied, this symbolically represents a selection operation:
In[1]:= Out[1]=Applying it to explicit data gives a result:
In[2]:= Out[2]=RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4