|
SOLUTIONS
|
MATHEMATICA 内置符号
VertexIndex
VertexIndex[g, v]
给出顶点 v 在图 g 中的整数索引.
更多信息更多信息
- VertexIndex 给出在诸如 VertexList、AdjacencyMatrix、KirchhoffMatrix、IncidenceMatrix 和GraphDistanceMatrix 的函数中使用的顺序.
- VertexIndex[g, v] 给出顶点 v 在 VertexList[g] 中的位置.
- VertexIndex[g, v] 给出顶点 v 在 IncidenceMatrix[g] 中的行位置.
- VertexIndex[g, v] 给出顶点 v 在 AdjacencyMatrix[g]、KirchhoffMatrix[g] 和GraphDistanceMatrix[g] 中的行、列位置.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

