# Revision history [back]

### Finding the matrix of a linear affine transformation and its inverse

How do i get the matrix representation of an affine transformation and it's inverse in sage?

### Finding the matrix of a linear affine transformation and its inverse

How do i get the matrix representation of an affine transformation and it's inverse in sage?

I am more so interested in doing this for random affine transformations as i am using them in a multivariate cryptography scheme but for example the following affine transformation:

sage: L = AffineGroup(6, GF(3))


### Finding the matrix of a linear affine transformation and its inverse

How do i get the matrix representation of an affine transformation and it's inverse in sage?

I am more so interested in doing this for random affine transformations as i am using them in a multivariate cryptography scheme but for example the following affine transformation: transformation:

sage: L = AffineGroup(6, GF(3))


### Finding the matrix of a linear affine transformation and its inverse

How do i get the matrix representation of an affine transformation and it's inverse in sage?

I am more so interested in doing this for random affine transformations as i am using them in a multivariate cryptography scheme but for example the following affine transformation:

L = AffineGroup(6, GF(3))
L.random_element()


### Finding the matrix of a linear affine transformation and its inverse

How do i get the matrix representation of an affine transformation and it's inverse in sage?

I am more so interested in doing this for random affine transformations as i am using them in a multivariate cryptography scheme but for example the following affine transformation:

sage: L = AffineGroup(6, GF(3))
sage: L.random_element()


### Finding the matrix of a linear affine transformation and its inverse

How do i get the matrix representation of an affine transformation and it's inverse in sage?

I am more so interested in doing this for random affine transformations as i am using them in a multivariate cryptography scheme but for example the following affine transformation:

sage: L = AffineGroup(6, GF(3))
sage: L.random_element()


### Finding the matrix of a linear affine transformation and its inverse

How do i get the matrix representation of an affine transformation and it's inverse in sage?

I am more so interested in doing this for random affine transformations as i am using them in a multivariate cryptography scheme but for example the following affine transformation:transformation.

L = AffineGroup(6, GF(3))

[1 0 0 2 0 2]     [1]
[2 2 1 1 2 0]     [1]
[2 0 0 2 2 2]     [0]
x |-> [2 2 0 1 1 1] x + [1]
[1 0 2 0 2 0]     [0]
[0 0 0 2 0 2]     [2]


### Finding the matrix of a linear affine transformation and its inverse

How do i get the matrix representation of an affine transformation and it's inverse in sage?

I am more so interested in doing this for random affine transformations as i am using them in a multivariate cryptography scheme but for example the following affine transformation. transformation over GF(3)

L = AffineGroup(6, GF(3))

[1 0 0 2 0 2]     [1]
[2 2 1 1 2 0]     [1]
[2 0 0 2 2 2]     [0]
x |-> [2 2 0 1 1 1] x + [1]
[1 0 2 0 2 0]     [0]
[0 0 0 2 0 2]     [2]