ToFiniteField
ToFiniteField[k,ff]
converts the integer k to an element of the prime subfield of the finite field ff.
ToFiniteField[expr,ff]
converts the coefficients of the rational expression expr to elements of the finite field ff.
ToFiniteField[expr,ff,t]
converts the coefficients of the rational expression expr to elements of the finite field ff, with t representing the field generator.
Details
- ToFiniteField replaces integers k with elements ff[{k}] of the prime subfield of ff and replaces t with the field generator ff[{0,1}].
- ToFiniteField goes inside List, Plus, Times and integer Power in expr.
Examples
open allclose allBasic Examples (4)
Scope (4)
Convert integers and rational numbers to elements of the prime subfield of a finite field:
Convert a polynomial in t to a a polynomial in the field generator:
Convert the coefficients of a polynomial to elements in the prime subfield of a finite field:
Convert the coefficients of a rational function, with t used to represent the field generator:
Properties & Relations (2)
FromFiniteField converts finite field elements to polynomials in the field generator:
FromFiniteFieldIndex gives finite field elements with specified indices:
ToFiniteField converts integers to elements of the prime subfield:
Text
Wolfram Research (2024), ToFiniteField, Wolfram Language function, https://reference.wolfram.com/language/ref/ToFiniteField.html.
CMS
Wolfram Language. 2024. "ToFiniteField." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ToFiniteField.html.
APA
Wolfram Language. (2024). ToFiniteField. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ToFiniteField.html