Feature #318
implement "indent" for modules
Status:
Closed
Priority:
Normal
Assignee:
Category:
Incomplete function
Target version:
Description
implement indent for module as it is done for ideal
History
#1 Updated by Anna Maria Bigatti about 11 years ago
implemented: the decision is to use the matrix representation by rows (as highlighted by the name)
/**/ indent(M); SubmoduleRows(F, matrix([ [0, x, -z], [1, 0, -x] ]))
I was undecided between rows and cols, but the vertical alignment is immediately broken by any non trivial case, whereas rows still have a chance to be readable.
/**/ Use R ::= QQ[x,y,z]; /**/ indent(syz([x^2-y-1, y^3-z, x^2-y, y^3-z])); SubmoduleRows(F, matrix([ [y^3 -z, 0, 0, -x^2 +y +1], [0, 1, 0, -1], [x^2 -y, 0, -x^2 +y +1, 0], [0, 0, y^3 -z, -x^2 +y] ]))
Note: syz ;-)
#2 Updated by Anna Maria Bigatti over 10 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100