MathTop

graph_edges 函数

返回边列表中的唯一无向边。

语法

  • GraphTheory:-Edges([[u1, v1], ...])
  • graph_edges(edges)

参数与选项

edges形如 [[u, v], ...] 的边列表。

示例

  1. 图边GraphTheory:-Edges([[a, b], [b, c], [c, a], [c, d]])返回图的边列表。