RegularChains[FastArithmeticTools]
RandomRegularChainDim0
generate a random 0-dim regular chain
Calling Sequence
Parameters
Description
Examples
RandomRegularChainDim0(lv, ld, p)
lv
-
a list of variables
ld
a list of degrees
p
a prime number
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.
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
Computing with the modpn-supported and modular code
r1≔IteratedResultantDim0pol,tc,R
r1≔446889812
Computing with the non-fast non-modular code
r2≔IteratedResultantpol,tc,R
r2≔446889812
The results computed by IteratedResultantDim0 and IteratedResultant are equivalent.
evalbr1=r2
true
See Also
IteratedResultant
IteratedResultantDim0
IteratedResultantDim1
RandomRegularChainDim1
RegularChains
Download Help Document