examples/3gp-a-Rel
raw| 1 | #Example: "3gp-a-Rel" . . . based on: examples/3gpA |
| 2 | #(exponent 9 group with 2 generators of order 3) |
| 3 | #vars: F, procId, rels; |
| 4 | #options: OutputLevel |
| 5 | F := FreeGroup("a", "b"); |
| 6 | rels := ["a^3", "b^3"]; |
| 7 | #alt: do |
| 8 | #procId := PqStart( F ); |
| 9 | #comment: set a different print level by supplying <OutputLevel> |
| 10 | #alt: sub <procId> for <F> |
| 11 | Pq( F : Prime := 3, Exponent := 9, Relators := rels, ClassBound := 6, |
| 12 | #sub <OutputLevel> for <1> if set and ok |
| 13 | OutputLevel := 1 ); |