next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc > The Macaulay2 language > strings and nets > Net > width(Net)

width(Net) -- width of a net

Synopsis

Description

width n -- the width of a net n.

The width of a net is the length of its longest row, if any, else 0. For a string, the width and the height are the same.

i1 : "a c" || "-" || "adsf"

o1 = a c
     -
     adsf
i2 : width oo

o2 = 4

See also

Ways to use this method: