## Class MultivariateConversions

• ```public final class MultivariateConversions
extends Object```
Since:
2.2
Author:
Stanislav Poslavsky
• ### Method Summary

Modifier and Type Method Description
`static <Poly extends AMultivariatePolynomial<?,​Poly>>UnivariateRing<UnivariatePolynomial<Poly>>` ```asUnivariate​(IPolynomialRing<Poly> ring, int variable)```
Given poly in R[x1,x2,...,xN] converts to poly in R[other_variables][variable]
`static <Poly extends AMultivariatePolynomial<?,​Poly>>UnivariatePolynomial<Poly>` ```asUnivariate​(Poly poly, int variable)```
Given poly in R[x1,x2,...,xN] converts to poly in R[other_variables][variable]
`static <Poly extends AMultivariatePolynomial<?,​Poly>>IPolynomialRing<Poly>` ```fromUnivariate​(IPolynomialRing<UnivariatePolynomial<Poly>> ring, int variable)```
Given poly in R[variables][other_variables] converts it to poly in R[x1,x2,...,xN]
`static <Poly extends AMultivariatePolynomial<?,​Poly>>Poly` ```fromUnivariate​(UnivariatePolynomial<Poly> poly, int variable)```
Given poly in R[variables][other_variables] converts it to poly in R[x1,x2,...,xN]
`static <Poly extends AMultivariatePolynomial<?,​Poly>>MultivariateRing<Poly>` ```merge​(IPolynomialRing<MultivariatePolynomial<Poly>> ring, int... variables)```
Given poly in R[x1,x2,...,xN] converts to poly in R[variables][other_variables]
`static <Poly extends AMultivariatePolynomial<?,​Poly>>Poly` ```merge​(MultivariatePolynomial<Poly> poly, int... variables)```
Given poly in R[variables][other_variables] converts it to poly in R[x1,x2,...,xN]
`static <Poly extends AMultivariatePolynomial<?,​Poly>>MultivariateRing<MultivariatePolynomial<Poly>>` ```split​(IPolynomialRing<Poly> ring, int... variables)```
Given poly in R[x1,x2,...,xN] converts to poly in R[variables][other_variables]
`static <Poly extends AMultivariatePolynomial<?,​Poly>>MultivariatePolynomial<Poly>` ```split​(Poly poly, int... variables)```
Given poly in R[x1,x2,...,xN] converts to poly in R[variables][other_variables]
• ### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Method Detail

• #### split

```public static <Poly extends AMultivariatePolynomial<?,​Poly>> MultivariatePolynomial<Poly> split​(Poly poly,
int... variables)```
Given poly in R[x1,x2,...,xN] converts to poly in R[variables][other_variables]
• #### merge

```public static <Poly extends AMultivariatePolynomial<?,​Poly>> Poly merge​(MultivariatePolynomial<Poly> poly,
int... variables)```
Given poly in R[variables][other_variables] converts it to poly in R[x1,x2,...,xN]
• #### split

```public static <Poly extends AMultivariatePolynomial<?,​Poly>> MultivariateRing<MultivariatePolynomial<Poly>> split​(IPolynomialRing<Poly> ring,
int... variables)```
Given poly in R[x1,x2,...,xN] converts to poly in R[variables][other_variables]
• #### merge

```public static <Poly extends AMultivariatePolynomial<?,​Poly>> MultivariateRing<Poly> merge​(IPolynomialRing<MultivariatePolynomial<Poly>> ring,
int... variables)```
Given poly in R[x1,x2,...,xN] converts to poly in R[variables][other_variables]
• #### asUnivariate

```public static <Poly extends AMultivariatePolynomial<?,​Poly>> UnivariatePolynomial<Poly> asUnivariate​(Poly poly,
int variable)```
Given poly in R[x1,x2,...,xN] converts to poly in R[other_variables][variable]
• #### fromUnivariate

```public static <Poly extends AMultivariatePolynomial<?,​Poly>> Poly fromUnivariate​(UnivariatePolynomial<Poly> poly,
int variable)```
Given poly in R[variables][other_variables] converts it to poly in R[x1,x2,...,xN]
• #### asUnivariate

```public static <Poly extends AMultivariatePolynomial<?,​Poly>> UnivariateRing<UnivariatePolynomial<Poly>> asUnivariate​(IPolynomialRing<Poly> ring,
int variable)```
Given poly in R[x1,x2,...,xN] converts to poly in R[other_variables][variable]
• #### fromUnivariate

```public static <Poly extends AMultivariatePolynomial<?,​Poly>> IPolynomialRing<Poly> fromUnivariate​(IPolynomialRing<UnivariatePolynomial<Poly>> ring,
int variable)```
Given poly in R[variables][other_variables] converts it to poly in R[x1,x2,...,xN]