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

WeightedRationalMap -- the class of all weighted-rational maps

Description

A weighted-rational map is a rational map between weighted-projective varieties. It can be defined just like (multi-)rational maps, for instance using Hom.

i1 : K = ZZ/65521;
i2 : X = PP_K(1,1,3);

o2 : ProjectiveVariety, PP(1,1,3)
i3 : Y = PP_K(4,5);

o3 : ProjectiveVariety, PP(4,5)
i4 : F = (Hom(X,Y)) {random(4,ring X),random(5,ring X)}

o4 = F

o4 : WeightedRationalMap (rational map from X to Y)

The functions legacyRationalMap (from the package Cremona) and rationalMap can also be used. Note that legacyRationalMap returns a legacy type of rational map: you can always apply rationalMap to its output, and convert back to the legacy type using toLegacyRationalMap.

i5 : f = legacyRationalMap(ring X,ring Y,{random(4,ring X),random(5,ring X)})

o5 = -- rational map --
     source: Proj(K[p , p , p ],Degrees=>{{1}, {1}, {3}})
                     0   1   2
     target: Proj(K[p , p ],Degrees=>{{4}, {5}})
                     0   1
     defining forms: {
                              4         3           2 2           3        4
                      - 20388p  - 14258p p  + 22523p p  - 12700p p  + 5864p  - 24522p p  + 32661p p ,
                              0         0 1         0 1         0 1        1         0 2         1 2
                      
                           5         4           3 2        2 3           4        5        2                         2
                      5026p  - 22494p p  + 24502p p  + 9534p p  - 10875p p  - 6071p  - 7966p p  - 25497p p p  - 26523p p
                           0         0 1         0 1        0 1         0 1        1        0 2         0 1 2         1 2
                     }

o5 : LegacyWeightedHomogeneousRationalMap (rational map from PP(1,1,3) to PP(4,5))
i6 : rationalMap f

o6 = rational map between projective varieties
     source variety: PP(1,1,3)
     target variety: PP(4,5)

o6 : WeightedRationalMap (rational map from X to Y)

Caveat

This class is currently experimental and under development.

See also

Methods that use a weighted-rational map:

  • image(WeightedRationalMap,String) (missing documentation)

For the programmer

The object WeightedRationalMap is a type, with ancestor classes RationalMap < MutableHashTable < HashTable < Thing.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/MultiprojectiveVarieties.m2:3422:0.