Changeset a87b34 in git for Singular/LIB/multigrading.lib
- Timestamp:
- Mar 23, 2011, 6:49:20 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 1628b149b92bdbe06e7d660a7fd23fea4f95ad3e
- Parents:
- 4a5e7737ad753b22e48ca36afe5aa8c4afb5c5c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/multigrading.lib
r4a5e77 ra87b34 4429 4429 } 4430 4430 4431 if ( g != 1 )4431 if ( g != 1 and g != -1 ) 4432 4432 { 4433 4433 return(0); … … 4445 4445 4446 4446 //ring R = 0,(x,y),dp; 4447 intmat S2[3][ 2]=4447 intmat S2[3][3]= 4448 4448 0, 2, 3, 4449 4449 0, 1, 1, 4450 4450 3, 0, 2; 4451 4451 4452 intmat S1[3][ 3]=4452 intmat S1[3][2]= 4453 4453 0, 6, 4454 4454 0, 2, … … 4526 4526 3,6,12; 4527 4527 4528 intmat B = latticeBasis( B);4528 intmat B = latticeBasis(L); 4529 4529 print(B); // should be a matrix with columns [1,2,3] and [0,3,6] 4530 4530 … … 4676 4676 intmat L = preimageLattice(P,B); 4677 4677 4678 print(L); // should be a 2x2? matrix with columns [1,1,-1] and [-2,1,0]?4678 print(L); // should be a (3x2)-matrix with columns e.g. [1,1,-1] and [0,3,-2] (the generated lattice should be identical) 4679 4679 4680 4680 kill B, P, L; … … 4917 4917 4918 4918 // should result in a (2x4)-matrix with columns 4919 // [3, 3, 3], [0, 3, 6]4919 // e.g. [3, 3, 3], [-3, 0, 3] (the lattice should be the same) 4920 4920 print(U); 4921 4921 }
Note: See TracChangeset
for help on using the changeset viewer.