RandomRegularChainDim0 - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


RegularChains[FastArithmeticTools]

  

RandomRegularChainDim0

  

generate a random 0-dim regular chain

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RandomRegularChainDim0(lv, ld, p)

Parameters

lv

-

a list of variables

ld

-

a list of degrees

p

-

a prime number

Description

• 

The command RandomRegularChainDim0 returns a randomly generated zero-dimensional regular chain with lv as variables. The degree sequence of the variables is ld. All the coefficients of the polynomials are reduced w.r.t p.

Examples

> 

with⁡RegularChains:

> 

with⁡ChainTools:

> 

with⁡FastArithmeticTools:

> 

p≔962592769:

> 

vars≔x1,x2,x3,x4:

> 

R≔PolynomialRing⁡vars,p:

> 

N≔nops⁡vars:

> 

dg≔3:

> 

degs≔seq⁡4,i=1..N:

> 

pol≔randpoly⁡vars,dense,degree=dg+rand⁡modpmodp:

> 

tc≔RandomRegularChainDim0⁡vars,degs,p

tc≔regular_chain

(1)

Computing with the modpn-supported and modular code

> 

r1≔IteratedResultantDim0⁡pol,tc,R

r1≔446889812

(2)

Computing with the non-fast non-modular code

> 

r2≔IteratedResultant⁡pol,tc,R

r2≔446889812

(3)

The results computed by IteratedResultantDim0 and IteratedResultant are equivalent.

> 

evalb⁡r1=r2

true

(4)

See Also

IteratedResultant

IteratedResultantDim0

IteratedResultantDim1

RandomRegularChainDim1

RegularChains