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 DevelopersThe Wolfram Language provides a carefully chosen set of functions for accessing elements of lists using either indices or positions, or using patterns or criteria for their values.
list[[...]] (Part) — parts of lists, resettable with =
Span (;;) — general specification for spans or blocks of elements
First ▪ Last ▪ Rest ▪ Most ▪ Take ▪ Drop ▪ TakeDrop ▪ TakeList ▪ TakeWhile
UpTo — a certain number of elements, or as many as are available
Append ▪ Prepend ▪ Insert ▪ Delete ▪ AppendTo ▪ PrependTo
Position — find positions of elements matching a pattern
PositionSmallest, PositionLargest — find positions of the smallest or largest elements
FirstPosition ▪ Extract ▪ ReplacePart ▪ MapAt ▪ ArrayRules ▪ Ordering
Length ▪ Dimensions ▪ ArrayDepth ▪ LengthWhile
Select, SelectFirst — select elements that satisfy a criterion
Cases, FirstCase — give elements that match a pattern
Pick ▪ BinLists ▪ Count ▪ Gather ▪ Tally
DeleteCases ▪ DeleteElements ▪ DeleteDuplicates ▪ DeleteAdjacentDuplicates
Nothing — an element automatically removed from lists
MemberQ — test whether an element is a member of a list
FreeQ ▪ ArrayQ ▪ VectorQ ▪ MatrixQ
Max ▪ Min ▪ MaximalBy ▪ MinimalBy
Finding SublistsSequencePosition ▪ SequenceCases ▪ SequenceCount
Finding SubsetsSubsetPosition ▪ SubsetCases ▪ SubsetCount
Related Tech NotesRetroSearch 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