|
SOLUTIONS
|
MATHEMATICA 内置符号
CompleteKaryTree
CompleteKaryTree[n]
给出含有 n 个层的完全二叉树.
CompleteKaryTree[n, k]
给出含有 n 个层的完全 k 叉树.
更多信息更多信息
- 含有 n 个层的完全 k 叉树是一个含有根结点的树,在每个结点上有 k 个分叉并且深度为 n.
- 含有 n 个层的完全 k 叉树有
个顶点. - CompleteKaryTree[..., DirectedEdges->True] 给出一个有向完全 k 叉树.
- CompleteKaryTree 采用和 Graph 相同的选项.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



