All functions which create a plane return three values:
Check: BoolElt Default: true
Construct the projective plane P having as point set the indexed set V (or {@ 1, 2, ... . v @} if an integer v is given), and as line set L = { L1, L2, ..., Lb } given by the list X. The value of X must be either:The optional boolean argument Check indicates whether or not to check that the given data satisfies the projective plane axioms.
- (a)
- A list of subsets of the set V.
- (b)
- A sequence, set or indexed set of subsets of V.
- (c)
- A list of lines of an existing plane.
- (d)
- A sequence, set or indexed set of lines of an existing plane.
- (e)
- A combination of the above.
- (f)
- A v x b (0, 1)-matrix A, where A may be defined over any coefficient ring. The matrix A will be interpreted as the incidence matrix for the plane P.
- (g)
- A set of codewords of a linear code with length v. The line set of P is taken to be the set of supports of the codewords.
Given a 3--dimensional vector space W defined over the field F = GF(q), construct the classical projective plane defined by the one--dimensional and two--dimensional subspaces of W.
Check: BoolElt Default: true
Construct the affine plane P having as point set the indexed set V (or {@ 1, 2, ... . v @} if an integer v is given), and as line set L = { L1, L2, ..., Lb } given by the list X. The value of X must be either:The optional boolean argument Check indicates whether or not to check that the given data satisfies the affine plane axioms.
- (a)
- A list of subsets of the set V.
- (b)
- A sequence, set or indexed set of subsets of V.
- (c)
- A list of lines of an existing plane.
- (d)
- A sequence, set or indexed set of lines of an existing plane.
- (e)
- A combination of the above.
- (f)
- A v x b (0, 1)-matrix A, where A may be defined over any coefficient ring. The matrix A will be interpreted as the incidence matrix for the plane P.
- (g)
- A set of codewords of a linear code with length v. The line set of P is taken to be the set of supports of the codewords.
Given a 2--dimensional vector space W defined over the field F = GF(q), construct the classical affine plane defined by the cosets of the subspaces of W.
> P, V, L := FiniteProjectivePlane(3); > P; Projective Plane PG(2, 3) > V; Point-set of Projective Plane PG(2, 3) > L; Line-set of Projective Plane PG(2, 3)A non-classical affine plane of order 2 can be constructed in the following way:
> A := FiniteAffinePlane< 4 | Setseq(Subsets({1, 2, 3, 4}, 2)) >; > A: Maximal; Affine Plane of order 2 Points: {@ 1, 2, 3, 4 @} Lines: {1, 3}, {1, 4}, {2, 4}, {2, 3}, {1, 2}, {3, 4}To demonstrate the use of the Check argument, we recreate the classical projective plane of order 16 with Check := true (the default) and Check := false.
> P, V, L := FiniteProjectivePlane(16); > time P2 := FiniteProjectivePlane< > Points(P) | {Set(l): l in L} : Check := true >; Time: 10.769 > time P2 := FiniteProjectivePlane< > Points(P) | {Set(l): l in L} : Check := false >; Time: 0.030