# CASA Function: InPolynomial

Convert a polynomial from alpha-form to Root-Of form.

### Calling Sequence:

- P := InPolynomial(p,F)
- P := InPolynomial(p,F,alpha)

### Parameters:

- p : polynomial
- A polynomial over the finite field F.

- F : casa/finite/field
- The finite field of the coefficients of p.

### Result:

- P : casa/finite/Polynomial
- A polynomial over a finite field in Root-Of Form.

### Description:

- Puts a polynomial into Root-Of form
- The polynomial is stored in RootOfs.

### Examples:

`> ` **F8:= finiteField(8);**

`> ` **P := InPolynomial(alpha^2*x+alpha,F8);**

### See Also:

[CASA]
[finiteField]
[[RootOf]]