next | previous | forward | backward | up | top | index | toc | home

regularSequence -- how much of a list is regular

Synopsis

Description

Given a list X, the function regularSequence gives an integer indicating how many initial elements of a List form a regular sequence.
i1 : A = ZZ[x_1..x_4]/(x_4^2)

o1 = A

o1 : QuotientRing
i2 : regularSequence({x_1..x_4},A)

o2 = 3

This symbol is provided by the package Depth.

Caveat

regularSequence merely checks the injectivity of the maps in question. It does not check to see if XA = A.

Ways to use regularSequence :