Macaulay2 » Documentation
Packages » SRdeformations :: edim
next | previous | forward | backward | up | index | toc

# edim -- The embedding dimension of a complex or co-complex.

- Usage:
    `edim(C)`
- Inputs:
  - C, an embedded complex,
- Outputs:
  - an integer,

## Description

The embedding dimension of a complex or co-complex.

    i1 : R=QQ[x_0..x_5]

    o1 = R

    o1 : PolynomialRing

    i2 : C=boundaryCyclicPolytope(3,R)

    o2 = 2: x x x  x x x  x x x  x x x  x x x  x x x  x x x  x x x
             0 1 2  0 2 3  0 3 4  0 1 5  1 2 5  2 3 5  0 4 5  3 4 5

    o2 : complex of dim 2 embedded in dim 5 (printing facets)
         equidimensional, simplicial, F-vector {1, 6, 12, 8, 0, 0, 0}, Euler = 1

    i3 : dim C

    o3 = 2

    i4 : edim C

    o4 = 5

## See also

- dim(Complex) -- Compute the dimension of a complex or co-complex.

## Ways to use edim:

- `edim(Complex)`

## For the programmer

The object edim is a method function.

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