Reference index · List of Tcl commands

matrix

Name

matrix - Create a matrix parsing the list of strings.

Synopsis

matrix ?-gf gf? rows

Options

-gf gf

Galois field (Java reflection object), optional. Galois field, in which to create the matrix. If the parameter is omitted, the field previously set by set_default_gf is used.

rows

List. List of strings, each one contains the elements of a matrix row.

Returns

Matrix (Java reflection object).

Examples

identity_matrix -gf [gf 2] 4

Creates 4-by-4 identity matrix over GF(2).