Cardinal
The cardinality of a set is a measure of the "number of elements of the set", known as cardinal. Thus, this function returns the "size" of a set. This function works with rings and fields. For finite sets, use length.
Syntax
cardinal(Ring | Field)
Description
Returns the cardinal of a ring or field.