@@ -1558,19 +1558,19 @@ def hyperplane_transformation_matrix(self, plane_1, plane_2):
1558
1558
sage: plane1 = P.subscheme(x + 2*y + z)
1559
1559
sage: plane2 = P.subscheme(2*x + y + z)
1560
1560
sage: P.hyperplane_transformation_matrix(plane1, plane2)
1561
- [ 1/2 0 0 0]
1562
- [-1/2 1 0 0]
1563
- [ 0 0 1/2 0]
1564
- [ 0 0 0 1]
1561
+ [1 0 0 0]
1562
+ [0 4 0 0]
1563
+ [0 0 2 0]
1564
+ [0 0 0 1]
1565
1565
1566
1566
::
1567
1567
1568
1568
sage: P.<x,y> = ProjectiveSpace(ZZ, 1)
1569
1569
sage: plane1 = P.subscheme(x + y)
1570
1570
sage: plane2 = P.subscheme(y)
1571
1571
sage: P.hyperplane_transformation_matrix(plane1, plane2)
1572
- [1 0]
1573
- [1 1]
1572
+ [-1 0]
1573
+ [ 1 1]
1574
1574
1575
1575
::
1576
1576
@@ -1580,9 +1580,9 @@ def hyperplane_transformation_matrix(self, plane_1, plane_2):
1580
1580
sage: plane2 = P.subscheme(x + v*y + v*z)
1581
1581
sage: m = P.hyperplane_transformation_matrix(plane1, plane2)
1582
1582
sage: m
1583
- [-4/21*v + 23/21 10/21*v + 16/21 8/21*v + 1/7 ]
1584
- [ 8/21*v + 8/7 -8/21 *v - 8/7 -8/21*v - 8/7 ]
1585
- [ 4/21*v + 5/21 -2/21*v + 8/21 1]
1583
+ [ v 0 0 ]
1584
+ [ 0 -2 *v 0 ]
1585
+ [ 0 0 1]
1586
1586
1587
1587
::
1588
1588
@@ -1592,10 +1592,10 @@ def hyperplane_transformation_matrix(self, plane_1, plane_2):
1592
1592
sage: plane1 = P.subscheme(k*x + 2*k*y + z)
1593
1593
sage: plane2 = P.subscheme(7*k*x + y + 9*z)
1594
1594
sage: m = P.hyperplane_transformation_matrix(plane1, plane2); m
1595
- [ -4/65*k - 1/130 0 0 0]
1596
- [ -25/52 *k - 21/52 -139/130*k + 7/130 137/260*k - 121/260 0]
1597
- [ 0 0 -4/65*k - 1/130 0]
1598
- [ 139/260*k + 123/260 139/130*k + 123/130 -123/260*k + 139/260 1]
1595
+ [ 1 0 0 0]
1596
+ [ 0 14 *k 0 0]
1597
+ [ 0 0 7/9 0]
1598
+ [ 0 0 0 1]
1599
1599
1600
1600
::
1601
1601
@@ -1616,8 +1616,8 @@ def hyperplane_transformation_matrix(self, plane_1, plane_2):
1616
1616
sage: plane1 = P.subscheme(x + y + z)
1617
1617
sage: plane2 = P.subscheme(z)
1618
1618
sage: P.hyperplane_transformation_matrix(plane1, plane2)
1619
- [0 1 1 ]
1620
- [0 0 1 ]
1619
+ [1 0 0 ]
1620
+ [1 1 0 ]
1621
1621
[1 1 1]
1622
1622
1623
1623
::
@@ -1627,9 +1627,9 @@ def hyperplane_transformation_matrix(self, plane_1, plane_2):
1627
1627
sage: plane1 = P.subscheme(x + 9*t*y + z)
1628
1628
sage: plane2 = P.subscheme(x + z)
1629
1629
sage: P.hyperplane_transformation_matrix(plane1, plane2)
1630
- [ -1/81 -1/ 9*t -1/9*t ]
1631
- [-1/9*t - 1/81 t^2 + 1/9*t 1/9*t + 1/81 ]
1632
- [ -1/9*t -t^2 -1/81 ]
1630
+ [ 1 9*t 0 ]
1631
+ [ 1 0 0 ]
1632
+ [ 0 0 1 ]
1633
1633
1634
1634
TESTS::
1635
1635
0 commit comments