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

1 | initial version |

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

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))
```

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))
```

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()
```

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()
```

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

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

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]
```

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]

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.