next | previous | forward | backward | up | top | index | toc | Macaulay2 website
NumericalSchubertCalculus :: PieriHomotopies

PieriHomotopies -- runs the Pieri homotopies to solve a general hypersurface problem

Synopsis

Description

This solves the Schubert intersection problem on $Gr(p,m+p)$ of the $p$-planes that meet $m\cdot p$ general $m$-planes. It is a simple Schubert problem $l_1,\dotsc,l_{mp}$, where each Schubert condition $l_i$ has codimension 1. This is less general than solveSimpleSchubert, which allows up to two of the $\ell_i$ to not have codimension 1

The example below computes the two lines that meet four given lines in projective 3-space.

To verify the first intersection condition, we concatenate the first input plane with the first output plane. The determinant of the concatenated matrix should have real and imaginary parts of the same magnitude as the machine precision.

i1 : (ipt, otp) := PieriHomotopies(2,2);
i2 : print ipt
{| -.5                .409441-.404088ii   |, | -.5                .282956-.268582ii   |, | -.5                 -.0866558+.266737ii |, | -.5                .0230046-.634624ii  |}
 | .0842492-.492851ii -.528044+.157225ii  |  | -.188199-.463229ii -.516494+.0536845ii |  | -.0173638+.499698ii -.856342+.0319556ii |  | .0319662-.498977ii -.423053+.0211768ii |
 | -.109749-.487806ii -.298292-.299123ii  |  | .107703+.488262ii  -.499673+.422895ii  |  | -.437208-.242589ii  -.0438615+.313515ii |  | -.176616-.467768ii .117766-.37356ii    |
 | .297682+.401728ii  -.0770277+.425599ii |  | -.452542+.212616ii .299558+.24475ii    |  | -.302872+.39783ii   .253717+.149705ii   |  | -.335985-.37029ii  -.178591+.481654ii  |
i3 : print otp
{| 1                  0                 |, | 1                  0                  |}
 | -.662543+.787734ii .873015+2.01774ii |  | -.214493-.785946ii .919873-.615234ii  |
 | .681431+.288357ii  1                 |  | .309902-.68472ii   1                  |
 | 0                  1.60669-1.58887ii |  | 0                  -.430549-.726094ii |
i4 : in0 = ipt_0

o4 = | -.5                .409441-.404088ii   |
     | .0842492-.492851ii -.528044+.157225ii  |
     | -.109749-.487806ii -.298292-.299123ii  |
     | .297682+.401728ii  -.0770277+.425599ii |

                4          2
o4 : Matrix CC    <--- CC
              53         53
i5 : out0 = otp_0

o5 = | 1                  0                 |
     | -.662543+.787734ii .873015+2.01774ii |
     | .681431+.288357ii  1                 |
     | 0                  1.60669-1.58887ii |

                4          2
o5 : Matrix CC    <--- CC
              53         53
i6 : m = in0|out0

o6 = | -.5                .409441-.404088ii   1                 
     | .0842492-.492851ii -.528044+.157225ii  -.662543+.787734ii
     | -.109749-.487806ii -.298292-.299123ii  .681431+.288357ii 
     | .297682+.401728ii  -.0770277+.425599ii 0                 
     ------------------------------------------------------------------------
     0                 |
     .873015+2.01774ii |
     1                 |
     1.60669-1.58887ii |

                4          4
o6 : Matrix CC    <--- CC
              53         53
i7 : det m

o7 = -1.08861962443363e-15-3.77151654749712e-16*ii

o7 : CC (of precision 53)

Ways to use PieriHomotopies :

For the programmer

The object PieriHomotopies is a method function with options.