next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Graphs :: isRegular

isRegular -- determines whether a graph is regular

Synopsis

Description

A graph is regular if all of its vertices have the same degree.

i1 : G = cycleGraph 5;
i2 : isRegular G

o2 = true

See also

Ways to use isRegular :

For the programmer

The object isRegular is a method function.