Macaulay2 » Documentation
Packages » Macaulay2Doc » commutative algebra » length
next | previous | forward | backward | up | index | toc

# length -- length of an object

## Description

This function is a method function, defined in the core so multiple packages can add methods to it.

## See also

- length(Complex) -- length of a complex
- length(Permutation) -- computes the length of a permutation

## Ways to use length:

- length(Dictionary) -- length of a dictionary
- length(Module) -- compute the length of a module
- `length(Net)` -- see length(String) -- length of a string
- length(String) -- length of a string
- length(VisibleList) -- length of a visible list

## For the programmer

The object length is a method function with a single argument.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Macaulay2Doc/shared.m2:12:0.