generate a random 0-dim regular chain - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : RegularChains : FastArithmeticTools Subpackage : RegularChains/FastArithmeticTools/RandomRegularChainDim0

RegularChains[FastArithmeticTools][RandomRegularChainDim0] - generate a random 0-dim regular chain

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

withRegularChains:

withChainTools:

withFastArithmeticTools:

p:=962592769:

vars:=x1,x2,x3,x4:

R:=PolynomialRingvars,p:

N:=nopsvars:

dg:=3:

degs:=seq4,i=1..N:

pol:=randpolyvars,dense,degree=dg+randmodpmodp:

tc:=RandomRegularChainDim0vars,degs,p

tc:=regular_chain

(1)

Computing with the modpn-supported and modular code

r1:=IteratedResultantDim0pol,tc,R

r1:=446889812

(2)

Computing with the non-fast non-modular code

r2:=IteratedResultantpol,tc,R

r2:=446889812

(3)

The results computed by IteratedResultantDim0 and IteratedResultant are equivalent.

evalbr1=r2

true

(4)

See Also

IteratedResultant, IteratedResultantDim0, IteratedResultantDim1, RandomRegularChainDim1, RegularChains


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam