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 technology 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 technology expertise.
Wolfram SolutionsCourses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
Software DevelopersPattern matching makes possible some of the most succinct and elegant programs in the Wolfram Language—immediately compressing large numbers of conditional cases into simple, readable and efficient pattern specifications.
Cases — a list of elements matching a pattern
Position — positions of elements matching a pattern
Count — a count of occurrences of a pattern
ReplaceAll (/.) — replace all occurrences of a pattern
DeleteCases — delete all occurrences of a pattern
Set (=), SetDelayed (:=) — define transformations for patterns
MemberQ — test if any member of a list matches a pattern
FreeQ — test if an expression is free of a pattern
MatchQ — test whether an expression matches a pattern
Patterns for Part SpecificationsSparseArray ▪ ReplacePart ▪ ReplaceAt ▪ Grid
Related Tech Notes Related Guides TopRetroSearch 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