A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.wolfram.com/language/fast-introduction-for-programmers/en/functionals-and-operators/ below:

Functionals & Operators | Wolfram Language Fast Introduction for Programmers

Functionals & Operators | Wolfram Language Fast Introduction for Programmers WOLFRAM Products

More mobile apps

Core Technologies of Wolfram Products Deployment Options From the Community Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

WolframConsulting.com

Wolfram Solutions

More Wolfram Solutions

Wolfram Solutions For Education

More Solutions for Education

Learning & Support Get Started More Learning Grow Your Skills Tech Support Company Work with Us Educational Programs for Adults Educational Programs for Youth Read Educational Resources Wolfram Initiatives Events Wolfram|Alpha Wolfram Cloud Your Account Search Navigation Menu The Wolfram Language:
Fast Introduction for Programmers
Show additional notes for:
All sections  Get Started Functionals & Operators Video Version

Many 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