There are several different methods for creating projective $n$-space in Macaulay2.
To generate projective space as a ProjectiveVariety, we use the Proj-construction.
|
|
|
|
|
To work with projective space as a NormalToricVariety, we simply use the method toricProjectiveSpace.
|
|
|
|
|
|
|
|
|
To manipulate projective space as an AbstractVariety, we employ the method abstractProjectiveSpace.
|
|
|
|
|
|
If you prefer a shorter name for your favourite method of constructing projective space, then make one.
|
|
|
|