NZMATH  1.2.0 About: NZMATH is a Python based number theory oriented calculation system.   Fossies Dox: NZMATH-1.2.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)
nzmath.poly.multiutil.NestProvider Class Reference
Inheritance diagram for nzmath.poly.multiutil.NestProvider:
[legend]
Collaboration diagram for nzmath.poly.multiutil.NestProvider:
[legend]

## Public Member Functions

def nest (self, outer, coeffring)

def unnest (self, q, outer, coeffring)

## Public Attributes

number_of_variables

## Detailed Description

```Provide nest/unnest pair to convert a multivar polynomial to a
univar polynomial of polynomial coefficient and opposite
direction.
```

Definition at line 33 of file multiutil.py.

## Member Function Documentation

```Return the position of the leading variable (the leading term
among all total degree one terms).

The leading term varies with term orders, so does the result.
The term order can be specified via the attribute 'order'.
```

Definition at line 39 of file multiutil.py.

## ◆ nest()

 def nzmath.poly.multiutil.NestProvider.nest ( self, outer, coeffring )
```Nest the polynomial by extracting outer variable at the given
position.
```

Definition at line 58 of file multiutil.py.

## ◆ unnest()

 def nzmath.poly.multiutil.NestProvider.unnest ( self, q, outer, coeffring )
```Unnest the nested polynomial q by inserting outer variable at
the given position.
```

Definition at line 78 of file multiutil.py.

## ◆ number_of_variables

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