---
title: "Enumeration of Points"
canonical: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFiniteFields/ff_curves-points.html"
source: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFiniteFields/ff_curves-points.md"
part: "Arithmetic Geometry"
chapter: "Elliptic Curves over Finite Fields"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Arithmetic Geometry", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/index-arithmetic-geometry.md"}
  - {"title": "Elliptic Curves over Finite Fields", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFiniteFields/index-elliptic-curves-over-finite-fields.md"}
prev: {"title": "The Order of the Group of Points", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFiniteFields/ff_curves-group_points.md"}
next: {"title": "Abelian Group Structure", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFiniteFields/abelian_group.md"}
intrinsics:
  - {"name": "Points", "signature": "Points(E): CrvEll -> {@ PtEll @}"}
  - {"name": "Points", "signature": "Points(H): SetPtEll -> {@ PtEll @}"}
  - {"name": "RationalPoints", "signature": "RationalPoints(E): CrvEll -> {@ PtEll @}"}
  - {"name": "RationalPoints", "signature": "RationalPoints(H): SetPtEll -> {@ PtEll @}"}
  - {"name": "Random", "signature": "Random(E): CrvEll -> PtEll"}
  - {"name": "Random", "signature": "Random(H): SetPtEll -> PtEll"}
---

# Enumeration of Points

In this section the descriptions will refer to a point set $H$, which is either the $H$ in the signature or the base point set of the elliptic curve $E$ in the signature.

<a id="function-points-crvell"></a>
## `Points(E): CrvEll -> {@ PtEll @}`

<a id="function-points-setptell"></a>
## `Points(H): SetPtEll -> {@ PtEll @}`

<a id="function-rationalpoints-crvell"></a>
## `RationalPoints(E): CrvEll -> {@ PtEll @}`

<a id="function-rationalpoints-setptell"></a>
## `RationalPoints(H): SetPtEll -> {@ PtEll @}`

Returns the set of rational points of the point set $H$ or of the base point set of the elliptic curve $E$, including the point at infinity.

<a id="function-random-crvell"></a>
## `Random(E): CrvEll -> PtEll`

<a id="function-random-setptell"></a>
## `Random(H): SetPtEll -> PtEll`

Returns a random rational point of the point set $H$ or of the base point set of the elliptic curve $E$. Every rational point has a roughly equal chance of being selected, including the point at infinity.
