Macaulay2 » Documentation
Packages » MultiprojectiveVarieties :: ambientVariety
next | previous | forward | backward | up | index | toc

# ambientVariety -- the ambient variety of a projective subvariety

- Usage:
    `ambientVariety X`
- Inputs:
  - X, a multi-projective variety, a subvariety of another variety Y
- Outputs:
  - a multi-projective variety, the ambient variety Y

## Description

    i1 : X = point PP_(ZZ/65521)^3;

    o1 : ProjectiveVariety, a point in PP^3

    i2 : Y = random({1},X);

    o2 : ProjectiveVariety, surface in PP^3

    i3 : X % Y

    o3 = X

    o3 : ProjectiveVariety, a point in PP^3 (subvariety of codimension 2 in Y)

    i4 : ambientVariety X

    o4 = Y

    o4 : ProjectiveVariety, surface in PP^3

    i5 : ambient X

    o5 = PP^3

    o5 : ProjectiveVariety, PP^3

## See also

- MultiprojectiveVariety % MultiprojectiveVariety -- subvariety of a projective variety
- ambient(MultiprojectiveVariety) -- the ambient multi-projective space of the variety

## Ways to use ambientVariety:

- `ambientVariety(MultiprojectiveVariety)`

## For the programmer

The object ambientVariety is a method function.

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