MeatAxe: Poly_t Class Reference

MeatAxe 2.4

- Main Page
- Related Pages
- Modules
- Data Structures

- Data Structures
- Data Fields

Data Fields
Poly_t Class Reference
Polynomials

A Polynomial. More...

## Data Fields
unsigned long | Magic
| Used internally.
int | Field
| Field order.
int | Degree
| Degree of the polynomial.
FEL * | Data
| Coefficients.
int | BufSize
| Used internally for memory management.

## Detailed Description

A Polynomial.

Internally, a polynomial of degree n is represented as an array of n+1 field elements (`Data` field), where `data[i]` is the coefficient of x^i. The leading coefficient is always non-zero on the MeatAxe API level (it can temporarily be zero during calculations). The null polynomial has a degree of -1.

## Field Documentation

int Poly_t::BufSize

Used internally for memory management.

FEL* Poly_t::Data

Coefficients.

Degree+1 values, starting with the constant term.

int Poly_t::Degree

Degree of the polynomial.

int Poly_t::Field

Field order.

unsigned long Poly_t::Magic

Used internally.

The documentation for this class was generated from the following file:

- src/meataxe.h