Qurak

EdgeCount

可用

Returns the number of edges in a graph (optionally matching a pattern)

EdgeCount[g]
EdgeCount[g, patt]
EdgeCount[{v -> w, …}, …]
g = PetersenGraph[5, 2]; {ConnectedGraphQ[g], EdgeCount[g] ≥ VertexCount[g] - 1} → {True, True}

用于

主题

相关

全部 6300 个函数 · 从 MCP 客户端使用