-
函数
- AlphabeticSort
- Append
- AppendTo
- ArrayFilter
- ArrayFlatten
- ArrayPad
- ArrayReduce
- ArrayResample
- ArrayReshape
- Catenate
- Complement
- DeleteAdjacentDuplicates
- DeleteDuplicates
- DeleteDuplicatesBy
- Drop
- Flatten
- FlattenAt
- Gather
- GatherBy
- Groupings
- Intersection
- Join
- LexicographicSort
- Nothing
- NumericalSort
- PadLeft
- PadRight
- Partition
- Permutations
- RandomSample
- ReplacePart
- Reverse
- ReverseSort
- ReverseSortBy
- Riffle
- RotateLeft
- RotateRight
- SequenceReplace
- SequenceSplit
- Sort
- SortBy
- Splice
- Split
- SplitBy
- Subsequences
- Subsets
- Take
- TakeList
- Tally
- Transpose
- Tuples
- Union
- 相关指南
- 技术笔记
-
-
函数
- AlphabeticSort
- Append
- AppendTo
- ArrayFilter
- ArrayFlatten
- ArrayPad
- ArrayReduce
- ArrayResample
- ArrayReshape
- Catenate
- Complement
- DeleteAdjacentDuplicates
- DeleteDuplicates
- DeleteDuplicatesBy
- Drop
- Flatten
- FlattenAt
- Gather
- GatherBy
- Groupings
- Intersection
- Join
- LexicographicSort
- Nothing
- NumericalSort
- PadLeft
- PadRight
- Partition
- Permutations
- RandomSample
- ReplacePart
- Reverse
- ReverseSort
- ReverseSortBy
- Riffle
- RotateLeft
- RotateRight
- SequenceReplace
- SequenceSplit
- Sort
- SortBy
- Splice
- Split
- SplitBy
- Subsequences
- Subsets
- Take
- TakeList
- Tally
- Transpose
- Tuples
- Union
- 相关指南
- 技术笔记
-
函数
重排列与重构列表
Wolfram 语言封装少量函数,灵活地重排列任意结构和任意数量元素的列表.
Flatten — 在嵌套的列表中,展平任意层
Partition — 分组列表或嵌套列表,形成子列表
Join — 连接任意层的列表
Catenate — 连接一组列表中某个列表的元素
ArrayFlatten ▪ ArrayReshape ▪ FlattenAt ▪ Splice ▪ Nothing
TakeList — 从列表中获取连续的子列表
Sort — 按字母排序,或通过任意比较函数排列
ReverseSort — 按字典顺序反排序
SortBy — 按函数值排列
AlphabeticSort ▪ NumericalSort ▪ LexicographicSort ▪ ReverseSortBy
Reverse — 反向排序列表的任意层
RotateLeft, RotateRight — 循环旋转列表于任意深度
Transpose — 任意集合转置
ArrayReduce — 应用函数约减数组维数
ArrayResample — 对数组重新采样,以得到较高或者较低的分辨率
ArrayPad — 在各边附加填充
ArrayFilter — 使用局部邻域过滤数组
Riffle — 分散放置附加的元素
Split — 按相同元素分类
Gather — 收集相同元素的子表
Union, Tally — 列举、统计列表中所有相同的元素
DeleteDuplicates — 去除列表中的重复元素
DeleteDuplicatesBy — 删除具有重复函数值的元素
DeleteAdjacentDuplicates — 删除相邻的重复项
SplitBy, GatherBy — 根据应用到元素的函数值分离、组合
Tuples ▪ Subsets ▪ Subsequences ▪ Permutations ▪ RandomSample
Groupings — 产生列表所有可能的分组,并将其作为子列表
Union ▪ Intersection ▪ Complement
面向序列的运算
SequenceSplit — 当序列匹配模式时,分离列表
SequenceReplace — 取代列表中的序列
元素操作 »
ReplacePart ▪ Take ▪ Drop ▪ Append ▪ AppendTo