|
SOLUTIONS
|
MATHEMATICA 指南
-
函数
- Append
- AppendTo
- ArrayFlatten
- ArrayPad
- ArrayReshape
- Complement
- DeleteDuplicates
- Drop
- Flatten
- FlattenAt
- Gather
- GatherBy
- Intersection
- Join
- PadLeft
- PadRight
- Partition
- Permutations
- RandomSample
- ReplacePart
- Reverse
- Riffle
- RotateLeft
- RotateRight
- Sequence
- Sort
- SortBy
- Split
- SplitBy
- Subsets
- Take
- Tally
- Transpose
- Tuples
- Union
- 相关指南
- 教程
重排列与重构列表
Mathematica 封装少量函数,灵活地重排列任意结构和任意数量元素的列表.
参考资料参考资料
Flatten — 在嵌套的列表中,展平任意层
Partition — 分组列表或嵌套列表,形成子列表
Join — 连接任意层的列表
ArrayFlatten ▪ ArrayReshape ▪ FlattenAt ▪ Sequence
Sort — 按字母排序,或通过任意比较函数排列
SortBy — 按函数值排列
Reverse — 反向排序列表的任意层
RotateLeft, RotateRight — 循环轮转列表于任意深度
Transpose — 任意集合转置
ArrayPad — 在各边附加填充
Riffle — 分散放置附加的元素
Split — 按相同元素分类
Gather — 收集相同元素的子表
Union, Tally — 列举、统计列表中所有相同的元素
DeleteDuplicates — 去除列表中的重复元素
Tuples ▪ Subsets ▪ Permutations ▪ RandomSample
SplitBy, GatherBy — 根据应用到元素的函数值分离、组合
Union ▪ Intersection ▪ Complement
元素操作 »
ReplacePart ▪ Take ▪ Drop ▪ Append ▪ AppendTo
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
