|
SOLUTIONS
|
函数式编程
从一个长远的重要理论观点来看,随着 Mathematica 符号语言的引入,函数式编程最终变成方便且实用. 将表达式
同时视为符号数据和
函数的应用,这样提供了集成结构和函数的独一无二的方式——许多普通计算的高效简洁的表示方式.
精选实例精选实例 |
-
Arbitrarily Nested Tables
-
Automatically Parallelize Computations
-
Create Tables of Results in Parallel
-
Find and Visualize Matching Points in Two Images
-
Find Successive Nearest Words in Text
-
Find Symbols That Match a Pattern
-
Flatten Nested Arrays
-
Fractal Explorations
-
Graph Layouts
-
Highlight Connected Components in a Directed Graph
-
Show Gray Codes of a Given Length
-
Successively Replace Entries in an Array
-
Use Any Expression with a Function
参考资料参考资料
函数作用于列表 »
MapIndexed — 附带索引信息的映射: ![]()
MapThread ▪ MapAt ▪ MapAll ▪ Scan ▪ ...
函数迭代 »
FixedPoint, FixedPointList — 嵌套直到固定点
NestWhile ▪ NestWhileList ▪ TakeWhile ▪ LengthWhile ▪ ...
列表型函数
Select — 根据一个函数从列表中选择
Array — 从一个函数中创建一个数组
函数合成操作
Identity ▪ Composition ▪ Operate ▪ Through ▪ Distribute
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
