Reference index · List of Tcl commands

poly

Name

poly - Create polynomial using the coefficients provided.

Synopsis

poly ?-gf gf? coefficients

Options

-gf gf

Galois field (Java reflection object), optional. Galois field, over which the polynomial is computed. If the parameter is omitted, the field previously set by set_default_gf is used.

coefficients

String. Polynomial coefficients in a form of a vector.

Returns

Polynomial (Java reflection object).

Examples

poly -gf [gf 2] 111

Creates polynomial x2 + x + 1 over GF(2).