Qurak

EdgeCount

Khả dụng

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}

Được dùng trong

Chủ đề

Liên quan

Tất cả 6300 hàm · Dùng cái này từ một client MCP