Index

Generated from documentation pages, libraries, procedures, and type pages.
Entries
4109
code 3 doc 10 kernel type 62 library 224 manual 10 page 6 procedure 3004 tex 3 topic 665 tutorial 62 type 60
A B C D E F G H I J K L M N O P Q R S T U V W X Z #

A

EntryDescription
A quick guide to Emacs topic
general.doc / A quick guide to Emacs
Tutorial-style introduction to Emacs for Singular users, focusing on basic concepts and common commands. Includes key abbreviations and essential window, buffer, help, and exit operations.
A_L procedure
classify.lib
Return the Arnold normal form for a polynomial or for a named singularity from the database.
A_Z procedure
general.lib
Return a comma-separated list of n alphabet letters starting at s, in alphabetical (or reverse) order.
A_Z_L procedure
general.lib
Build a list of consecutive letters starting from a given letter, or indexed names for longer sequences.
abs procedure
KVequiv.lib
Returns the absolute value of an integer.
absfact.lib library
2 commands
A library for computing the absolute factorization of multivariate polynomials f with coefficients in a field K of characteristic zero.
absFactorize procedure
absfact.lib
Compute the absolute factorization of p and return a new ring containing a list absolute_factors.
absFactorizeBCG procedure
absfact.lib
Absolute factorization of a polynomial by adjoining one new parameter; returns a new ring with list absolute_factors.
absPrimdecGTZ procedure
primdec.lib
Compute absolute prime components of an ideal (via GTZ + absFactorize) and return a ring containing lists absolute_primes and primary_decomp.
absPrimdecGTZE procedure
primdec.lib
Compute absolute prime components of an ideal (char 0) and return a ring with lists absolute_primes and primary_decomp (primdecGTZ output).
abstractR procedure
reszeta.lib
Convert an embedded resolution (resolve output) to data describing the corresponding non-embedded resolution for isolated surface singularities.
absValue procedure
general.lib
Returns the absolute value of c (c if c>=0, otherwise -c) for types supporting comparisons.
Access to elements of a user defined type topic
types.doc / Access to elements of a user defined type
Explains how to access elements of a user-defined type using . and describes ring-dependent element names. Includes a short Singular example.
actionIsProper procedure
ainvar.lib
Test whether the group action defined as exp of a vector field given by an n×1 matrix is proper.
adaptcoef procedure
redcgs.lib
Builds term and coefficient ideals from m, taking coefficients from m1 when row-1 entries match, else 0; returns [T,C].
addcase procedure
redcgs.lib
Recursively adds/refines cases in the global tree @L for node labu using specification data rs; returns 1/0 status.
addcol procedure
matrix.lib
Return A after adding p times column c1 to column c2.
addcores procedure
resources.lib
Adjust the number of available processor cores by adding an integer offset and return the new core count.
addElement procedure
sets.lib
Return the set M with element a added.
addHashTables procedure
methods.lib
Join two hash tables by concatenating keys and values (assumes disjoint key sets; not checked).
addLeftFractions procedure
olga.lib
Add two left fractions in a specified localization (given by locType and locData) and return the sum as a fraction vector.
addMethods procedure
methods.lib
Combine two Method objects by merging their functionClosures into a new Method.
addModules procedure
modules.lib
Return the sum of two modules (submodules of the same ambient module).
addNmzOption procedure
normaliz.lib
Add a custom Normaliz option mapping (shortcut to option); the option is registered but not activated.
addnondegeneratevariables procedure
realclassify.lib
Adds signed squares of non-degenerate variables to the normal form equation stored in a NormalFormEquation.
addNvarsTo procedure
ring.lib
Add N variables to a ring (extending it with newly named variables).
addPoly procedure
polyclass.lib
Add two polynomials of type Poly.
addQPolys procedure
stanleyreisner.lib
Return the sum of two QPoly elements in their quotient ring (computed as the normal form of f+g).
addRat procedure
dmodloc.lib
Add two rational functions given as 2-component vectors [num,den] and return the resulting [num,den] vector.
addrow procedure
matrix.lib
Return matrix A with row r2 replaced by row r2 + prow r1.
addSheaf procedure
schubert.lib
Return the direct sum of two sheaves.
addvarsTo procedure
ring.lib
Add variables to a ring.
ademRelations procedure
fpalgebras.lib
Create a ring in characteristic 0 and export the ideal generator AdemRel for the Adem relation with 0<i<2j.
ADGT procedure
grobcov.lib
Computes supplementary parameter conditions so (H and not H1) => (T and not T1) becomes a theorem in Q[a][x].
Adj_div procedure
brnoeth.lib
Compute fundamental data for a plane curve (incl. degree, genus, places) and its conductor/adjunction divisor.
adjoint procedure
linalg.lib
Compute the adjoint (adjugate) of a square matrix A such that AdjA = det(A)E.
adjointIdeal procedure
paraplanecurves.lib
Compute the adjoint ideal of a plane curve defined by a homogeneous absolutely irreducible polynomial in three variables.
adjunct procedure
interval.lib
Compute the adjunct (adjugate) of an interval matrix as the transpose of its cofactor matrix.
admissibleSub procedure
ncpreim.lib
Check whether variables indexed by an intvec form an admissible subalgebra (returns 1 if yes, else 0).
afaces procedure
gitfan.lib
Compute all a-faces as 0/1 intvecs; optionally filter by a given list of candidate faces or by a minimum face size.
AG codes topic
examples.doc / AG codes
Describes the brnoeth.lib library for solving the Riemann–Roch problem via the Brill–Noether algorithm and its application to algebraic geometry codes, with a worked example in Singular.
AG codes tutorial
tutor.tex / AG codes
This section introduces the use of brnoeth.lib for solving the Riemann–Roch problem and computing and decoding Algebraic Geometry codes on plane curves over prime fields.
AGcode_L procedure
brnoeth.lib
Return a generator matrix of the evaluation AG code defined by divisors G and D on the extended curve data EC.
AGcode_Omega procedure
brnoeth.lib
Return a generator matrix of the residual AG code defined by divisors G and D from extcurve data EC.
ainvar.lib library
9 commands
## Invariant Rings of the Additive Group
aksaka.lib library
8 commands
Algorithms for primality testing in polynomial time, based on the ideas of Agrawal, Saxena, and Kayal.
alexanderpolynomial procedure
alexpoly.lib
Compute Alexander polynomial (and monodromy zeta) of a plane curve singularity; returns a list whose first entry is a ring containing alexpoly, zeta_monodromy, alexfactors.
alexpoly.lib library
14 commands
A library for computing invariants of a plane curve singularity f: the resolution graph of a minimal good resolution, total (and strict) multiplicities of the total transforms of the branches along the exceptional divisors, the Alexander polynomial, and the
alg_kernel procedure
algebra.lib
Compute the kernel of a map as a string; optionally create/export the kernel ideal in the preimage ring using a chosen algorithm.
algDependent procedure
algebra.lib
Test algebraic dependence of generators f1,...,fm and return a flag plus a ring containing the relation ideal ker in y(1..m).
algebra_containment procedure
algebra.lib
Test whether a polynomial lies in the subalgebra generated by an ideal; optionally return a witness ring and polynomial.
algebra.lib library
12 commands
This library provides procedures to compute with subalgebras and with algebra (ring) maps, including containment queries, algebraic dependencies, kernels, basic map properties (injective/surjective/bijective), Noether normalization, and finiteness tests.
Algebraic dependence topic
examples.doc / Algebraic dependence
Explains how to test algebraic dependence of polynomials and subring membership using elimination and normal forms in an extended polynomial ring.
Algebraic dependence tutorial
tutor.tex / Algebraic dependence
Explains how to test algebraic dependence of polynomials and subring membership using elimination and normal forms in an auxiliary ring.
algebraicDependence procedure
sagbi.lib
Return a ring containing ideal algDep with (possible) algebraic dependencies found from I after given SAGBI iterations.
Algorithms topic
math.doc / Algorithms
Lists the algorithms implemented in the Singular library toric_lib, with links to the corresponding documentation nodes.
alias fan kernel type
kernel
alias list kernel type
kernel
align topic
reference.doc / align
Describes the Singular command align, which shifts module generators by a given integer. Includes syntax, type, purpose, and examples.
allDoubleExt procedure
purityfiltration.lib
Compute all double Ext-modules Ext^i(Ext^j(M,D),D) for the left module M=coker(R) over the current ring D.
allExtOfLeft procedure
purityfiltration.lib
Compute a list of matrices presenting the right Ext^i_D(M,D) modules for a left module M=coker(Ps).
allExtOfRight procedure
purityfiltration.lib
Compute a list of matrices representing left Ext-modules Ext^i(M,D) for a right module M=coker(R).
AllExts procedure
nchomolog.lib
Compute and print Ext^i modules of N for i=1..nvars(basering); optionally use an involution defined by opts[1].
allNmzOptions procedure
normaliz.lib
Print a list of available Normaliz options in this library (name, default value, and option passed to Normaliz).
allPositive procedure
bfun.lib
Return 1 if all components of an intvec are positive, otherwise 0.
allprint procedure
inout.lib
Prints list elements if global int ALLprint is defined; pauses when ALLprint>0.
allreal procedure
rootsur.lib
Test whether all roots of a univariate polynomial are real (returns 1 iff all real, else 0).
allrealst procedure
rootsur.lib
Test via Sturm's theorem whether all roots of a univariate rational-coefficient polynomial are real.
allroots_minpoly procedure
surfex.lib
Return a list of strings with all real roots of the active ring's minimal polynomial.
allsquarefree procedure
hnoether.lib
Compute the greatest squarefree divisor of f, completing missing factors not present in g=squarefree(f) via factorization.
altExt_R procedure
nchomolog.lib
Computes an involution-based Ext module (or formal adjoint for i=0) from a matrix presentation using a resolution.
AltVarEnd procedure
nctools.lib
Returns the index (number) of the last alternating variable in the current basering (a super-commutative algebra).
AltVarStart procedure
nctools.lib
Returns the index (number) of the first alternating variable of the current basering (must be a super-commutative algebra).
ambientDimension procedure
gfan.lib
Return the dimension of the ambient space in which a cone, fan, or polytope lives.
An Overview of `omalloc` doc
memory/OMALLOC.texi
Short overview of omalloc, Singular’s internal memory manager, including design principles, requirements, and performance/status notes.
Ann procedure
primdec.lib
Compute the annihilator ideal of the cokernel R^m/M for a module M over the current basering.
annfalphaI procedure
dmodideal.lib
Compute the annihilator of f^alpha in D (OT99 method) for commutative char 0 basering; result ring contains annfalpha.
annfs procedure
dmod.lib
Compute the D-module structure of basering[1/f]f^s and Bernstein-Sato data (LD, BS) in a returned output ring.
annfs0 procedure
dmod.lib
Compute Ann(f^s0) in the Weyl algebra and Bernstein polynomial root data from a known Ann(f^s) ideal in D[s].
annfs2 procedure
dmod.lib
Compute Ann(f^s) in the Weyl algebra and Bernstein data from a known Ann(f^s) in D[s], returning a ring containing LD and BS.
annfsBM procedure
dmod.lib
Constructs a ring encoding the D-module structure of basering[1/f]f^s via the Briancon–Maisonobe algorithm.
annfsBMI procedure
dmod.lib
Compute annihilator of F[1]^s1...F[P]^sP and a Bernstein-Sato ideal for f=F[1]...F[P] (Briancon-Maisonobe).
annfsLogIdeal procedure
dmodideal.lib
Construct an output ring containing annfsLog, the (non-GB) logarithmic annihilator ideal of a multi-factor F^s in D.
annfsLOT procedure
dmod.lib
Compute (and return as a ring) the D-module structure of basering[1/f]f^s using the Levandovskyy-modified Oaku–Takayama algorithm.
annfsOT procedure
dmod.lib
Compute (Oaku–Takayama) the D-module structure of basering[1/f]f^s; returns an output ring containing LD and BS.
annfsParamBM procedure
dmod.lib
Compute the generic annihilator Ann(F^s) for a parametric polynomial (Briancon–Maisonobe) and the exceptional parameter conditions.
annfspecial procedure
dmod.lib
Compute the annihilator ideal of F^n in the Weyl Algebra for a given polynomial F and rational number n, returning an output ring.
annfspecialOld procedure
dmod.lib
Compute the annihilator ideal of F^n in the Weyl algebra from Ann(F^s) in D[s], for a rational exponent n.
annfsRB procedure
dmod.lib
Compute Ann(f^s0) in the Weyl algebra and Bernstein polynomial roots from a known Ann(f^s) in D[s], using the Jacobian ideal.
annihilatorMultiFs procedure
dmodideal.lib
Compute the annihilator ideal Ann(F[1]^s1...F[P]^sP) in a returned D-module ring (Briancon–Maisonobe algorithm).
annil procedure
mprimdec.lib
Compute a standard basis ideal for the annihilator of the quotient module M/N in the basering.
annPoly procedure
dmodapp.lib
Compute the annihilator ideal of a polynomial f in the corresponding Weyl algebra, returning that Weyl ring with ideal LD exported.
annRat procedure
dmodapp.lib
Compute the annihilator ideal (LD) of the rational function g/f in the corresponding Weyl algebra.
annRatSyz procedure
dmodloc.lib
Constructs a Weyl-algebra ring containing an ideal LD giving (part of) the annihilator of the rational function g/f.
appelF1 procedure
dmodapp.lib
Create a parametric Weyl algebra ring containing the ideal IAppel1 annihilating the Appel F1 hypergeometric function.
appelF2 procedure
dmodapp.lib
Create a parametric Weyl algebra ring containing the ideal IAppel2 that annihilates the Appel F2 hypergeometric function.
appelF4 procedure
dmodapp.lib
Create a parametric Weyl algebra ring containing the ideal IAppel4 that annihilates the Appel F4 hypergeometric function.
appendDataToSSI procedure
ssi.lib
Append a list of expressions/objects to an SSI file at the given path.
appendWeight2Ord procedure
ncpreim.lib
Return the basering with an appended weight ordering component (a(w)) in front of its existing ordering.
Applications topic
examples.doc / Applications
Links to example applications, including solving polynomial systems and AG codes.
Applications tutorial
tutor.tex / Applications
Entry points to application-oriented topics in the tutorial, including solving polynomial systems and AG codes.
apply topic
reference.doc / apply
Applies a function to all elements of a vector, matrix, or list. Returns an expression list whose type and format are determined by the subsequent assignment.
applyAdF procedure
central.lib
Apply the adjoint map Ad_f(v)=fv-vf to each generator of an ideal and return the generated ideal.
applyMatrix procedure
interval.lib
Apply an interval matrix to a box, returning the product Ab.
applyPermutationToIntvec procedure
gitfan.lib
Applies a permutation to the entries of an intvec and returns the resulting intvec sorted.
applyVecField procedure
VecField.lib
Apply a VecField V as a differential operator to a polynomial or to each generator of an ideal, optionally truncating V to degree n.
APSubstitution procedure
qhmoduli.lib
Substitute an ideal into a polynomial, drop terms above a weighted-degree bound, then reduce modulo a given ideal.
arc procedure
arc.lib
Create and return a ring containing the ideal arcideal for the arc space of (I at fat point J), optionally skipping coefficient indices.
arc_internal procedure
arc.lib
Internal arc.lib routine operating on ideals I and J (nonzero) with optional settings via optList/useOptList.
arc_with_options procedure
arc.lib
Construct an arc ring for scheme I at fat point J, optionally skipping selected coefficient indices via optList.
arc.lib library
3 commands
Computes the equations of a generalized arc space of a scheme defined by the ideal I, relative to a fat point defined by the ideal J. Optionally, a skip list of coefficients can be provided.
arcpoint.lib library
5 commands
An arc is given by a power series in one variable, say \(t\). Truncating it at a positive integer \(i\) means deleting all terms with \(t\)-powers \(> i\). The set of arcs truncated at order \(<\) bound is denoted \(\mathrm{Tr}(i)\).
areEqual procedure
monomialideal.lib
Compares two lists of monomial ideals by multiplying each ideal's generators and testing equality of the resulting ideals.
areEqualLeftFractions procedure
olga.lib
Check whether two given (left) fractions are equal in the localization specified by locType and locData.
areZeroElements procedure
multigrading.lib
Check whether all column vectors of an integer matrix are zero elements in the (multi)grading group.
arnold.lib library
36 commands
This library classifies isolated hypersurface singularities at the origin which are (right- and stably) equivalent to a germ with a nondegenerate Newton boundary of corank \(\le 2\) (in the sense of Kouchnirenko).
ArnoldAction procedure
qhmoduli.lib
Compute the induced action of the stabilizer G_f of a quasihomogeneous f on T_ (upper monomials), returning a ring with actionid and stabid.
arnoldClassify procedure
arnoldclassify.lib
Classify an isolated hypersurface singularity (Arnol'd list, corank ≤ 2) up to right equivalence and return invariants/normal form.
arnoldClassify_to_string procedure
arnoldclassify.lib
Classify an Arnol'd corank≤2 isolated singularity and return invariants and normal form as a '|' separated string.
arnoldclassify.lib library
9 commands
A library for classifying isolated hypersurface singularities from the list of V. I. Arnol'd with respect to right equivalence up to corank 2. The method relies on Baciu's list of Milnor codes and Newton's rotating ruler method to distinguish the Y- and Z-sing
arnoldCorank procedure
arnoldclassify.lib
Compute the corank of the Hessian matrix of a polynomial f (at the origin) in a local basering.
arnoldDeterminacy procedure
arnoldclassify.lib
Computes an upper bound for the right determinacy of a singularity, returning -1 if infinite.
ArnoldFormMain procedure
qhmoduli.lib
Compute the induced action of G_f on T_ from a quasihomogeneous f and its semiuniversal unfolding Fs.
arnoldListAllSeries procedure
arnoldclassify.lib
Return a list of names of Arnol'd singularity series up to corank 2.
arnoldMilnorCode procedure
arnoldclassify.lib
Compute the Milnor code (as an intvec) of a singularity f from the 2nd Hilbert series of basering/(jacob(f)^e).
arnoldMorseSplit procedure
arnoldclassify.lib
Apply the Splitting Lemma to f, returning a polynomial g in maxideal(3) right equivalent to f.
arnoldNormalForm procedure
arnoldclassify.lib
Compute the Arnol'd normal form for a singularity series or class, optionally with integer and polynomial parameters.
arnoldShowSeries procedure
arnoldclassify.lib
Return database data for a named Arnold singularity series as a singseries object.
ArnoldType procedure
arnold.lib
Return the Arnold classification string stored in N.ArnoldType for a NormalForm (computes it via determineArnoldType if needed).
arr type
arr.lib
An arrangement of hyperplanes.
arr.lib library
44 commands
## arr.lib
arr2multarr procedure
arr.lib
Convert an arrangement to a multiarrangement by assigning multiplicities from an intvec.
arrange procedure
dmod.lib
Construct the product polynomial defining a full hyperplane arrangement in the current commutative basering.
ArrangeBorel procedure
JMSConst.lib
Group a degree-sorted monomial ideal into sublists by degree (for J-marked scheme computations).
ArrangeTails procedure
JMSConst.lib
Constructs the final list of J-marked polynomials by inserting empty degree blocks for missing intermediate degrees.
arrBoolean procedure
arr.lib
Construct the boolean arrangement arr using the first v variables of the current ring.
arrBoundedChambers procedure
arr.lib
Compute the number of bounded chambers of an arrangement (Poincaré polynomial evaluated at -1).
arrBraid procedure
arr.lib
Construct the Type A (braid) hyperplane arrangement of dimension v (hyperplanes x(i)=x(j)).
arrCenter procedure
arr.lib
Computes the center (common intersection) of an arrangement by solving the associated linear system.
arrCentered procedure
arr.lib
Check whether an arrangement is centered (i.e. the intersection of all hyperplanes is nonempty).
arrCentral procedure
arr.lib
Check whether an arrangement is central (all planes intersect in 0).
arrCentralize procedure
arr.lib
Make a centered arrangement central by applying a translational coordinate change.
arrChambers procedure
arr.lib
Return the number of chambers of an arrangement (Poincare polynomial evaluated at 1).
arrCharPoly procedure
arr.lib
Return coefficients of the characteristic polynomial of an arrangement (in increasing order).
arrCone procedure
arr.lib
Return the coned arrangement by homogenizing with respect to a given (or last) ring variable and adding that variable as a new hyperplane.
arrCoordChange procedure
arr.lib
Performs an invertible coordinate change x↦Tx+c on an arrangement, updating [A|b] to [AT^-1|b+AT^-1c].
arrCoordNormalize procedure
arr.lib
Normalize an arrangement by a coordinate/affine change so selected rows become identity and selected constants become zero.
arrDecone procedure
arr.lib
Decone a non-empty central hyperplane arrangement with respect to the k-th hyperplane.
arrDer procedure
arr.lib
Compute the module Der(A) of derivations tangent to the (multi-)arrangement A (central only).
arrEdelmanReiner procedure
arr.lib
Construct the Edelman–Reiner hyperplane arrangement (requires the active ring to have at least 5 variables).
arrEssentialize procedure
arr.lib
Return an essential arrangement obtained from a non-empty arrangement by variable transformations.
arrExponents procedure
arr.lib
Return the exponents (degrees of a basis of the derivation module D(A)) of a free central (multi-)arrangement.
arrFlats procedure
arr.lib
Compute the intersection lattice (as an arrposet) of an arrangement.
arrIsEssential procedure
arr.lib
Check whether an arrangement is essential (rank of maximal element equals the dimension).
arrIsFree procedure
arr.lib
Test whether a (multi-)arrangement is free (Der(A) is a free module); returns 1 if free, else 0.
arrLastVar procedure
arr.lib
Return the index (as int) of the last/largest ring variable used in an arrangement.
arrLattice procedure
arr.lib
Computes the intersection lattice/poset of a hyperplane arrangement.
arrLocalize procedure
arr.lib
Localize an arrangement onto a flat defined by A[v], keeping only hyperplanes containing that flat.
arrOrlikSolomon procedure
arr.lib
Construct the exterior algebra for an arrangement and attach the Orlik–Solomon ideal I as a ring attribute.
arrPoincare procedure
arr.lib
Compute the Poincaré polynomial of a hyperplane arrangement as an integer vector.
arrposet type
arr.lib
A poset representing the intersection lattice of an arrangement.
arrPrintMatrix procedure
arr.lib
Print an arr in readable matrix form, multiplying coefficient columns by the corresponding variables.
arrRandom procedure
arr.lib
Create a random (affine) hyperplane arrangement with bounded integer coefficients.
arrRandomCentral procedure
arr.lib
Create a random central hyperplane arrangement with bounded integer coefficients.
arrRestrict procedure
arr.lib
Restricted arrangement onto a flat.
arrSet procedure
arr.lib
Replace the k-th hyperplane in an arrangement by a given linear polynomial.
arrSwapVar procedure
arr.lib
Swap two variables in an arrangement A (by ring variables or by integer indices into variables(A)).
arrTypeB procedure
arr.lib
Construct the type B reflection arrangement using the first v variables of the current ring.
arrTypeD procedure
arr.lib
Construct the type D reflection arrangement using the first v variables of the current ring.
ASCII procedure
general.lib
Return printable ASCII characters: full table (no args), a single character by code, or a range by codes.
ASCII links topic
types.doc / ASCII links
Describes how ASCII links write data as plain ASCII for storage or communication, and how reading returns strings. Explains link string formats, default behaviors, and a usage example.
ask procedure
aksaka.lib
Deterministic primality test (ASK algorithm): returns 1 if n is prime, 0 if composite.
AssEHV procedure
ehv.lib
Compute the associated prime ideals of an ideal using the Eisenbud/Huneke/Vasconcelos algorithm.
Assignments for user defined types topic
types.doc / Assignments for user defined types
Explains how assignments work for user-defined types in Singular and how to override = to implement custom constructors and generic type conversions.
AssocTanToEnv procedure
grobcov.lib
Given a family F with constraints C and an envelope component E, compute the associated tangent hypersurface parameters at a point of E.
AssOfDim procedure
ehv.lib
Return an ideal whose associated primes are exactly the associated primes of I having dimension e.
assPrimes procedure
assprimeszerodim.lib
Computes the associated primes of an ideal I.
assprimeszerodim.lib library
2 commands
A library for computing the radical and the associated primes of a zero-dimensional ideal in the polynomial ring over the rational numbers, \(\mathbb{Q}[x_1,\ldots,x_n]\), using modular computations.
ASSUME topic
general.doc / ASSUME
Describes the ASSUME command, which conditionally tests an expression based on an assumeLevel and raises an error if the test fails.
attrib kernel type
kernel
attribute object
attrib topic
reference.doc / attrib
Documents the attrib command for displaying, retrieving, and setting attributes on Singular objects. Includes notes on reserved attributes used by the kernel and libraries.
autGenWeights procedure
autgradalg.lib
Compute generators of the subgroup of GL(k,ZZ) that permutes/fixes the set of generator degrees given by the columns of Q.
autGradAlg procedure
autgradalg.lib
Compute the automorphism group of a multigraded algebra R/I as an algebraic subgroup, returning a ring and exporting Jexported and stabExported.
autgradalg.lib library
6 commands
This library provides a framework for computing automorphisms of integral, finitely generated algebras that are graded by a finitely generated abelian group. It also contains procedures to compute automorphism groups of Mori dream spaces.
autKS procedure
autgradalg.lib
Compute Aut_K(S) of a multigraded polynomial basering as an algebraic subgroup V(Iexported) of GL(n), returning the coordinate ring.
autonom procedure
control.lib
Investigate autonomy-related properties of a system (behavior) represented by the module/matrix R.
autonomDim procedure
control.lib
Compute autonomy-related properties (e.g., autonomy/strong autonomy, dimension, degree, kernel representation, determinacy) for a system matrix R.
autX procedure
autgradalg.lib
Compute generators for the Hopf algebra O(Aut(X)) of X(R,w); returns a ring and exports the ideal Iexported.
autXhat procedure
autgradalg.lib
Compute a ring/ideal description of the H-equivariant automorphism group of widehat X as an algebraic subgroup of some GL(n).
Availability doc
COPYING.texi
License and availability information for Singular, including bundled modules, optional external programs, and acknowledgements of developers and supporting institutions.
awalk1 procedure
grwalk.lib
Compute a standard basis via the first alternative Groebner walk algorithm between specified weight orderings (with optional perturbation degree).
awalk1_tmp procedure
grwalk.lib
Compute a transformed Groebner basis via MAltwalk1 using an algebraic-lp style ordering derived from args.
awalk2 procedure
grwalk.lib
Compute a standard basis of an ideal using alternative Groebner walk algorithm 2 between weighted (a(),lp) orderings.

B

EntryDescription
babyGiant procedure
crypto.lib
Compute the discrete logarithm x such that b^x ≡ y (mod p) using Shanks' baby-step giant-step method.
Background topic
start.doc / Background
Overview of Singular, its core computational objects and algorithms, and a brief history of its development and releases.
Background tutorial
tutor.tex / Background
Overview of Singular and its main computational focus, features, and development history. Includes a pointer to version-specific highlights.
backward procedure
finitediff.lib
Return a predefined backward finite-difference approximation for two derivative names with respect to a basering variable.
bareiss topic
reference.doc / bareiss
Applies the sparse Gauss–Bareiss algorithm with an optimal pivot strategy to a module (or a matrix). Returns a list containing a reduced module and an intvec describing the row permutation.
base2str procedure
compregb.lib
Pretty-print the result object G as a string representation.
bases2str procedure
compregb.lib
Convert a list of bases to a single string by applying basis2str to each element and joining with newlines.
baseSurfaceColors procedure
surfex.lib
Return the RGB triple (as a list of three integers) for a base surface color selected by index modulo numBaseColors().
Basic programming topic
examples.doc / Basic programming
An example-based introduction to basic programming in Singular. It demonstrates ring setup, ideals, Gröbner bases, dimensions, primary decomposition, localization, and coordinate transformations.
Basic programming tutorial
tutor.tex / Basic programming
Example-driven introduction to basic programming tasks in Singular, including rings, ideals, Gröbner bases, dimensions, strings, libraries, primary decomposition, and local computations.
basicinvariants procedure
classify.lib
Compute an upper determinacy bound, Milnor number and corank of a polynomial.
basis2str procedure
compregb.lib
Convert a 2-part basis description list into a formatted string with factor and polynomial conditions plus a variable list.
baumslagGroup procedure
fpalgebras.lib
Constructs a Letterplace/free algebra ring for the Baumslag group and exports the relation ideal I.
baumslagSolitar procedure
fpalgebras.lib
Constructs a free algebra ring (monoid/group variant) for Baumslag–Solitar relations and exports the defining ideal I.
Behavior of continue topic
tricks.doc / Behavior of continue
Describes where Singular’s continue is valid and how it behaves inside loops, including a key difference from C. Includes a short example demonstrating the behavior.
beilinsonBundle procedure
tateProdCplxNegGrad.lib
Compute the Beilinson bundle U^a (pullback from each projective-space factor) over the current basering.
beilinsonWindow procedure
tateProdCplxNegGrad.lib
Compute the Beilinson window subquotient complex of a multigraded complex, keeping summands generated in degrees 0<=a<=n.
BelongSemig procedure
cimonom.lib
Test whether n lies in the semigroup generated by v; optionally return a monomial witness using variables indexed by sup.
belongSemigroup procedure
cisimplicial.lib
Find nonnegative integer coefficients c with Ac = v (optionally restricted to the first k columns), else return 0.
BerlekampMassey procedure
ffmodstd.lib
Compute (and optionally update) the minimal polynomial for a sequence via the Berlekamp–Massey algorithm.
Bern procedure
chern.lib
Compute the list of (second) Bernoulli numbers B(0) through B(n) using the Akiyama–Tanigawa algorithm.
bernstein procedure
gmssing.lib
Compute the Bernstein–Sato polynomial b(s) of a polynomial t, returning its roots and multiplicities.
bernsteinBM procedure
dmod.lib
Compute the global Bernstein–Sato polynomial of a hypersurface (Briançon–Maisonobe algorithm) and return its roots with multiplicities.
bernsteinLift procedure
dmod.lib
Compute a candidate (multiple of) Bernstein–Sato polynomial of f via a lift-like method, returning roots with multiplicities.
BernsteinSatoIdeal procedure
dmodideal.lib
Compute Bernstein–Sato ideals (and annihilator data) for f=product(F[i]) via the Briancon–Maisonobe multivariate algorithm.
bertini2Singular procedure
numerDecom.lib
Read a Bertini solutions file and return the computed homotopy solutions as a list of complex coordinate lists.
Betti procedure
modules.lib
Return the Betti matrix of a given resolution.
betti topic
reference.doc / betti
Describes the Singular command betti for computing graded Betti numbers from a (minimal) resolution of R^n/M. Includes syntax variants, notes on minimization, and an example.
betti BR_PLURAL_BR topic
plural.doc / betti BR_PLURAL_BR
Describes betti, which computes graded Betti numbers from a (minimal) resolution, and explains output format and options, including notes for the non-commutative case.
BettiNumsH procedure
goettsche.lib
Compute Betti numbers of the Hilbert scheme of n points on a surface with given Betti numbers b.
BettiNumsN procedure
goettsche.lib
Compute the Betti numbers of the moduli space of Kronecker modules N(q; m, n).
BettiNumsQp procedure
goettsche.lib
Compute the Betti numbers of the punctual Quot-scheme of rank r on n points on a plane.
BettiNumsS procedure
goettsche.lib
Compute the Betti numbers of the n-th symmetric power of a variety from its Betti numbers list.
bFactor procedure
dmodapp.lib
Tries to compute roots of a univariate polynomial, returning roots as an ideal with multiplicities and optionally a leftover irreducible part.
BFBoundsBudur procedure
dmodideal.lib
Compute upper/lower bounds for the Bernstein–Sato ideal for m via Budur (Bud12), returning a ring with Bj, shiftedIdeals, upperBound, lowerBound.
bfct procedure
bfun.lib
Compute roots (and multiplicities) of the Bernstein–Sato polynomial b(s) for a hypersurface f using linear reductions.
bfctAnn procedure
bfun.lib
Compute roots (with multiplicities) of the Bernstein–Sato polynomial b(s) of a hypersurface f via Ann(f^s) (+ f/partials).
bfctBound procedure
dmodloc.lib
Compute roots and multiplicities of a multiple of the b-function for f^su at a generic root of f.
bfctIdeal procedure
bfun.lib
Compute the rational roots (and multiplicities) of the global b-function of an ideal w.r.t. the weight (-w,w).
bfctOneGB procedure
bfun.lib
Compute roots (with multiplicities) of the Bernstein–Sato polynomial b(s) for f using a single Groebner basis computation.
bfctSyz procedure
bfun.lib
Compute roots of the Bernstein–Sato polynomial b(s) for a hypersurface f using a syzygy-based linear solver.
bfctVarAnn procedure
dmodvar.lib
Compute roots of the Bernstein–Sato polynomial b(s) of V(F) (via Sannfs), returning roots (ideal) and multiplicities (intvec).
bfctVarIn procedure
dmodvar.lib
Compute rational roots of the Bernstein–Sato polynomial b(s) of V(I) and their multiplicities using an initial ideal approach.
bfun_lib topic
plulibs.doc / bfun_lib
Given a polynomial ring \(R = K[x_1,\ldots,x_n]\) and a polynomial \(F \in R\), one is interested in the global b-function (also known as the Bernstein–Sato polynomial) \(b(s) \in K[s]\). It is defined as the non-zero monic polynomial of minimal degree satisfy
bfun.lib library
13 commands
Given a polynomial ring \(R = K[x_1,\ldots,x_n]\) and a polynomial \(F \in R\), one is interested in the global b-function (also known as the Bernstein–Sato polynomial) \(b(s) \in K[s]\). It is defined as the non-zero monic polynomial of minimal degree satisfy
Bibliography page
References extracted from the documentation.
bideal type
polybori.lib
PolyBoRi ideal type corresponding to Singular's @code{ideal}.
bideal_add procedure
polybori.lib
Return the union of two bideal generator lists as a sorted, duplicate-free bideal.
bideal2ideal procedure
polybori.lib
Convert a PolyBoRi boolean ideal (bideal) to a Singular ideal.
bideal2pyobject procedure
polybori.lib
Return the Python-object (pylist) representation stored in a Boolean ideal.
Bigatti and La Scala and Robbiano topic
math.doc / Bigatti and La Scala and Robbiano
Describes the algorithm of Bigatti, La Scala and Robbiano and its relation to the algorithms of Pottier and of Hosten and Sturmfels.
bigint kernel type
kernel
big integer
bigint topic
types.doc / bigint
The type bigint represents arbitrarily large integers. Values can only be constructed from other types such as int and number.
bigint declarations topic
types.doc / bigint declarations
Declares a long integer variable of type bigint, including syntax, default value, and an example.
bigint expressions topic
types.doc / bigint expressions
Defines what constitutes a bigint expression in Singular and provides an example illustrating type casting to bigint. Includes references to related types and conversions.
bigint operations topic
types.doc / bigint operations
Lists the supported arithmetic and comparison operations for the bigint type, with a short example.
bigint related functions topic
types.doc / bigint related functions
Lists functions related to the bigint type and provides cross-references to their documentation nodes.
bigintmat kernel type
kernel
Big integer matrices are matrices with big integer entries. No basering definition is required to use bigint matrices, for they do not belong to a ring. Bigintmat entries can have any size because of the use of bigint.
bigintmat topic
types.doc / bigintmat
Big integer matrices are matrices whose entries are big integers. This section introduces their properties and links to declarations, expressions, type casts, and operations.
bigintmat declarations topic
types.doc / bigintmat declarations
Declares variables of type bigintmat, including sized matrices and initialization from bigintmat expressions or lists of (big) integers.
bigintmat expressions topic
types.doc / bigintmat expressions
Describes what constitutes a bigintmat expression in Singular and provides a short example. Includes related references to bigintmat and type conversion/casting.
bigintmat operations topic
types.doc / bigintmat operations
Overview of available operations on bigintmat, including arithmetic, comparison, and element access, with a short example.
bigintmat type cast topic
types.doc / bigintmat type cast
Describes the bigintmat type cast, including syntax, purpose, and an example. Also links to related documentation nodes.
bigintToBinary procedure
gitfan.lib
Return positions of 1-bits in the r-bit binary representation of a bigint n.
bigintvec kernel type
kernel
Big integer vectors are vectors with big integer entries. No basering definition is required to use bigint vectors, for they do not belong to a ring. Bigintvec entries can have any size because of the use of bigint.
bigintvec topic
types.doc / bigintvec
Big integer vectors are vectors whose entries are arbitrary-size integers. They do not require a basering definition because they do not belong to a ring.
bigintvec declarations topic
types.doc / bigintvec declarations
Describes the syntax for declaring bigintvec variables in Singular, including defaults and a short example.
bigintvec expressions topic
types.doc / bigintvec expressions
Defines what constitutes a bigintvec expression in Singular and provides a short example.
bigintvec operations topic
types.doc / bigintvec operations
Operations and comparisons supported for the bigintvec type, with a short usage example.
bigintvec type cast topic
types.doc / bigintvec type cast
Casts an expression to type bigintvec. The created bigintvec has the same size as the input expression.
Bimodules and syzygies and lifts topic
letterplace.doc / Bimodules and syzygies and lifts
Introduces free bimodules over a free algebra, defines syzygy bimodules (bisyzygies), and describes lift(ing) as encoding generator expressions via matrices over the enveloping algebra.
bimodules_lib topic
plulibs.doc / bimodules_lib
The main purpose of this library is handling bimodules. This can help, for example, to determine weak normal forms of representation matrices and total divisors in non-commutative, non-simple G-algebras.
bimodules.lib library
12 commands
The main purpose of this library is handling bimodules. This can help, for example, to determine weak normal forms of representation matrices and total divisors in non-commutative, non-simple G-algebras.
binary_add procedure
crypto.lib
Return the given binary-encoded list incremented by 1.
binaryToBigint procedure
gitfan.lib
Convert a sparse binary index list (positions of 1s) to a bigint.
bindAtomicList procedure
systhreads.lib
Bind a typed shared object with the given name as an atomic_list.
bindAtomicTable procedure
systhreads.lib
Bind a typed shared object named name as an atomic_table.
bindChannel procedure
systhreads.lib
Bind a typed shared object named name as a channel.
bindRegion procedure
systhreads.lib
Bind a typed shared object named name as a "region".
bindSyncVar procedure
systhreads.lib
Bind a typed shared object named name as a "syncvar".
bindTypedSharedObject procedure
systhreads.lib
Bind a shared object by name only if its type matches the required type; otherwise signals an error.
binomial procedure
general.lib
Compute the binomial coefficient (n choose k) for integer n,k.
binomials2intmat procedure
normaliz.lib
Convert a binomial ideal to an intmat whose rows are exponent-difference vectors (length nvars(basering)) for each non-zero generator.
BINresol procedure
resbinomial.lib
Compute an E-resolution of singularities of a binomial ideal, returning the resolution data as a list of affine charts.
bistd procedure
bimodules.lib
Compute a two-sided Groebner basis of a (two-sided) ideal or module using the enveloping algebra of the basering.
bistdIdeal procedure
bimodules.lib
Compute bistd directly for an ideal (using std in the enveloping ring and mapping back).
bitrinity procedure
bimodules.lib
Compute enveloping algebra ring for M and export L=[Coeff,Bisyz] (coefficient/lift matrix and bisyzygies for the two-sided Groebner basis).
bitrinityIdeal procedure
bimodules.lib
Applies bitrinity to an ideal; constructs envelope/elimination data and exports coefficient and bisyzygy matrices.
BlowingUp procedure
curvepar.lib
Compute the blow-up of the curve V(I) at the origin, returning a list of affine charts with maps and transformed ideals.
blowUp procedure
resolve.lib
Compute the blowup of the ambient space V(W) in a smooth center V(C) and the strict transform of V(J), returning affine charts with data.
blowUp procedure
scheme.lib
Compute the blow-up of a scheme X along a subscheme C, returning (blow-up scheme, blow-up map, exceptional divisor).
blowup0 procedure
elim.lib
Construct a presentation ring for the projective blowup in center C and compute exceptional divisor, total/strict transform of J, and blowup map.
blowUp2 procedure
resolve.lib
Compute the blow-up of V(J) along center C, returning chart rings with Jnew, exceptional divisor eD, and blowup map ideal bM.
blowUpBO procedure
resolve.lib
Compute the blow-up of a basic object/presentation along center ideal C and return the chart rings with transformed data.
Blowupcenter procedure
resbinomial.lib
Performs the blow-up in a specified chart along a given center, returning the new affine charts and related data.
blowUpMap type
scheme.lib
A blow-up morphism together with associated data (base, blow-up, center, exceptional divisor) and the defining chartmaps.
BlowUpMapToMorphism procedure
scheme.lib
Convert a blowUpMap into the corresponding morphism.
bool kernel type
kernel
boolean kernel type
kernel
boolean expressions topic
types.doc / boolean expressions
Defines boolean expressions in Singular and lists available comparisons for different object types. Notes evaluation order for logical operators and differences from C-style short-circuiting.
boolean operations topic
types.doc / boolean operations
Lists the boolean operators and their alternative notations, and gives their precedence and examples.
boolean_constant procedure
polybori.lib
Convert an integer constant to a Boolean constant representation.
boolean_ideal procedure
polybori.lib
Convert an ideal to the representation of a Boolean ring (optionally using a specified Boolean ring).
boolean_poly procedure
polybori.lib
Convert a polynomial to a Boolean polynomial representation.
boolean_poly_ring procedure
polybori.lib
Create (and cache) a PolyBoRi boolean polynomial ring corresponding to the given Singular ring.
boolean_set procedure
polybori.lib
Convert a ZDD into a PolyBoRi boolean set, optionally specifying the boolean ring.
boolean_std procedure
polybori.lib
Compute the boolean Groebner basis of an ideal (adding x(i)^2-x(i) implicitly for Singular ideals).
borderBasis procedure
rstandard.lib
Computes a border basis of the ideal I.
BorelCheck procedure
JMSConst.lib
Check whether a monomial ideal is Borel by testing all Borel moves reduce to zero modulo the ideal.
boundBuFou procedure
rootsur.lib
Returns a Budan–Fourier upper bound (correct parity) for the number of real roots of p in (a,b].
boundDes procedure
rootsur.lib
Compute an upper bound (with correct parity) for the number of real roots of a univariate rational polynomial.
boundposDes procedure
rootsur.lib
Return an upper bound (with correct parity) for the number of positive real roots of a univariate rational polynomial.
bounds procedure
rootisolation.lib
Create an interval with given bounds: [a,a] or [a,b].
bounds2 procedure
interval.lib
Construct an interval [a, b] from two numeric bounds (order-independent).
box type
interval.lib
A box, i.e., a list of intervals (typically one interval per variable).
boxAssign procedure
interval.lib
Construct a box from a list of intervals, matching the number of intervals to the number of ring variables.
boxCenter procedure
interval.lib
Return a box whose intervals are the elementwise centers of the input box.
boxEqual procedure
interval.lib
Test whether two boxes have identical bounds in every component; returns 1 if equal, otherwise 0.
boxGet procedure
interval.lib
Return the n-th interval contained in a box (equivalent to B[n]).
boxIntersect procedure
interval.lib
Compute the intersection of one or more boxes; returns the intersected box or -1 if empty.
boxIsinterior procedure
interval.lib
Test whether box A is strictly contained in the interior of box B (coordinate-wise).
boxPrint procedure
interval.lib
Pretty-prints a box.
boxSet procedure
interval.lib
Set the n-th interval of a box to a given interval and return the updated box.
boxSet procedure
rootisolation.lib
Return a new box equal to B except with the i-th entry replaced by interval I.
boxSubtract procedure
interval.lib
Componentwise subtraction of two boxes (intervals per variable): returns B - C.
bpoly type
polybori.lib
PolyBoRi polynomial type corresponding to Singular's @code{poly}.
bpoly_add procedure
polybori.lib
Adds two bpoly Boolean polynomials and returns the resulting bpoly.
bpoly_check procedure
polybori.lib
Test whether two bpoly objects represent the same underlying boolpoly.
bpoly_mult procedure
polybori.lib
Multiply two bpoly Boolean polynomials and return the product as a bpoly.
bpoly2bideal procedure
polybori.lib
Convert a Boolean polynomial (bpoly) into a Boolean ideal (bideal).
bpoly2bset procedure
polybori.lib
Convert a Boolean polynomial (bpoly) to a Boolean set (bset) by extracting its underlying set.
bpoly2poly procedure
polybori.lib
Convert a PolyBoRi boolean polynomial (bpoly) into a Singular poly.
bpoly2pyobject procedure
polybori.lib
Return the underlying Python boolean polynomial object from a PolyBoRi bpoly.
bracket topic
plural.doc / bracket
Computes the Lie bracket [p,q]=pq-qp for two polynomials, with an optional third argument to compute a right-normed iterated bracket.
bracket_k procedure
kskernel.lib
Internal recursive builder that appends a bracket expression to global string F using indices r and s.
Branches of space curve singularities topic
examples.doc / Branches of space curve singularities
This example computes the number of branches of a quasihomogeneous isolated space curve singularity and illustrates pitfalls of primary decomposition. It cross-checks results using invariants and normalization.
Branches of space curve singularities tutorial
tutor.tex / Branches of space curve singularities
This example computes the number of branches of a quasihomogeneous isolated space curve singularity and illustrates pitfalls in using primary decomposition.
break topic
reference.doc / break
Describes the break; statement, which exits the innermost for or while block. Includes a simple example and related references.
Break points topic
general.doc / Break points
Describes how to insert and use break points in a procedure in Singular, including interactive command input and an example session.
breakpoint topic
reference.doc / breakpoint
Sets a breakpoint at the start of a specified procedure or at a given line number, and can remove breakpoints for that procedure.
BrillNoether procedure
brnoeth.lib
Compute a basis of the Riemann–Roch space L(G) on a non-singular curve, returned as a list of ideals encoding functions H/Ho.
brillnoether.lib library
1 commands
This library provides procedures to compute vector space bases of Riemann–Roch spaces of divisors on projective curves.
bring type
polybori.lib
PolyBoRi ring type corresponding to Singular's @code{ring}.
brnoeth.lib library
13 commands
Implementation of the Brill–Noether algorithm for solving the Riemann–Roch problem, with applications to Algebraic Geometry codes.
bset type
polybori.lib
PolyBoRi set type corresponding to the @code{zdd} type used here.
bset2bpoly procedure
polybori.lib
Convert a PolyBoRi boolean set (bset) to a boolean polynomial (bpoly).
bset2zdd procedure
polybori.lib
Convert a Boolean set (bset) to a zero-suppressed decision diagram (zdd).
BSidealFromAnn procedure
dmodideal.lib
Compute Bernstein–Sato-type ideal(s) for f=F[1]..F[P] from Ann(F^s), returning a new ring containing the ideal BS.
btbasis procedure
redcgs.lib
Builds and returns a string assignment of the form T[[labels,3]]:=[L[3]].
btcond procedure
redcgs.lib
Builds two branch-condition assignment strings (L[8]=0 and L[8]<>0) using labels from L[1].
btlpp procedure
redcgs.lib
Builds and returns a string assignment of the form T[[labels,12]]:=[...]; using L[1] and L[7].
btN procedure
redcgs.lib
Builds and returns an assignment string of the form T[[lab,4]]:=[...], with special handling when lab=[-1].
btterminal procedure
redcgs.lib
Builds and returns a string assignment T[[labels,6]]:=true/false based on list L.
btW procedure
redcgs.lib
Builds and returns a formatted assignment string for T at indices from L[1], inserting the contents of L[5].
bubblesort procedure
crypto.lib
Sort a list in decreasing order using bubble sort.
Buchberger algorithm topic
math.doc / Buchberger algorithm
Describes improvements to the Buchberger algorithm for toric ideals, leveraging their special structure. Mentions strategies and references relevant to toric and more general ideals.
Build the development branch of Singular as follows: doc
Building-Singular-from-source.md
Generic installation notes for building Singular from source, including development and old master branches, static and debug variants, testing, and coverage measurement with lcov.
buildFactors procedure
integralbasis.lib
Builds factor-related lists (factors, orders, degrees, checks) from a list of class descriptors used in integralbasis.lib.
buildFilename procedure
resgraph.lib
Return a writable filename: use given name if writable, else try in /tmp; error on path names or if /tmp is not writable.
Building Singular topic
platform.doc / Building Singular
Instructions for building and installing Singular using a standard UNIX-like workflow, with notes on configuration options and side-by-side installation.
buildPolyGroundXRoot procedure
integralbasis.lib
Build a polynomial in an extended ring by adjoining a den-th root of unity and truncating computations to degree d.
buildPolyGroundXRootClass procedure
integralbasis.lib
Builds and returns the polynomial output (first entry) from buildPolyGroundXRoot, optionally switching to a given ring.
buildtree procedure
redcgs.lib
Builds a dichotomic discussion tree (first reduced CGS) for an ideal in K[a][x], optionally starting from given null/non-null conditions.
buildtreetoMaple procedure
redcgs.lib
Write a buildtree output list to a file as a Maple-readable table.
bundle type
tateProdCplxNegGrad.lib
Data structure representing a (Beilinson) bundle used in Beilinson-type constructions.
busadj procedure
linalg.lib
Compute characteristic polynomial coefficients and busadjoint coefficient matrices for a square matrix A.
bvar procedure
polybori.lib
Return the i-th variable of the Boolean ring corresponding to the current basering.

C

EntryDescription
C/C++ files - names (applies to headers as well) doc
C-STYLEGUIDE.md
Legacy C/C++ style guide for Singular, covering file naming, structure, headers, formatting, naming conventions, comments, debugging aids, and C++ feature usage.
calculate_max_sum procedure
crypto.lib
Returns the sum of all elements in a list.
calculate_ordering procedure
crypto.lib
Finds an exponent x such that primitive^x ≡ num1 (mod mod1) (returns 0 if none found in the searched range).
calculateI procedure
resbinomial.lib
Compute updated exponent data expI by adjusting the divisor D from (c,oldordI,Y,a,oldD) and reducing expJ accordingly.
canonicalizeCone procedure
gfan.lib
Return a canonical (unique) representation of a given cone.
canonize procedure
control.lib
Canonize modules in a list by replacing each module entry with its reduced minimal Groebner basis (std), preserving other entries.
canonMap procedure
homolog.lib
Compute kernel (two representations) and cokernel of the canonical map M -> Ext^c(Ext^c(M,R),R) from a presentation.
cantodiffcgs procedure
redcgs.lib
Convert CGS output (mrcgs/rcgs/crcgs) into a simpler list where each segment is given as V(I1) V(I2) with radical ideals.
cantoradd procedure
hyperel.lib
Add two semireduced divisors on a hyperelliptic curve via Cantor's composition algorithm.
cantormult procedure
hyperel.lib
Compute the reduced multiple mD of a (semi)reduced divisor D on the hyperelliptic curve y^2+h(x)y=f(x) using repeated doubling.
cantorred procedure
hyperel.lib
Reduce a semireduced divisor on a hyperelliptic curve using Cantor's reduction algorithm.
cantree procedure
redcgs.lib
Builds a canonical tree list from a list of select cases by expanding each case via GCS and sorting labels.
cantreetoMaple procedure
redcgs.lib
Write a CGS tree/list (from mrcgs/rcgs/crcgs) to a file as a Maple table with the given table variable name.
cardGroup procedure
cisimplicial.lib
Return the cardinality of Z^m/ZA for columns of an integer matrix A (0 if infinite), optionally using only first n columns.
Category string topic
general.doc / Category string
A category string is part of a library header. It defines the library category and is reserved for sorting libraries into categories.
catNets procedure
nets.lib
Horizontally concatenate two Nets, aligning them at the top row.
cccMatrixToPositiveIntvec procedure
tropicalNewton.lib
Convert the first row of a matrix into a strictly positive equivalent weight intvec (constant coefficient case).
CenCharDec procedure
ncdecomp.lib
Decompose a module into weight modules by central characters with respect to given central generators, if a finite decomposition exists.
center procedure
central.lib
Compute generators of the center of an nc algebra, up to a degree bound D and/or until at least N elements are found.
Center procedure
resolve.lib
Compute the center ideal of the blow-up of J (optionally relative to W and exceptional divisors E) for the resolution algorithm.
CenterBM procedure
resolve.lib
Compute the center ideal for the next blow-up in the Bierstone–Milman resolution algorithm from a BM presentation object.
CenterBO procedure
resolve.lib
Compute the center ideal for the next blow-up in the Bravo–Encinas–Villamayor resolution algorithm for a given basic object.
centerRed procedure
central.lib
Compute subalgebra generators of the center up to a given degree bound D (optionally stop after finding N elements).
CenterTail procedure
resolve.lib
Auxiliary BM-algorithm routine returning center data (as a list) computed from BM state and a center ideal.
centerVS procedure
central.lib
Compute an ideal generated by a vector space basis of center elements up to degree D.
central_lib topic
plulibs.doc / central_lib
A library for computing elements of the center and centralizers of sets of elements in GR-algebras.
central.lib library
20 commands
A library for computing elements of the center and centralizers of sets of elements in GR-algebras.
central1st procedure
finitediff.lib
Return a predefined first-order central finite-difference approximation (as a vector) for two derivative names with respect to a variable.
central2nd procedure
finitediff.lib
Return a predefined second-order central finite-difference approximation relating two derivative names in a given variable.
centralizer procedure
central.lib
Compute generators of the centralizer of a polynomial/ideal up to a degree bound D and/or until at least N elements are found.
centralizerRed procedure
central.lib
Compute a set of subalgebra generators for centralizer(F), truncated by degree D and optionally by count N.
centralizerVS procedure
central.lib
Compute an ideal generating a vector space basis of the centralizer of F up to degree d.
centralizeSet procedure
central.lib
Compute a vector space basis (as an ideal) of the centralizer of F within the vector space generated by V.
CentralQuot procedure
ncdecomp.lib
Compute the central quotient M:G for a module M by a central ideal G.
CentralSaturation procedure
ncdecomp.lib
Compute the central saturation M:T^infinity by repeatedly applying CentralQuot with a central ideal T.
cf_of procedure
tropicalEllipticCovers.lib
Compute the coefficient of a given monomial g in a polynomial f.
cgs procedure
compregb.lib
Compute a comprehensive Groebner system for an ideal with respect to given variables and parameters.
cgsdr procedure
grobcov.lib
Compute a disjoint, reduced Comprehensive Groebner System (CGS) for an ideal in Q[a][x], with optional algorithm/output restrictions.
chaincrit procedure
teachstd.lib
Test whether the chain criterion applies to f,g,h (polynomials or module elements), returning 1 if applicable, else 0.
chAll procedure
chern.lib
Compute the positive-degree terms (optionally up to degree N) of the Chern character from a list of Chern classes.
chAllInv procedure
chern.lib
Compute Chern classes from the positive-degree terms of the Chern character (inverse to chAll()).
Change of rings topic
start.doc / Change of rings
Explains how to compute the local Milnor number by switching to a ring with local ordering, and how to work with the Hessian matrix, its determinant, and minors in Singular.
Change of rings tutorial
tutor.tex / Change of rings
Explains how to switch to a local ring ordering in Singular to compute the local Milnor number and related invariants, and how to work with the Hessian matrix and its minors.
changechar procedure
ring.lib
Return a copy of a ring with its characteristic (ring_list(r)[1]) replaced by the given list.
changeCoordinates procedure
VecField.lib
Transform a vector field to new coordinates via an algebra morphism (inverting the map up to the field’s precision).
changeDenominator procedure
normal.lib
Change the denominator of an A-module 1/c1U1 over A=R/I to 1/c2U2, returning U2 (assumes such U2 exists).
changeord procedure
ring.lib
Create a new ring (or qring) from an existing one by replacing its monomial ordering with a given ordering list.
changeordTo procedure
ring.lib
Change the monomial ordering of a ring to a specified simple ordering.
changeoriginalvar procedure
resbinomial.lib
Rename basering variables to x(1..n) (if needed) and return the new ring together with a flag.
changevar procedure
ring.lib
Create a new ring from a given ring/qring by changing its variable names according to a string specification.
char topic
reference.doc / char
Returns the characteristic of the coefficient field of a ring. The result is an integer.
char_series topic
reference.doc / char_series
Describes the Singular command char_series, which returns a matrix whose rows represent the irreducible characteristic series of an ideal with respect to the current variable ordering.
Characteristic sets topic
math.doc / Characteristic sets
Defines characteristic (triangular) sets and irreducible triangular systems in a polynomial ring with lexicographic order, and states the decomposition theorem into an irreducible characteristic series.
CharacteristicExponents procedure
curvepar.lib
Compute the characteristic exponents of the branches of a plane curve V(i).
characters procedure
schubert.lib
Call signature for characters from schubert.lib (no further information available).
charexp2conductor procedure
alexpoly.lib
Compute the conductor (an int) of an irreducible plane curve singularity from its characteristic exponents.
charexp2generators procedure
alexpoly.lib
Compute a minimal set of semigroup generators of an irreducible plane curve singularity from its characteristic exponents.
charexp2inter procedure
alexpoly.lib
Compute the intersection multiplicity matrix of plane curve branches from their contact matrix and characteristic exponents.
charexp2multseq procedure
alexpoly.lib
Convert characteristic exponents of an irreducible plane curve singularity into its multiplicity sequence.
charexp2poly procedure
alexpoly.lib
Constructs a plane curve polynomial with given characteristic exponents from parametrization coefficients.
charInfo procedure
dmodapp.lib
Compute characteristic variety of a Weyl-algebra ideal, plus its singular locus and a primary decomposition, returned via a commutative ring.
charPoly procedure
hnoether.lib
Compute the characteristic polynomial of a bivariate polynomial whose Newton polygon is a single line.
charpoly procedure
linalg.lib
Compute the characteristic polynomial det(Ev - A) of a square matrix (default v is the last ring variable).
charpoly_B procedure
linalg.lib
Compute the characteristic polynomial det(Ev - A) of a square matrix A, using variable v (default: last basering variable).
charstr topic
reference.doc / charstr
Describes the coefficient field of a ring as a string. For coefficient-type tests, prefer the routines in ring.lib because the string representation may change.
chart type
scheme.lib
An affine chart of the form Spec R/I.
chartmap type
scheme.lib
A morphism from an open subset of a chart to another chart, given by rational functions on coordinates.
ChartmapCompChartmap procedure
scheme.lib
Compute the composition of two compatible chartmaps (phi after psi).
ChartmapCompIdeal procedure
scheme.lib
Compute the ideal defining the inverse image under a chartmap of the closed subscheme given by an ideal.
ChartmapToMorphism procedure
scheme.lib
Convert a chartmap into the corresponding morphism.
ChartToScheme procedure
scheme.lib
Convert a chart into the corresponding affine scheme.
charVariety procedure
dmodapp.lib
Compute a commutative output ring containing the ideal charVar whose zero set is the characteristic variety of I.
chDual procedure
chern.lib
Compute Chern classes of the dual vector bundle by negating the odd-indexed Chern classes.
chebyshev procedure
decomp.lib
Returns the (generalized) nth Chebyshev polynomial of the first kind in the first variable of the basering.
checkFactor procedure
dmod.lib
Test whether a given qs in K[s] divides the global Bernstein–Sato polynomial of f using Ann(f^s) in D[s].
checkpfd procedure
pfd.lib
Test whether a rational function f/g equals a given partial fraction decomposition (exactly or via randomized evaluation).
checkpfdMat procedure
pfd.lib
Check correctness of pfdMat output (indexed decompositions) against the input and denominator factors, optionally via random evaluation and/or parallelism.
checkRoot procedure
dmod.lib
Test whether -alpha is a root of the global Bernstein–Sato polynomial of f (and optionally return its multiplicity).
checkRoot1 procedure
dmod.lib
Test whether -alpha is a root of the global Bernstein–Sato polynomial of f, given the annihilator ideal of f^s in D[s].
checkRoot2 procedure
dmod.lib
Compute the multiplicity of -alpha as a root of the Bernstein–Sato polynomial of f from a known annihilator ideal Ann(f^s) in D[s].
chern procedure
chern.lib
Compute Chern classes (as polynomials) from Segre classes given by a list of polynomials.
chern.lib library
61 commands
## Symbolic Computations with Chern Classes
chernCharPoly procedure
chern.lib
Compute the polynomial in t corresponding to a Chern character from r and a list of components ch.
ChernClass procedure
schubert.lib
Returns the i-th Chern class of a sheaf as a polynomial.
chernPoly procedure
chern.lib
Compute the Chern polynomial in t from a list of Chern class polynomials.
ChernRootsDual procedure
chern.lib
Return the Chern roots (sign-changed) of the dual vector bundle for a given list of Chern roots.
ChernRootsHom procedure
chern.lib
Compute the Chern roots of Hom(E,F) from the Chern roots of vector bundles E (a) and F (b).
ChernRootsProd procedure
chern.lib
Compute Chern roots of the tensor product from two lists of Chern roots (polynomials).
ChernRootsSum procedure
chern.lib
Compute Chern roots of the Whitney (direct) sum of two bundles given by their Chern-root lists.
ChernRootsSymm procedure
chern.lib
Compute the Chern roots of the m-th symmetric power of a vector bundle with Chern roots given by l.
ChernRootsWedge procedure
chern.lib
Compute the Chern roots (as polynomials) of the m-th exterior power from a list of Chern roots.
chHE procedure
chern.lib
Compute the highest relevant term of the Chern character from a list of Chern class polynomials.
chHom procedure
chern.lib
Compute (up to degree N) the Chern classes of Hom(E,F) from ranks and Chern classes of E and F.
chineseRem procedure
crypto.lib
Computes x satisfying x = T[i] mod L[i] for all i (Chinese remainder theorem).
chinrem topic
reference.doc / chinrem
Applies the Chinese remainder theorem to elements of the first argument with respect to moduli given in the second. Supports several Singular types and can be applied recursively to nested lists.
chinrempoly procedure
nfmodstd.lib
Chinese remainder construction for poly/ideal/module data with respect to a list of coprime polynomial moduli.
chinrestp procedure
hyperel.lib
Chinese remainder theorem for polynomials: compute poly x with x ≡ b[i] (mod moduli[i]) for all i.
chNum procedure
chern.lib
Compute the Chern-number monomials (partitions of N) from a list of Chern classes on an N-dimensional complex manifold.
chNumbers procedure
chern.lib
Compute the Chern numbers of a vector bundle from its Chern classes on a complex manifold of dimension r.
chNumbersProj procedure
chern.lib
Compute the Chern numbers of the projective space P_n.
ChowRing procedure
schubert.lib
Construct the Chow ring of an abstract variety as a quotient ring of its base ring by its relations.
chProd procedure
chern.lib
Compute the Chern classes of the product (tensor product) of two vector bundles from their ranks and Chern class lists.
chProdE procedure
chern.lib
Compute the Chern classes of the product of two vector bundles from their Chern class lists (via elimination).
chProdL procedure
chern.lib
Compute the Chern classes (as a list) of the product of two vector bundles from their Chern class lists.
chProdLP procedure
chern.lib
Compute the total Chern class of the product of two vector bundles from their ranks and Chern class lists (Lascoux formula).
chProdM procedure
chern.lib
Compute the list of Chern classes of the product of two vector bundles from their Chern class lists (Manivel formula).
chProdMP procedure
chern.lib
Compute the total Chern class of the product of two vector bundles from their ranks and Chern classes.
chProj procedure
chern.lib
Compute the coefficients of the Chern character of the tangent bundle on complex projective space of dimension n.
chSum procedure
chern.lib
Compute Chern class polynomials of the direct sum of two vector bundles given their Chern class lists.
chSymm procedure
chern.lib
Compute rank and Chern classes of the k-th symmetric power of a rank-r vector bundle from its Chern classes.
chSymm2L procedure
chern.lib
Compute Chern classes of the 2nd symmetric power of a rank-r vector bundle from its Chern classes.
chSymm2LP procedure
chern.lib
Compute the total Chern class of the second symmetric power of a rank r vector bundle from its Chern classes.
chWedge procedure
chern.lib
Compute rank and Chern classes of the k-th exterior power of a rank r vector bundle from its Chern classes (optionally only selected indices).
chWedge2L procedure
chern.lib
Compute Chern classes of the second exterior power of a rank r vector bundle from its Chern classes.
chWedge2LP procedure
chern.lib
Compute the total Chern class of the second exterior power of a rank r vector bundle using Lascoux's formula.
cimonom.lib library
3 commands
A library to determine whether the toric ideal of an affine monomial curve is a complete intersection, without explicitly computing a generating set for the ideal.
cisimplicial.lib library
6 commands
A library for determining whether a simplicial toric ideal is a complete intersection, without explicitly computing a generating set of the ideal. The procedures are based on:
Classification of hypersurface singularities topic
examples.doc / Classification of hypersurface singularities
Describes how to classify isolated hypersurface singularities up to right equivalence using classify.lib, based on Arnold’s algorithm and an initial guess from the Milnor algebra’s Hilbert polynomial.
Classification of hypersurface singularities tutorial
tutor.tex / Classification of hypersurface singularities
Describes how to classify isolated hypersurface singularities up to right equivalence using classify from classify.lib, based on Arnold’s algorithm and an initial guess via the Milnor algebra’s Hilbert polynomial.
classify procedure
classify.lib
Computes the normal form and singularity type of a polynomial (Arnold et al. classification) and returns the normal form as a poly.
classify_aeq.lib library
9 commands
A library for classifying simple singularities with respect to A-equivalence in characteristic 0.
classify_init procedure
classify.lib
Initialize (and if needed create) the classify.lib DBM database NFlist and read its VERSION.
classify.lib library
22 commands
A library for classifying isolated hypersurface singularities with respect to right equivalence, based on the determinator of singularities by V.I. Arnold.
classify2.lib library
2 commands
We classify isolated singularities of corank <=2 and modality <=2 with respect to right-equivalence over the complex numbers, according to Arnold's list. We determine the type and, in the case of positive modality, the parameter.
classifyCeq procedure
classifyceq.lib
Classify a hypersurface singularity (Greuel–Kröning) and return a string with its type and Tjurina number.
classifyceq.lib library
1 commands
A library for classifying simple hypersurface singularities with respect to contact equivalence in characteristic \(p > 0\).
classifyci.lib library
2 commands
A library for classifying isolated complete intersection singularities over a base field of characteristic 0, and for computing the Weierstrass semigroup of a space curve.
classifyicis procedure
classifyci.lib
Classify an ideal with two generators as an isolated simple complete intersection singularity (char 0), else return a message.
classifyMapGerms.lib library
8 commands
A library for computing a standard basis of the tangent space at the orbit of an algebraic group action.
classifySimpleMaps procedure
classifyMapGerms.lib
Computes the Rieger normal form of a simple map germ given by a 2-generated ideal in 2 variables; returns (0,0) if not simple.
classifySimpleMaps1 procedure
classifyMapGerms.lib
Classify a 2-generator ideal defining a C^2->C^2 map germ; returns its Rieger simple normal form or ideal(0,0) if not simple.
classifyUnimodalMaps procedure
classifyMapGerms.lib
Classify a 2-generator map germ C^2->C^2 by returning its Rieger normal form ideal, or ideal(0,0) if not unimodal.
classpoly procedure
chern.lib
Builds a polynomial in t with coefficients taken from the entries of l (sum_{i=1..n} l[i]t^i).
classSpaceCurve procedure
classify_aeq.lib
Compute the normal form of a parametrized space curve ideal if it is simple; otherwise return -1.
cld procedure
redcgs.lib
Map ideal to ring @RP, clear denominators of non-empty generators, and map the resulting ideal back to the original basering.
cleanTmp procedure
tropical.lib
Remove temporary tropical.lib LaTeX/PS-related files from /tmp matching tropicalcurve and tropicalnewtonsubdivision.
cleanunit procedure
resbinomial.lib
Clean the units in a monomial.
cleanup procedure
stratify.lib
Join entries of a strata-like list that share the same leading intvec into a single entry, recording alternative open-set data.
cleardenom topic
reference.doc / cleardenom
Describes cleardenom, which clears denominators in coefficients of a polynomial or vector by multiplying by a suitable constant and then dividing by the content.
close topic
reference.doc / close
Closes a link. The example shows starting and shutting down a Singular server via an ssi:tcp link.
closed_points procedure
brnoeth.lib
Return the distinct affine closed points of V(I) as a list of prime ideals (Groebner bases).
closeSSI procedure
ssi.lib
Closes a link to an SSI file.
closetex procedure
latex.lib
Write the closing command for a TeX/LaTeX document into .tex (optionally selecting the TeX dialect).
closureFrac procedure
normal.lib
Compute a fraction representation f = num/den using the injections (phi) along a primeClosure chain; stores result in global list fraction.
closureGenerators procedure
normal.lib
Compute generator preimages along a chain of rings R(1)->...->R(n) in the current Rees algebra basering.
ClosurePower procedure
reesclos.lib
Compute generators in k[x,t] for the integral closures of powers of an ideal from generators of the closure of R[It].
ClosureRees procedure
reesclos.lib
Compute images in k[x,t] of generators of the integral closure of a Rees algebra presentation, returned as numerators plus a universal denominator.
CM_regularity procedure
sheafcoh.lib
Compute the Castelnuovo–Mumford regularity of coker(M) for a graded module with an admissible degree vector.
CMtype procedure
spcurve.lib
Return the Cohen–Macaulay type of an ideal of codimension 2, or -1 if it is not Cohen–Macaulay of codimension 2.
code procedure
crypto.lib
RSA-encodes a lowercase-and-space string and returns the ciphertext as a string.
Codes and the decoding problem topic
math.doc / Codes and the decoding problem
Introduces linear and cyclic codes, key distance notions, and the decoding problem. Describes generic vs. online decoding via solving systems and compares their computational effort.
coDim procedure
classifyMapGerms.lib
Compute the K-vector space dimension of A^r/(M+N+maxideal(bound)A^r), optionally correcting the bound via determinacy.
codim procedure
sing.lib
Compute the vector space dimension of id1/id2 if finite (with containment checks), otherwise return -1 (infinite) or -2 (not contained).
codimension procedure
gfan.lib
Return the codimension of a cone, fan, or polytope.
coDimMap procedure
classifyMapGerms.lib
Compute a bound for the A-determinacy of the map germ defined by an ideal and its (extended) codimension.
codimV procedure
mondromy.lib
Compute the codimension of the subspace generated by V inside the ambient vector space of dimension pcvdim(0,N).
coef topic
reference.doc / coef
Describes the Singular command coef and its syntax for polynomials, ideals, and vectors, including returned matrices and behavior compared to coeffs. Includes examples.
coeff procedure
arnold.lib
Return the coefficient of a given monomial m in a polynomial f.
Coefficient rings topic
general.doc / Coefficient rings
Describes coefficient rings in Singular that are not fields and introduces p-adic integers as limits of finite rings.
coeffmod procedure
aksaka.lib
Reduce the coefficients of a univariate polynomial (in var(1)) modulo a given bigint.
coeffs topic
reference.doc / coeffs
Documents the coeffs command in Singular, including syntax, return types, and examples for extracting coefficients from polynomials, ideals, vectors, modules, and rings.
cofactor procedure
interval.lib
Return the cofactor of an interval matrix A at position (i,j).
coHom procedure
nchomolog.lib
Compute the matrix of the induced homomorphism Hom(R^s,F1) -> Hom(R^s,F2) from a map given by matrix M.
cohomologyHashTable procedure
tateProdCplxNegGrad.lib
Compute a hash table of dimensions dim(H^i(F(c))) for twists c in the intvec range [low, high] for the sheaf coker(M).
cohomologyMatrix procedure
tateProdCplxNegGrad.lib
Computes and exports the cohomology matrix for the sheaf associated to coker(M) over a product of two projective spaces.
cohomologyMatrixFromResolution procedure
tateProdCplxNegGrad.lib
Compute the cohomology matrix (exported as cohomologymat) for a Tate-resolution multigradedcomplex in a given Z^2 degree range.
coker procedure
modules.lib
Compute the cokernel module of a matrix of relations.
collectDiv procedure
reszeta.lib
Identify and match exceptional divisors across the resolution charts and return identification tables.
colrank procedure
control.lib
Compute the column rank of a module/matrix using the Bareiss algorithm.
colred procedure
matrix.lib
Compute the column-reduced form of a matrix, optionally also returning the transformation matrix.
combinat.lib library
3 commands
Some basic combinatorics utilities.
Command line options topic
general.doc / Command line options
Describes the startup syntax for Singular/ESingular and documents all supported command-line options, including debugging, startup control, timing, randomness, ssi links, and Emacs integration.
Commands for user defined types topic
types.doc / Commands for user defined types
Describes how to install procedures so that kernel commands can operate on user-defined types. Includes the list of supported kernel commands and an example.
commRing procedure
dmodloc.lib
Return the basering with any non-commutative relations removed.
Commutative Algebra topic
examples.doc / Commutative Algebra
Index of examples and topics in commutative algebra. Links point to sections on standard computations such as saturation, elimination, resolutions, and decomposition.
Commutative Algebra tutorial
tutor.tex / Commutative Algebra
Table of contents for the Commutative Algebra section, listing the available topics and their links.
comp procedure
redcgs.lib
Compute a list via recursion on n with base case list(0:p), merging unique elements from intermediate results.
comp1 procedure
redcgs.lib
Return list of intvecs obtained by incrementing each component of l by 1 (special-cases size 0/1).
compareMatrix procedure
modules.lib
Compare two Matrix objects for equality; returns 1 if equal, otherwise 0.
compareModules procedure
modules.lib
Compare two modules up to isomorphism; returns 1 if isomorphic, otherwise 0 (also used by M==N).
compareTasks procedure
tasks.lib
Compare two tasks for equality of metadata (id, command, state, linkID), ignoring arguments and results.
compareVectors procedure
modules.lib
Compare two vectors taking into account the relations of their module.
CompDecomp procedure
bimodules.lib
Decompose a polynomial in an enveloping algebra into an ideal whose generators group terms with the same right tensor component.
CompInt procedure
cimonom.lib
Test whether the toric ideal I(d) is a complete intersection (returns 1 if yes, 0 otherwise).
complement procedure
sets.lib
Compute the complement of set S in set M (requires S ⊆ M).
CompleteHomog procedure
chern.lib
Compute complete homogeneous symmetric polynomials up to degree N in terms of elementary symmetric polynomials given in c.
CompleteIntersectionCover procedure
scheme.lib
Constructs a cover/isomorphic scheme whose charts are complete intersections, returning the scheme and mutually inverse morphisms.
completeReduction procedure
ainvar.lib
Compute the complete SAGBI reduction of p w.r.t. dom by repeatedly applying reduction until it stabilizes.
completeReductionnew procedure
ainvar.lib
Compute the complete SAGBI reduction of p with respect to dom by repeatedly applying reduction (optionally with q and/or n).
complexClassify procedure
classify2.lib
Classify a plane curve singularity (modality<=2, corank<=2) and return a normal form equation as a NormalFormEquation object.
complexSingType procedure
classify.lib
Classify a complex singularity given by a polynomial and return its type as a string.
complexType procedure
classify2.lib
Classify a bivariate curve singularity over C (modality, corank <= 2), returning its complex type and modality.
ComplexValue procedure
finitediff.lib
Return the formal complex value (squared modulus) of a polynomial, treating var(1) as the imaginary unit.
CompMeetsE procedure
resolve.lib
Internal predicate: tests whether J meets some nontrivial ideal in the list E (based on deg(std(...)[1]) != 0).
componentEHV procedure
ehv.lib
Compute a P-primary component Q of an ideal I using an EHV-based strategy.
compose procedure
decomp.lib
Compute iterated polynomial composition f1(f2(...(fn))) from polynomials or from an ideal listing the entries.
compregb.lib library
4 commands
Experimental implementation of comprehensive Gröbner systems.
compress procedure
matrix.lib
Delete zero columns (or zero generators/elements) from a matrix/ideal/module/intmat/intvec and return the same type.
computation procedure
schubert.lib
Calls procedure computation from schubert.lib.
Computation of Ext topic
examples.doc / Computation of Ext
Shows how to compute \mathrm{Ext}^n via a resolution, dualization, and homology, with examples and references to homolog.lib. Includes procedures for deformation- and obstruction-related Ext-modules.
Computation of Ext tutorial
tutor.tex / Computation of Ext
This section explains how to compute \mathrm{Ext}^n via resolutions, transposition, syzygies, and quotients, and demonstrates more general procedures from homolog.lib with examples.
compute_ext procedure
deform.lib
Computes Ext^1, Ext^2 and auxiliary matrices/modules (for mod_versal) from a presentation matrix.
computeAfaceOrbits procedure
gitfan.lib
Compute the orbits of afaces in AF under the group action given by the permutation list G.
computeConstant procedure
ellipticcovers.lib
Return the constant coefficient of the Laurent series of a rational function f in the variable x.
computeGromovWitten procedure
ellipticcovers.lib
Compute Gromov–Witten invariants for a Feynman graph over a range of partitions, returning a list with zeros outside the range.
computemcm procedure
resbinomial.lib
Compute the least common multiple of the denominators of the given E-orders (numbers) for one chart.
computeN procedure
reszeta.lib
Compute multiplicities of each divisor in the total transform under a resolution.
computeNeighbourHashes procedure
gitfan.lib
Compute minimal hash vectors for all neighboring cones of the cone identified by lambdaHash.
computeNeighbourMinimalHashes procedure
gitfan.lib
Compute minimal (under a given action) hash representatives of the neighbour cones of a cone identified by lambdaHash.
computeV procedure
reszeta.lib
Compute multiplicities of exceptional divisors in the pullback of a volume form (returns an intvec indexed by divisors).
Computing Groebner and Standard Bases topic
examples.doc / Computing Groebner and Standard Bases
Lists the Groebner/standard basis algorithms available as optional arguments for various ideal and module operations in Singular, and the functions that support this choice.
Computing Groebner and Standard Bases tutorial
tutor.tex / Computing Groebner and Standard Bases
Lists the available Gröbner/standard basis algorithms and the functions that can select among them via an optional string argument.
concat procedure
matrix.lib
Concatenate multiple matrices side-by-side into one matrix with row count equal to the maximum among inputs.
concat_intmat procedure
finvar.lib
Concatenate two integer matrices horizontally (same number of rows).
concatIntmat procedure
tateProdCplxNegGrad.lib
Concatenate two integer matrices horizontally (same row count), returning the combined intmat.
cone kernel type
kernel
In order to use convex objects in Singular, Singular uses gfanlib, a C++ library for convex geometry by Anders N. Jensen. Please check the readme file for installation instructions. The library gfan_lib provides this C++ library and an interface to it.
cone topic
cones.doc / cone
Notes the build requirement for using convex objects in Singular and states that this version does not support cone.
cone topic
types.doc / cone
Introduces convex rational polyhedral cones in Singular via gfanlib, including their basic definitions and the two main representations used in Singular.
coneLink procedure
gfan.lib
Compute the link of a cone around a given vector or matrix input.
Cones topic
cones.doc
coneViaInequalities procedure
gfan.lib
Construct a cone from linear inequalities IEx>=0 and optional equations Ex=0, removing redundancies and using optional assumption flags.
coneViaPoints procedure
gfan.lib
Construct a cone from half-lines given by rows of HL and optionally lines/lineality space given by rows of L, with optional assumptions via flags.
conicWithTangents procedure
tropical.lib
Compute the conic through five points, its tangents and tropicalisations; optionally also for the dual conic.
ConsLevels procedure
grobcov.lib
Constructs the canonical level closures of a constructible set (given as locally closed pieces) and its complement.
constructblwup procedure
resbinomial.lib
Constructs the ideal defining the composed blow-up map to a chart by iterated substitutions according to a blow-up history.
constructH procedure
resbinomial.lib
Constructs the list of exceptional divisor ideals for a chart from a blow-up history vector.
constructlastblwup procedure
resbinomial.lib
Constructs the ideal defining the last blow-up by applying substitutions determined from a blow-up history.
ConstructorMain procedure
JMBTest.lib
Builds and orders intermediate data from G and c, then multiplies/reduces to return a list result.
ContactMatrix procedure
curvepar.lib
Compute the contact matrix of the branches of the plane curve V(I).
containedP procedure
redcgs.lib
Tests whether all generators of Pu reduce to 0 modulo Pv (i.e., Pu is contained in Pv).
containedQ procedure
zeroset.lib
Test whether f is contained in data (membership predicate).
containsAsFace procedure
gfan.lib
Test whether cone d is a face of cone c.
containsInCollection procedure
gfan.lib
Test whether a fan (collection) contains a given cone; returns 1 if contained, 0 otherwise.
containsInSupport procedure
gfan.lib
Test whether a cone or a point (given as intvec/bigintmat) is contained in the support of a cone.
containsPositiveVector procedure
gfan.lib
Test whether a cone contains a vector with only positive entries in its relative interior.
containsRelatively procedure
gfan.lib
Test whether a cone contains a given point in its relative interior (returns 1 if yes, else 0).
content procedure
polylib.lib
Compute the content (gcd of coefficients) of a polynomial or vector.
Conti and Traverso topic
math.doc / Conti and Traverso
Describes the Conti–Traverso algorithm for computing the toric ideal I_A using an extended matrix and elimination. Notes practical performance issues and relevance to integer programming.
continue topic
reference.doc / continue
Describes the continue; statement, which skips the remainder of the innermost loop body and continues execution at the start of the loop block.
contract topic
reference.doc / contract
Describes the contract command, which contracts elements of one ideal by elements of another and returns a matrix. Includes the monomial definition of contraction and an example.
contraHom procedure
nchomolog.lib
Compute the matrix of the induced contravariant map Hom(F2,R^s) -> Hom(F1,R^s) from a matrix M: F1->F2.
contributionBundle procedure
schubert.lib
Compute the contribution bundle factor for a fixed-point component (graph) in a moduli space of stable maps.
control procedure
control.lib
Compute a list of controllability-related properties of the system/behavior represented by a module (system matrix) R.
Control structures topic
reference.doc / Control structures
Overview of Singular control structures and the block syntax used in procedures and conditional/loop statements.
control_Matrix procedure
equising.lib
Compute control matrices (multiplicities, branch counts, tangent splitting, degree bounds) from a multsequence/hnexpansion list.
control.lib library
17 commands
Algebraic analysis tools for System and Control Theory.
controlDim procedure
control.lib
Compute a list of controllability-related properties for a behavior given by a full-row-rank system matrix/module R using dimension calculations.
controlExample procedure
control.lib
Load a predefined control example by name (or list examples with "show"), initializing a ring (and predefined module R).
converseWeyl procedure
deRham.lib
Constructs and returns a noncommutative algebra (via nc_algebra) from the current basering with a specific commutation matrix.
convertdata procedure
resbinomial.lib
Reconstruct an ideal from coefficient list C and exponent list L (e.g. output of data), using n and a variable flag list.
convertLeftToRightFraction procedure
olga.lib
Convert a given fraction to a right fraction representation for the specified localization.
convertRightToLeftFraction procedure
olga.lib
Convert a right fraction representation to a left fraction representation for a given localization.
convexHull procedure
gfan.lib
Computes the convex hull of two cones/polytopes, returning a cone for cone+cone and a polytope otherwise.
convexIntersection procedure
gfan.lib
Compute the convex intersection of two cones/polytopes or of a list of cones/polytopes.
convloc procedure
dmod.lib
Convert a ringlist by replacing all 'p' orderings with corresponding 's' orderings (e.g., dp -> ds).
convPoints procedure
decodegb.lib
Convert each element of a list using list2vec and return the modified list.
Cooper philosophy topic
math.doc / Cooper philosophy
Overview of Cooper’s approach for decoding cyclic codes via CRHT syndrome ideals and general error-locator polynomials, and an adaptation for computing minimum distance.
coords procedure
rootsmr.lib
Compute the coordinate list of f mod I with respect to the ordered monomial basis B of R/I.
copyTask procedure
tasks.lib
Create and return an independent copy of a task (cannot copy a task whose state is 'started').
corank procedure
classify.lib
Compute the corank of the Hessian matrix of a polynomial f.
cornerMonomials procedure
pointid.lib
Compute the corner monomials (leading monomials of a compatible ideal) of a monomial order ideal N.
countPoints procedure
crypto.lib
Counts points on the elliptic curve y^2=x^3+ax+b over Z/N using a trivial Jacobi-sum approach.
CoverMult procedure
tropicalEllipticCovers.lib
Compute the cover multiplicities (one per cover) for an elliptic curve cover with source graph G, for a given vertex ordering.
coverTuple procedure
tropicalEllipticCovers.lib
Compute, for each elliptic cover encoded by (G,aa,O,t[,l]), a list of edge-tuples (a_k,N_k,D_k) from propagator data.
cProj procedure
chern.lib
Compute the positive-degree coefficients of the total Chern class of the tangent bundle on complex projective space of dimension n.
crcgs procedure
redcgs.lib
Compute the Canonical Reduced CGS (CRCGS) of an ideal, optionally restricting parameters by given null/non-null conditions.
create_ring procedure
standard.lib
Construct a ring from the four components of ring_list(R), accepting list/int/string shortcuts and optional quotient ideal and "no_minpoly".
create_ring topic
reference.doc / create_ring
Reference entry for the create_ring topic in Singular.
create_sing_dbm procedure
makedbm.lib
Create/populate a DBM database link "NFlist" with predefined entries (e.g., A[k], D[k], E[6k], ...) and their invariants.
create_singularity_dbm procedure
SingularityDBM.lib
Creates the DBM database files Singularitylist.dir and Singularitylist.pag for Arnol'd singularities up to corank 2.
createBO procedure
resolve.lib
Create a basic object (BO) list from an ideal J with optional ideals W and exceptional divisors list E.
createGradedRingHomomorphism procedure
multigrading.lib
Create a multigraded ring homomorphism from a ring map (via generator images) and a grading-group homomorphism.
createGroup procedure
multigrading.lib
Create the group (S+L)/L from generator matrix S and relation matrix L.
createlist procedure
resbinomial.lib
Builds a list of 2-element sublists pairing L1[i] with L2[i], dropping entries where L1[i] is 0.
createMultigradedComplex procedure
tateProdCplxNegGrad.lib
Convert a list (shift + multigraded differentials) into a multigradedcomplex object.
createQCfilter procedure
finitediff.lib
Create a Perl filter script qepcadfilter.pl in the current directory, removing any existing file first.
createQuotientGroup procedure
multigrading.lib
Create the quotient group (I+L)/L, where I is the identity matrix of size nrows(L).
createTask procedure
tasks.lib
Create a task for the given command and argument list in state 'created'.
createTorsionFreeGroup procedure
multigrading.lib
Create the torsion-free (free) subgroup generated by S inside the free abelian group Z^n with n = nrows(S).
Crep procedure
grobcov.lib
Compute the canonical C-representation [P,Q] (radical ideals) of the locally closed set V(N) V(M).
cring kernel type
kernel
Variables of type cring represent the ring of coefficients (see number)
cring topic
types.doc / cring
Documents the Singular type cring, which represents the ring of coefficients, and links to its declarations, expressions, operations, and related functions.
cring declarations topic
types.doc / cring declarations
Describes the syntax and purpose of cring declarations in Singular, including default behavior and a short example.
cring expressions topic
types.doc / cring expressions
Defines cring expressions in Singular and lists the valid forms, with a short example.
cring operations topic
types.doc / cring operations
Documents the division operator for creating a residue class ring in a coefficient ring context.
cring related functions topic
types.doc / cring related functions
Overview of functions related to the type cring, including cross products and numeric/rational function variants.
criterion procedure
redcgs.lib
Tests a pair (i,j) against a criterion using lcm of leading monomials and a list of excluded pairs, returning 0/1.
Critical points topic
examples.doc / Critical points
Explains how to compute the number of critical and singular points of a polynomial using a different monomial ordering, and illustrates the method with an example in Singular.
Critical points tutorial
tutor.tex / Critical points
Explains how to compute the number of critical and singular points of a polynomial in affine space by switching to ordering dp and working in K[x_1,\ldots,x_n]. Includes an example in Singular using imap, jacob, and vdim.
crossprod topic
reference.doc / crossprod
Documents the Singular function crossprod, which computes the cross product of several objects of type cring.
crypto.lib library
66 commands
The library contains procedures for computing discrete logarithms, performing primality tests, and factorization (including methods using elliptic curves).
crystallographicGroupC2MM procedure
fpalgebras.lib
Create the Letterplace ring for the crystallographic group C2MM and export ideal I with the defining relations.
crystallographicGroupCM procedure
fpalgebras.lib
Create a letterplace ring for a crystallographic CM group, exporting ideal I with the defining relations.
crystallographicGroupP1 procedure
fpalgebras.lib
Create the Letterplace ring for the crystallographic group p1 and export ideal I with its defining relations.
crystallographicGroupP2 procedure
fpalgebras.lib
Constructs the Letterplace ring for the crystallographic p2 group and exports the defining relations ideal I.
crystallographicGroupP2GG procedure
fpalgebras.lib
Construct the Letterplace ring for the crystallographic group p2gg with relations exported as ideal I.
crystallographicGroupP2MM procedure
fpalgebras.lib
Create the Letterplace ring for the crystallographic group p2mm with an exported ideal I of defining relations.
crystallographicGroupP3 procedure
fpalgebras.lib
Construct the Letterplace ring for the crystallographic p3 group; exports ideal I of defining relations.
crystallographicGroupP31M procedure
fpalgebras.lib
Constructs a Letterplace free algebra ring for the crystallographic group p31m and exports the defining relations ideal I.
crystallographicGroupP3M1 procedure
fpalgebras.lib
Create the Letterplace ring for the crystallographic group p3m1 and export the defining relations as ideal I.
crystallographicGroupP4 procedure
fpalgebras.lib
Create a Letterplace free algebra ring for the crystallographic p4 group; exports ideal I with defining relations.
crystallographicGroupP4GM procedure
fpalgebras.lib
Constructs the Letterplace ring for the crystallographic group p4gm and exports the defining relations ideal I.
crystallographicGroupP4MM procedure
fpalgebras.lib
Constructs the Letterplace ring for the crystallographic group p4mm and exports the ideal I of defining relations.
crystallographicGroupP6 procedure
fpalgebras.lib
Constructs the Letterplace ring for the crystallographic p6 group (relations exported as ideal I).
crystallographicGroupP6MM procedure
fpalgebras.lib
Create the Letterplace ring for the crystallographic p6mm group; exports ideal I of defining relations.
crystallographicGroupPG procedure
fpalgebras.lib
Create a Letterplace ring for the crystallographic group pg with presentation relations exported as ideal I.
crystallographicGroupPM procedure
fpalgebras.lib
Create a letterplace/free-algebra ring for the crystallographic pm group presentation and export the relation ideal I.
CSMA procedure
chern.lib
Compute the Chern–Schwartz–MacPherson classes of the projective variety defined by a homogeneous ideal.
ctlppbasis procedure
redcgs.lib
Builds and returns a list of assignment strings and a basis-like object derived from tree(lab, L).
ctrecwrite procedure
redcgs.lib
Recursively traverses a tree structure from L and writes generated assignment strings to a write() target.
cup procedure
homolog.lib
Compute (symmetrized) cup-product Ext^1(M',M') x Ext^1(M',M') -> Ext^2(M',M') for M' = coker(matrix(M)).
cupproduct procedure
homolog.lib
Compute the cup-product map Ext^p(M',N') x Ext^q(N',P') -> Ext^(p+q)(M',P') and return its matrix (or bases list).
curveColengthDerivations procedure
curveInv.lib
Compute the colength of derivations of R/I (summing contributions over branches; optional precomputed normalization list).
curveConductorMult procedure
curveInv.lib
Compute the multiplicity of the conductor of a curve ideal, optionally reusing a precomputed normalization.
curveDeligneNumber procedure
curveInv.lib
Compute the Deligne number e = 3delta - m of the curve R/I, optionally reusing precomputed normalization data.
curveDeltaInv procedure
curveInv.lib
Compute the delta invariant of the 1-dimensional ring R/I; returns -1 if the delta invariant is infinite.
curveInv.lib library
4 commands
This library provides a collection of procedures for computing invariants of curve singularities. The invariants that can be computed are:
curvepar.lib library
10 commands
Library curvepar.lib provides procedures related to the resolution of singularities of space curves and the computation of associated invariants such as parametrizations and the Weierstrass semigroup.
CurveParam procedure
curvepar.lib
Compute parametrizations of the algebraic branches of a curve ideal at the singular point 0.
CurveRes procedure
curvepar.lib
Compute an embedded resolution of the curve V(I), returning a new ring containing the chart list Resolve.
Customization of the Emacs interface topic
general.doc / Customization of the Emacs interface
Describes how to use Emacs customization to configure the SINGULAR Emacs interface, including where settings are stored and which customization groups are available.
customstd.lib library
2 commands
This library provides customized standard basis algorithms to improve the performance of other algorithms.
cycleLength procedure
polymake.lib
Compute (as a string) the cycle length of the corresponding cycle in the dual tropical curve for a polygon boundary around an interior point.
cyclePoints procedure
polymake.lib
Return boundary lattice points (clockwise) of the convex polygon spanned by points connected to points[pt] via triangulation.
cyclic procedure
polylib.lib
Constructs the ideal of cyclic n-roots in the first n variables of the current basering.
Cyclic roots topic
examples.doc / Cyclic roots
Defines a procedure that constructs the cyclic roots ideal over the current basering and computes a standard basis along with basic numerical invariants.
Cyclic roots tutorial
tutor.tex / Cyclic roots
Defines a procedure to generate the ideal of cyclic roots over the current basering and computes a standard basis together with basic numerical invariants.
cyclotomic procedure
finvar.lib
Return the i-th cyclotomic polynomial as a poly in the first variable of the current ring.

D

EntryDescription
darst procedure
hyperel.lib
Compute k-term local expansion coefficients of y around point P on the hyperelliptic curve y^2+h(x)y=f(x).
data procedure
resbinomial.lib
Constructs lists of coefficients and exponent vectors for the first k generators of an ideal.
Data types manual
types.doc
This chapter describes all Singular data types in alphabetical order, including declaration syntax and how to build expressions of each type.
Data types topic
pyobject.doc
Data types BR_PLURAL_BR topic
plural.doc / Data types BR_PLURAL_BR
Explains all data types of Plural in alphabetical order, including declaration syntax and how to build expressions. Defines the term "expression list" and links to general declaration syntax.
datetime procedure
standard.lib
Return the current date and time as a string.
datetime topic
reference.doc / datetime
Reference entry for the Singular keyword or function datetime. This section currently contains only the heading.
DBM links topic
types.doc / DBM links
DBM links provide access to data stored in a database as key/value string pairs, supporting reading, writing, deletion, and scanning of entries.
dbm_getnext procedure
makedbm.lib
Reads the next key from a DBM link and returns it together with its associated value.
dbm_getnext procedure
SingularityDBM.lib
Read the next entry from a DBM database referenced by l.
dbm_read procedure
makedbm.lib
Read and print all key/value entries from a DBM database link.
dbm_read procedure
SingularityDBM.lib
Read all entries from a DBM database referenced by l.
dbprint topic
reference.doc / dbprint
Documents the dbprint command, which conditionally applies print to expressions based on a debug flag or on printlevel and voice. Includes syntax variants, notes, and an example.
debug_log procedure
classify.lib
Print trace/debug messages when the given level is enabled by the global @DeBug setting.
Debugging tools topic
general.doc / Debugging tools
Overview of debugging aids in Singular. Includes hints for escaping from a stuck user-defined procedure and links to related debugging features.
dec1var procedure
mprimdec.lib
Compute the minimal primary decomposition of a zero-dimensional submodule in a 1-variable ring, optionally skipping components containing a given module.
decide procedure
redcgs.lib
Compute and reduce an S-polynomial of g1,g2 w.r.t. N1,N2 and decide a resulting ideal based on reductions and nonnull tests.
decideF procedure
redcgs.lib
Applies decide to each generator of F, combines the results, and removes repeated generators.
decimal procedure
crypto.lib
Convert a hexadecimal number given as a string to its corresponding decimal value (as a bigint).
Declaration of objects of a user defined type topic
types.doc / Declaration of objects of a user defined type
Shows how to declare and copy objects of a user-defined type in Singular, including a note about ring requirements when no polynomial field is assigned.
decode procedure
decodegb.lib
Decode a received word using the code's check matrix via a quadratic-equation based method, returning the closest codeword.
decodeCode procedure
decodegb.lib
Decode random received words for a code given by its parity check matrix, for a specified number of trials (optionally fixing correction capacity).
decodegb.lib library
22 commands
This library generates several polynomial systems used for decoding cyclic codes and for computing their minimum distance. In particular, it follows Cooper's philosophy and uses generalized Newton identities. The original method based on quadratic equations is
decodeRandom procedure
decodegb.lib
Process random linear codes and attempt decoding of random received words, optionally using a given correction capacity.
decodeRandomFL procedure
decodegb.lib
Generate random linear codes and attempt FL decoding for multiple random received words, printing intermediate Gröbner bases.
decodeString procedure
crypto.lib
RSA-decodes a ciphertext bigint given as a string and returns the decoded plaintext as a string.
decodeSV procedure
brnoeth.lib
Decode a received word using the basic Skorobogatov–Vladut algorithm with prepSV data, returning a codeword or a 0-matrix if impossible.
Decoding codes with Groebner bases topic
math.doc / Decoding codes with Groebner bases
Introduces key notions and results for decoding linear (especially cyclic) codes and computing their minimum distance, with pointers to relevant Singular libraries and references.
Decoding method based on quadratic equations topic
math.doc / Decoding method based on quadratic equations
Defines unknown syndromes and an MDS basis, constructs ideals from known syndromes, and states a theorem linking solutions of these ideals to unique decoding up to half the minimum distance.
decoef procedure
findifs.lib
Decompose a polynomial into two summands according to whether coefficients involve the given number/parameter.
decomp.lib library
11 commands
This library implements functional univariate and multivariate decomposition of multivariate polynomials.
decompEHV procedure
ehv.lib
Compute the associated primes of a zero-dimensional radical ideal using the EHV decomposition method.
decompmonom procedure
decomp.lib
Compute a maximal decomposition f=g∘h with g univariate and h a single monomial; returns ideal(g,h) or f if none.
decompmultivmonic procedure
decomp.lib
Tries to decompose a monic multivariate polynomial f as f = g∘h with deg(g)=r; returns ideal(g,h) or f if not decomposable.
decompopts procedure
decomp.lib
Display current decomp.lib global option settings; optionally reset user-defined options to defaults.
decompose procedure
decomp.lib
Decompose a polynomial if it is composite; optionally compute a full decomposition when called with flag 1.
decomposeVecField procedure
VecField.lib
Decomposes a VecField (or list of VecFields) into semisimple and nilpotent components.
decompunivmonic procedure
decomp.lib
Try to decompose a univariate monic polynomial f as f=g∘h with deg(g)=r; returns ideal(g,h) or f if impossible.
decstr2ratstr procedure
surfex.lib
Convert a decimal number given as a string (<=30 digits) to a rational-number string with 14-digit precision.
def kernel type
kernel
generic value (any type)
def topic
types.doc / def
Describes how untyped objects defined with def inherit their type from the first assignment. Notes special behavior for rings, which are referenced rather than copied.
def declarations topic
types.doc / def declarations
Describes the syntax and purpose of def declarations in Singular, including notes on usage and an example.
defined topic
reference.doc / defined
Returns a non-zero value (TRUE) if a user-defined object with the given name exists, and 0 (FALSE) otherwise. The non-zero value indicates the level where the object is defined.
defineHomogeneous procedure
multigrading.lib
Compute a matrix to append to a grading group matrix so that a polynomial becomes homogeneous.
definingBinomialIdeal procedure
normaliz.lib
Constructs a toric ring from leading monomials of I and exports the defining binomial ideal J into that ring.
Definition of a user defined type topic
types.doc / Definition of a user defined type
Describes the syntax and purpose of newstruct for defining user-defined types in Singular, including available operations and examples.
defl procedure
numerDecom.lib
Constructs a deflation ring for an ideal I of deflation order d; the deflation ideal is available in the returned ring as DI.
deflateHMS procedure
deflation.lib
Deflation algorithm (Hauenstein–Mourrain–Szanto) returning a ring whose exported ideal AUGF is the augmented system.
deflateHW1 procedure
deflation.lib
Performs one deflation iteration by augmenting F with determinants of selected Jacobian submatrices.
deflateHW2 procedure
deflation.lib
Constructs an augmented (deflated) polynomial system and returns the ring containing the exported ideal AUGF.
deflateLVZ procedure
deflation.lib
Construct an augmented (deflated) polynomial system in an extended ring by adding lambda, B, and h variables (LVZ method).
deflation.lib library
4 commands
This library provides several deflation methods for polynomial systems.
deform procedure
sing.lib
Compute a matrix whose columns form a k-basis of infinitesimal deformations of an ideal or polynomial.
deform.lib library
12 commands
## Miniversal Deformation of Singularities and Modules
Deformations topic
examples.doc / Deformations
Describes Singular libraries and procedures for computing miniversal (semiuniversal) deformations of isolated singularities, and provides example computations.
Deformations tutorial
tutor.tex / Deformations
Describes Singular libraries and procedures for computing miniversal (semiuniversal) deformations of isolated singularities, and provides example computations in deform.lib and sing.lib.
defring procedure
ring.lib
Create and return a ring with given characteristic, ordering, and n variable names derived from a base string.
defringp procedure
ring.lib
Create and return a polynomial ring with characteristic p (default 32003), ordering dp, and n variables.
defrings procedure
ring.lib
Create a ring with characteristic p (default 32003), ds ordering, and n variables (x,y,z,... or x(1..n)).
Deg procedure
modules.lib
Compute degree like deg(), using the ring's custom grading set by SetDeg if present.
deg topic
reference.doc / deg
Returns the maximal (weighted) degree of the terms of a polynomial or a vector. By definition, deg(0) is -1.
degBound topic
reference.doc / degBound
Defines a degree limit that can stop certain standard basis computations. The interpretation of “degree” depends on the ring ordering and the command used.
Degree procedure
modules.lib
Return a list of the degrees (grading) of a graded free module's generators.
degree topic
reference.doc / degree
Describes degree, which prints the (Krull) dimension and multiplicity computed from leading monomials of an ideal or module. Includes syntax, type, purpose, and an example.
degreeDivisor procedure
divisors.lib
Compute the degree of a divisor as mult(std(A.num)) - mult(std(A.den)).
degreeFormalDivisor procedure
divisors.lib
Compute the degree of a formal divisor as the weighted sum of the degrees of its summands.
degreepart procedure
presolve.lib
Split generators of an ideal/module into those with (weighted) total degree in [d1,d2] and the remaining ones.
DegreePure procedure
numerAlg.lib
Compute the degree of the pure i-dimensional component of the variety defined by an ideal.
Degrees procedure
modules.lib
Return the grading (degrees) list of a graded module.
delete topic
reference.doc / delete
Describes the delete command, which removes elements at specified indices from lists, intvecs, ideals, or modules without changing the input.
deletebrotherscontaining procedure
redcgs.lib
Deletes sibling vertices under the given vertex when their associated ideals are detected as containing another child's ideal.
deleteGenerator procedure
dmodapp.lib
Delete the k-th generator from an ideal or module and return the modified object.
deleteSublist procedure
general.lib
Delete elements at the positions given by an intvec from a list and return the resulting list.
deleteUnluckyPrimes procedure
modstd.lib
Remove unlucky primes/results from paired lists (and optional aligned list) and return filtered lists plus the prevalent leading ideal.
deleteverts procedure
redcgs.lib
Delete a vertex (given by its label intvec) from the global structure @L, recursively deleting its children.
delfromideal procedure
redcgs.lib
Return ideal F with the i-th generator removed (1-based); i=0 returns F unchanged.
delidfromid procedure
redcgs.lib
Return J with all generators that also occur in I removed.
delintvec procedure
redcgs.lib
Return a copy of an intvec with the i-th entry removed.
delta procedure
hnoether.lib
Compute the delta invariant of an isolated plane curve singularity at 0 from a polynomial or Hamburger-Noether expansion data.
Delta procedure
resolve.lib
Compute the Delta-operator applied to the ideal J of a basic object BO (Bravo–Encinas–Villamayor notation).
DeltaList procedure
resolve.lib
Iteratively applies the Delta-operator to the ideal J in a basic object and returns the list of successive Delta^i(J).
deltaLoc procedure
normal.lib
Compute sums of local delta invariants, Tjurina numbers, and branch counts of f at singular points described by a prime ideal J.
deltaNNB procedure
arnold.lib
Return [d,n] with Delta invariant d and number of branches n for a germ right equivalent to one with nondegenerate Newton boundary.
Demo mode topic
general.doc / Demo mode
Describes how to run interactive Singular demonstrations using the Emacs interface, including starting, stepping through, exiting, and customization.
denominator topic
reference.doc / denominator
Returns the denominator of a number. The result has type number.
depth procedure
homolog.lib
Compute the depth of coker(M) with respect to the maximal ideal of the basering or a given ideal I.
Depth topic
examples.doc / Depth
Compute the depth of the module of Kähler differentials D_k(R) for a variety defined by (m+1)-minors of a generic symmetric (n\times n) matrix, using a resolution and the Auslander–Buchsbaum formula.
Depth tutorial
tutor.tex / Depth
Computes the depth of the module of Kähler differentials D_k(R) for a variety defined by (m+1)-minors of a generic symmetric (n\times n) matrix, via a minimal resolution and the Auslander–Buchsbaum formula.
depthIdeal procedure
mregular.lib
Compute the depth of S/i for a proper homogeneous ideal i in the current basering (returns -1 on non-homogeneous or i=(1)).
deRham.lib library
5 commands
A library for computing the de Rham cohomology of complements of complex affine varieties.
deRhamCohom procedure
dmodapp.lib
Compute a basis of the n-th de Rham cohomology group of the complement of the hypersurface f=0.
deRhamCohomIdeal procedure
dmodapp.lib
Compute an ideal whose entries represent a basis of the n-th de Rham cohomology of the complement of a hypersurface (under assumptions on I).
deRhamCohomology procedure
deRham.lib
Compute the de Rham cohomology groups of the complement of the affine variety defined by polynomials in L.
derivate procedure
ainvar.lib
Applies the vector field defined by an nx1 matrix to a poly/vector/ideal componentwise, returning the same type.
derivation type
difform.lib
Type for derivations, i.e. maps from the degree-1 part of the differential algebra to the basering.
derivation_example_1 procedure
difform.lib
Sets up a differential algebra example ring and exports a sample derivation (phi) and the ring to Top.
derivation_example_2 procedure
difform.lib
Example procedure that sets up a differential algebra ring and exports a derivation phi (and the ring) to Top.
derivation_example_3 procedure
difform.lib
Sets up a diffAlgebra ring and exports three example derivations (phi_1, phi_2, phi_3) to Top.
derivationAdd procedure
difform.lib
Compute the sum of two derivations componentwise (assuming matching sorted structure lists).
derivationCheckList procedure
difform.lib
Validate that a list has the correct structure to define a derivation; throws an error if not.
derivationConstructor procedure
difform.lib
Constructor for derivations; dispatches to derivationFromList or derivationFromPoly depending on the input type.
derivationContraction procedure
difform.lib
Applies the contraction map i_phi of a derivation phi to a differential form df.
derivationContractionGen procedure
difform.lib
Compute the contraction i_phi of a differential algebra generator d_gen with respect to a derivation phi.
derivationEqu procedure
difform.lib
Test whether two derivations are equal by comparing generator images componentwise (returns 1 if equal, 0 otherwise).
derivationEval procedure
difform.lib
Evaluates a derivation on a degree-1 (or -1) differential form and returns the resulting polynomial.
derivationFromList procedure
difform.lib
Construct a derivation from a validated structure list of generators and their images.
derivationFromPoly procedure
difform.lib
Construct a derivation sending every degree-1 generator of the differential algebra to the given polynomial.
derivationLie procedure
difform.lib
Compute the Lie-derivative L_phi of a differential form df (as i_phi∘d + d∘i_phi).
derivationMul procedure
difform.lib
Compute the componentwise product of two derivations.
derivationNeg procedure
difform.lib
Return the negation of a given derivation (unary minus).
derivationNeq procedure
difform.lib
Test whether two derivations (or a derivation and a polynomial) are not equal; returns 0 if equal, 1 otherwise.
derivationPrint procedure
difform.lib
Prints the given derivation using ls-ordering on the generators.
derivationSub procedure
difform.lib
Compute the componentwise difference of derivations (and supports subtracting a polynomial from a derivation).
derivationToString procedure
difform.lib
Convert a derivation to a string showing images of degree-1 generators, optionally sorted by a given generator monomial ordering.
derlogV procedure
KVequiv.lib
Compute a matrix whose columns generate derlog(V(iV)), the module of vector fields tangent to the variety defined by iV.
desingularization procedure
GND.lib
Compute a General Néron Desingularization (per arXiv:1508.05511) from data in the ambient ring, with optional debug/injective flags.
det topic
reference.doc / det
Describes the det command, which returns the determinant of a square matrix. The algorithm depends on the input type or an optional second argument.
det_B procedure
linalg.lib
Compute the determinant of a matrix using the busadj algorithm.
detadj procedure
mondromy.lib
Compute determinant and (if nonzero) adjoint matrix of a square matrix.
determinacy procedure
realclassify.lib
Returns an upper bound for the determinacy of a polynomial, optionally using a provided Milnor number.
determinacyBound procedure
arnold.lib
Determine an upper bound for the determinacy of a polynomial/germ (or return the stored determinacy for a NormalForm).
determinant procedure
interval.lib
Compute the determinant of an interval matrix using standard interval arithmetic.
determineArnoldType procedure
arnold.lib
Determine the Arnold classification of N.phi.sourcegerm (for modality<=2) and store it in N.ArnoldType.
determinecenter procedure
resbinomial.lib
Computes the next blowing-up center and returns lists describing the center and related resolution invariants.
determineExceptionalHypersurface procedure
arnold.lib
Compute the exceptional hypersurface of N.normalForm and store it in N.exceptionalHypersurface.
determineGermWithSemiNormalizedNNB procedure
arnold.lib
Update a NormalForm by determining a stable equivalent germ with (semi-)normalized nondegenerate Newton boundary, if possible.
determineNormalForm procedure
arnold.lib
Compute a normal form and invariants for a polynomial germ with nondegenerate Newton boundary, returning a NormalForm record.
determineNormalFormEquation procedure
arnold.lib
Compute and store a normal form equation (and parameter-defining extensions) for the polynomial represented by a NormalForm.
detropicalise procedure
tropical.lib
Compute the detropicalisation of a (list of) tropical-style linear polynomial(s), ignoring constant parts.
develop procedure
hnoether.lib
Compute the Hamburger–Noether expansion of an (as power series) irreducible bivariate polynomial, optionally controlling the last line length.
Development-model.md doc
Development-model.md
Describes the git-based development workflow for the Singular Sources repository, including the use of personal forks and how pull requests are handled.
Di Biase and Urbanke topic
math.doc / Di Biase and Urbanke
Description of the Di Biase and Urbanke algorithm for computing a generating set of a toric ideal, including a key saturation observation and the successive “variable flip” procedure.
diag procedure
matrix.lib
Construct a diagonal matrix either as p times the n×n unit matrix or from all entries of a matrix in row order.
diag_test procedure
linalg.lib
Test whether a constant square matrix is diagonalizable over the ground field (returns 1/0 or -1 if undecidable/invalid input).
diagInvariants procedure
normaliz.lib
Compute the invariant ring of a diagonally acting torus times finite abelian group, returning an ideal of monomial generators.
diagMatrix procedure
interval.lib
Create an n×n interval matrix with all diagonal entries set to the given interval.
diagonalizeMatrixSimul procedure
VecField.lib
Compute a transformation matrix U that simultaneously diagonalizes all matrices in a list.
diagonalizeVecField procedure
VecField.lib
Simultaneously diagonalize a list of VecFields (assumes they are simultaneously diagonalizable).
diagonalizeVecFieldLin procedure
VecField.lib
Change coordinates so the linear parts of a list of VecFields become simultaneously diagonal in the same coordinates.
DifConsLCSets procedure
grobcov.lib
Compute a list of locally closed sets representing the set difference A B from canonical constructible-set forms.
diff topic
reference.doc / diff
Describes diff, which computes partial derivatives of polynomial objects, applies ideal-based differential operators, and differentiates rational functions over transcendental extensions.
diffAlgebra procedure
difform.lib
Provides the differential algebra structure and the differential forms dx_1,...,dx_n.
diffAlgebra_example_1 procedure
difform.lib
Example procedure that sets up a ring, initializes diffAlgebra(), and exports objects to Top.
diffAlgebra_example_2 procedure
difform.lib
Example procedure that creates a ring, initializes diffAlgebra(), and exports the result to Top.
diffAlgebra_example_3 procedure
difform.lib
Example procedure that sets up a ring, initializes diffAlgebra, and exports the result to Top.
diffAlgebra_example_4 procedure
difform.lib
Example procedure that constructs a quotient ring and initializes the differential algebra setup, exporting data to Top.
diffAlgebraChangeOrd procedure
difform.lib
Return the differential algebra (as a new ring) with generator and/or ring-variable monomial orderings changed as specified.
diffAlgebraGens procedure
difform.lib
Constructs and exports the differential form generators dx_1,...,dx_n in the current differential algebra ring.
diffAlgebraListGen procedure
difform.lib
Return generators of the differential algebra (or of a specified graded degree) as a list, sorted by the differential algebra monomial ordering.
diffAlgebraStructure procedure
difform.lib
Return the structure data of the differential algebra constructed from the current basering.
diffAlgebraUnivDerIdeal procedure
difform.lib
Compute the image of an ideal under the universal derivation in the current differential algebra basering.
diffAntiCommutative procedure
tateProdCplxNegGrad.lib
Differentiate ideal J with respect to ideal I in an anticommutative setting, correcting signs, and return the derivative matrix.
difflpp procedure
redcgs.lib
Test whether consecutive elements of an ideal differ (returns 1 if no adjacent duplicates, else 0).
difform type
difform.lib
Type for differential forms; stores a polynomial in the differential algebra as an attribute.
difform_example_1 procedure
difform.lib
Example procedure in difform.lib that sets up a ring, initializes the differential algebra, creates a difform, and exports objects to Top.
difform_example_2 procedure
difform.lib
Internal example procedure in difform.lib that sets up a ring, initializes diffAlgebra, constructs a difform, and exports objects.
difform.lib library
54 commands
A library for computations in the differential algebra over a (quotient) ring.
difformAdd procedure
difform.lib
Add two differential forms and return their sum as a differential form.
difformCoef procedure
difform.lib
Decompose a difform into a list of (generator difform, polynomial coefficient) pairs.
difformDeg procedure
difform.lib
Return the degree of a differential form relative to the highest generator; returns -1 if the form is 0.
difformDiff procedure
difform.lib
Applies the differential (universal derivation) to a differential form or polynomial, yielding a difform.
difformDiv procedure
difform.lib
Divide two differential forms and return the quotient as a differential form.
difformEqu procedure
difform.lib
Compare two difform objects for equality; returns 1 if equal, 0 otherwise.
difformFromPoly procedure
difform.lib
Constructs a degree-0 differential form by lifting a polynomial into the current differential algebra.
difformGenToString procedure
difform.lib
Convert a difform to a string for generator printing, replacing differential algebra variable prefix 'D' by 'd' (coefficients unsorted).
difformHomogDecomp procedure
difform.lib
Decompose a differential form into a list of its homogeneous degree components.
difformIsBigger procedure
difform.lib
Compare two difforms and return 1 if df is bigger than dg w.r.t. the current or a specified monomial ordering, else 0.
difformIsGen procedure
difform.lib
Test whether a difform is a generator of the differential algebra (returns 1 if yes, else 0).
difformIsHomog procedure
difform.lib
Test whether a difform is homogeneous; returns 1 if homogeneous (including 0), 0 otherwise.
difformIsHomogDeg procedure
difform.lib
Test whether a difform is homogeneous of a specified degree p (with 0 treated as degree -1).
difformIsSmaller procedure
difform.lib
Compare two difforms by monomial order (optionally after changing differential algebra/ring variable ordering); returns 1 if df<dg else 0.
difformListCont procedure
difform.lib
Test whether a given difform occurs in a list (returns 1 if found, 0 otherwise).
difformListSort procedure
difform.lib
Sorts lists of differential forms and special lists of lists.
difformMul procedure
difform.lib
Multiply two differential forms and return their product as a differential form.
difformNeg procedure
difform.lib
Return the negation of a differential form.
difformNeq procedure
difform.lib
Negated comparison for difforms: returns 0 if equal, 1 otherwise.
difformPrint procedure
difform.lib
Prints a differential form using difformToString with ds-ordering on the generators.
difformSub procedure
difform.lib
Compute the difference of two differential forms (df - dg).
difformToString procedure
difform.lib
Convert a differential form to a string, optionally sorting terms by a specified ordering on the generators.
difformUnivDer procedure
difform.lib
Return the differential form given by the universal derivation applied to a polynomial.
diffRat procedure
dmodloc.lib
Differentiate the rational function v[1]/v[2] with respect to variable j, returning the result as a vector.
difftocanspec procedure
redcgs.lib
Computes a labeled refinement list from minimal associated primes of N and of L[i]+M (in ring @P), or returns an empty list.
difpoly2tex procedure
findifs.lib
Return a LaTeX string presenting a difference scheme (from decoef output) in nodal form, with optional parameter and auxiliary-part control.
dim topic
reference.doc / dim
Describes dim, which computes the (Krull) dimension of an ideal or module, and related variants including quotient and cohomological dimension.
dim BR_LETTERPLACE_BR topic
letterplace.doc / dim BR_LETTERPLACE_BR
Computes the Gelfand–Kirillov dimension of the algebra basering/(input ideal) using the Ufnarovskij graph. The input ideal must be given as a two-sided Gröbner basis.
dim BR_PLURAL_BR topic
plural.doc / dim BR_PLURAL_BR
Describes dim in Plural, which computes the Gelfand–Kirillov dimension for ideals or modules (and submodules) from leading monomials or a left Gröbner basis.
dim_slocus procedure
sing.lib
Return the dimension of the singular locus of an ideal (or polynomial).
dimension procedure
gfan.lib
Return the dimension (as int) of a cone, fan, or polytope.
dimension procedure
scheme.lib
Compute the dimension of the scheme X.
dimensionOfLocalization procedure
graal.lib
Return the Krull dimension of the localization A_L of A at the given ideal/bearer L.
dimGradedPart procedure
sheafcoh.lib
Return the vector space dimension of the graded part of degree d of coker(phi).
dimGradedPart_w procedure
sheafcoh.lib
Computes the vector space dimension of the degree d graded part of coker(M) using degree vector w.
dimH procedure
sheafcoh.lib
Compute the vector space dimension of H^i(F(d)) on P^n for the coherent sheaf F associated to coker(M).
dimH_w procedure
sheafcoh.lib
Computes the dimension h^i(F(d)) for the sheaf F associated to coker(M), using degree vector w.
dimMon procedure
monomialideal.lib
Compute the Krull dimension of the affine variety defined by a monomial ideal (returns -1 if not monomial).
dimStack procedure
schubert.lib
Compute the dimension of a moduli space (stack) of stable maps.
direct_boolean_poly procedure
polybori.lib
convert polynomial direct
direct_from_boolean_poly procedure
polybori.lib
Convert a PolyBoRi boolean polynomial to a Singular polynomial.
directSumBundle procedure
tateProdCplxNegGrad.lib
Computes the direct sum of two bundles.
discr procedure
spcurve.lib
Compute an ideal describing the discriminant of a versal deformation (codimension 2) by Jacobian minors and elimination.
discrepancy procedure
reszeta.lib
Compute the discrepancy values (a_i) for the exceptional divisors of a given resolution.
discrim procedure
grobcov.lib
Compute the factorized discriminant of a quadratic polynomial with respect to a given variable/parameter.
discusspolys procedure
redcgs.lib
Process ideal B under a specification r=[N,W,LN], splitting conditions and returning updated specs, basis and condition polynomial.
discussSpolys procedure
redcgs.lib
Processes S-polynomial pairs for an ideal, updating state (N,W,LN) and returning a combined result list.
disp_zdd procedure
polybori.lib
Return a string visualization of a ZDD, formatting else-branches on new lines to reflect the ZDD structure.
displayCohom procedure
sheafcoh.lib
Print a diagram of sheaf cohomology h^i(F(t)) and chi(F(t)) from an intmat returned by sheafCoh or sheafCohBGG.
displayed procedure
arcpoint.lib
Procedure from arcpoint.lib; no help text available to infer arguments or return type.
displayHNE procedure
hnoether.lib
Display the Hamburger–Noether expansion (HNE) from Hamburger–Noether development data; optionally return a ring containing the ideal HNE.
displayInvariants procedure
hnoether.lib
Pretty-prints branch invariants from a plane curve polynomial or from Hamburger–Noether expansion data.
displayMultsequence procedure
hnoether.lib
Display the multiplicity sequence(s) of a plane curve from a bivariate polynomial or Hamburger–Noether expansion data.
displaypfd procedure
pfd.lib
Print a partial fraction decomposition list (as returned by pfd) in a readable form.
displaypfd_long procedure
pfd.lib
Print a partial fraction decomposition like displaypfd, but with denominators written out (not indexed).
displayPuiseuxExpansion procedure
tropical.lib
Display Puiseux expansion(s) returned by puiseuxExpansion; optionally substitute the expansion into the polynomial ("subst").
displayTropicalLifting procedure
tropical.lib
Display the output of tropicalLifting; optionally substitute the lifting into the ideal when called with "subst".
dividelist procedure
resbinomial.lib
Element-wise division of two equally sized lists of numbers, returning a list of quotients.
divideUnits procedure
jacobson.lib
Divide units out from a diagonal matrix in smith/jacobson output and update the transformation matrices accordingly.
division topic
reference.doc / division
Describes the Singular command division, which computes a division with remainder for ideals or modules and returns a standard representation, optionally up to a given weighted degree.
division BR_PLURAL_BR topic
plural.doc / division BR_PLURAL_BR
Describes the Singular command division, which computes a left division with remainder for ideals and modules. Includes syntax variants, returned data, and an example.
divisor procedure
hyperel.lib
Computes the divisor of a(x)-b(x)y on the hyperelliptic curve y^2+h(x)y=f(x), returned as a list of points with multiplicities.
divisor type
divisors.lib
A divisor represented by a tuple of ideals defining its positive and negative parts.
divisor type
scheme.lib
A divisor on a scheme, given by components (schemes) together with their multiplicities.
divisor_print procedure
divisors.lib
Print a divisor D (as (num) - (den)).
divisorplus procedure
divisors.lib
Add two divisors by multiplying their numerator and denominator ideals.
divisors procedure
reszeta.lib
Procedure in reszeta.lib (isolated singularities of surfaces); no further signature details available.
divisors.lib library
21 commands
We implement a class divisor on an algebraic variety and methods for computations with divisors. Divisors are represented by tuples of ideals defining the positive and the negative part. In particular, we implement the group structure on divisors, computatio
divPrimeList procedure
symodstd.lib
Return a list of (largest) primes p with (p-1) divisible by k and not dividing any coefficient of I, optionally extending an existing list.
divPrimeTest procedure
symodstd.lib
Tests whether (p-1) is divisible by k and whether all relevant numerators/denominators and coefficients of I are nonzero mod p.
Divrem procedure
hyperel.lib
Returns the remainder R of dividing polynomial f by g (f = ag + R, deg(R) < deg(g)).
divs procedure
stdmodule.lib
Performs one-step reduction of a vector f with respect to a free module G over a subalgebra A (finite SAGBI basis).
DLoc procedure
dmodapp.lib
Compute a presentation of the localization of D/I w.r.t. f^s and Bernstein polynomial roots with multiplicities.
DLoc0 procedure
dmodapp.lib
Compute a Weyl-algebra ring presenting the localization of D/I w.r.t. f^s, returning ring with ideal LD0 and list BS.
Dlocalization procedure
dmodloc.lib
Compute an ideal J defining the localization of the D-module D/I at a polynomial f (optionally also return the exponent of the natural map).
dmod_lib topic
plulibs.doc / dmod_lib
Let K be a field of characteristic 0. Given a polynomial ring
dmod.lib library
33 commands
Let K be a field of characteristic 0. Given a polynomial ring
dmodAction procedure
dmodloc.lib
Computes the natural action of a Weyl-algebra poly/ideal on a polynomial f, returning the same type as the operator.
dmodActionRat procedure
dmodloc.lib
Compute the natural D-module (Weyl algebra) action of a poly/ideal on the rational function w[1]/w[2].
dmodapp_lib topic
plulibs.doc / dmodapp_lib
Let K be a field of characteristic 0, R = K[x1,...,xN], and D the Weyl algebra in the variables x1,...,xN,d1,...,dN.
dmodapp.lib library
33 commands
Let K be a field of characteristic 0, R = K[x1,...,xN], and D the Weyl algebra in the variables x1,...,xN,d1,...,dN.
dmodGeneralAssumptionCheck procedure
dmodloc.lib
Checks that the current basering is a characteristic-0 Weyl algebra (no qring) with variables ordered x(1..n),D(1..n).
dmodideal_lib topic
plulibs.doc / dmodideal_lib
Let K be a field of characteristic 0. Given a polynomial ring R = K[x_1,...,x_n] and a map given by polynomials F_1,...,F_r in R, one is interested in the R[1/(F_1...F_r)]-module of rank one generated by the symbol F^s = F_1^(s_1)...F_r^(s_r), where s_1,..
dmodideal.lib library
7 commands
Let K be a field of characteristic 0. Given a polynomial ring R = K[x_1,...,x_n] and a map given by polynomials F_1,...,F_r in R, one is interested in the R[1/(F_1...F_r)]-module of rank one generated by the symbol F^s = F_1^(s_1)...F_r^(s_r), where s_1,..
dmodloc_lib topic
plulibs.doc / dmodloc_lib
Let I be a left ideal in the n-th polynomial Weyl algebra D = K[x], and let f be a polynomial in K[x].
dmodloc.lib library
25 commands
Let I be a left ideal in the n-th polynomial Weyl algebra D = K[x], and let f be a polynomial in K[x].
dmodoublext procedure
nchomolog.lib
Compute a presentation of Ext^i(Ext^i(M,D),D) over the current basering D (default i=floor(nvars(D)/2)).
dmodualtest procedure
nchomolog.lib
Return Groebner basis of the difference between M and Ext^n(Ext^n(M,D),D) (dual of dual) in the basering.
dmodvar_lib topic
plulibs.doc / dmodvar_lib
Let K be a field of characteristic 0. Given a polynomial ring R = K[x_1,...,x_n] and polynomials f_1,...,f_r in R, define F = f_1...f_r and F^s = f_1^(s_1)...f_r^(s_r) for symbolic discrete (i.e. shiftable) variables s_1,...,s_r.
dmodvar.lib library
5 commands
Let K be a field of characteristic 0. Given a polynomial ring R = K[x_1,...,x_n] and polynomials f_1,...,f_r in R, define F = f_1...f_r and F^s = f_1^(s_1)...f_r^(s_r) for symbolic discrete (i.e. shiftable) variables s_1,...,s_r.
Documentation page
Generated documentation landing page.
Documentation Tool topic
general.doc / Documentation Tool
Describes lib2doc, a utility for generating stand-alone documentation for Singular libraries in various output formats, and explains how to install requirements and generate documentation files.
double procedure
hyperel.lib
Doubles a semireduced hyperelliptic divisor on the curve y^2+h(x)y=f(x) using a special case of Cantor reduction.
doubleExt procedure
purityfiltration.lib
Compute a presentation matrix for the double Ext module Ext^i(Ext^i(M,D),D) where M = coker(R).
Download instructions topic
platform.doc / Download instructions
Download and installation locations for Singular source and binary packages, including release sources via HTTP and FTP.
DrawCovers procedure
tropicalEllipticCovers.lib
Generate (and optionally open) a LaTeX/TikZ document illustrating all elliptic-curve covers determined by a graph, ordering and degree partition.
drawNewtonSubdivision procedure
tropical.lib
Create and display a TeX/PostScript drawing of the Newton subdivision for a tropical plane curve defined by f.
drawTropicalCurve procedure
tropical.lib
Compute and display (or export) a tropical plane curve from a polynomial or tropical data, producing TeX/PS files in /tmp.
drawTwoTropicalCurves procedure
tropical.lib
Draw (and optionally display) two tropical plane curves given by polynomials or tropical linear-form lists, with min/max and output options.
dropDim procedure
resolve.lib
Placeholder for dropDim in resolve.lib; currently not implemented (raises an error).
DsingularLocus procedure
dmodloc.lib
Compute the singular locus ideal of the D-module D/I in a Weyl algebra basering (char 0, variables x(1..n),D(1..n)).
dsum procedure
matrix.lib
Return the direct sum (block-diagonal concatenation) of the given matrices.
dual_code procedure
brnoeth.lib
Compute a generator matrix of the dual code (equivalently a parity-check matrix) from a numeric generator matrix.
dualCone procedure
gfan.lib
Compute and return the dual cone of a given cone.
dualConic procedure
tropical.lib
Compute the defining polynomial of the dual conic of an affine plane conic in variables x and y.
dualPart procedure
chern.lib
Compute the dual (conjugate) partition of a given integer partition, optionally padded with leading zeros to length N.
dualPartition procedure
schubert.lib
Compute the dual of a partition p with respect to integers k and n.
dualPolytope procedure
gfan.lib
Compute and return the dual polytope of a given polytope.
dualSheaf procedure
schubert.lib
Return the dual of a sheaf.
dummy procedure
dummy.lib
Return the given argument unchanged.
dummy.lib library
1 commands
Dummy library for testing purposes.
dump topic
reference.doc / dump
Writes the current Singular session state (all defined variables and their values) to a specified link so it can be restored later with getdump.
dyckGroup1 procedure
fpalgebras.lib
Constructs a letterplace free algebra ring encoding a Dyck group presentation and exports the ideal I of relations.
dyckGroup2 procedure
fpalgebras.lib
Construct a Letterplace ring for a Dyck group presentation and export the defining relations as ideal I.
dyckGroup3 procedure
fpalgebras.lib
Constructs a Letterplace ring for a Dyck group presentation and exports the defining ideal I of relations.
Dynamic loading topic
general.doc / Dynamic loading
Describes how Singular can be extended at runtime by loading dynamic modules written in C/C++ or other higher-level languages, and how these modules are handled after loading.
Dynamic modules topic
examples.doc / Dynamic modules
Example illustrating how to use dynamic modules in Singular. It shows loading a module and computing partial standard bases while considering different numbers of vector components.
Dynamic modules tutorial
tutor.tex / Dynamic modules
Example illustrating how to use dynamic modules in Singular. It loads a dynamic module and shows how changing the number of considered vector components affects the standard basis computation.

E

EntryDescription
ecart procedure
teachstd.lib
Compute the ecart of a polynomial or vector as maxdeg1(f) - maxdeg1(lead(f)).
echo topic
reference.doc / echo
Documents the local setting echo, which controls whether input is echoed depending on the value of voice. Includes a short example and related references.
ECoef procedure
resbinomial.lib
Compute the E-coefficient ideal E-Coeff_V(P) for a permissible hypersurface V; returns exponents, coefficients, and a classification.
ECPP procedure
crypto.lib
Elliptic curve primality proving: returns a primality certificate {L,P,m,q} for N or a message that N is not prime.
Edatalist procedure
resbinomial.lib
Compute the E-order for each term described by Coef/Exp, summing exponents over variables selected by flaglist.
Editing input topic
general.doc / Editing input
Describes key bindings for editing and recalling input lines in Singular, and explains history and GNU Readline support on Unix-like systems.
Editing SINGULAR input files with Emacs topic
general.doc / Editing SINGULAR input files with Emacs
Guidelines for editing Singular input files and libraries in Emacs using C/C++ mode, including recommended .emacs settings and customization tips.
eexgcdN procedure
crypto.lib
Extended gcd for a list: returns coefficients T with sum_i L[i]T[i] = gcd(L[1],...,L[n]) stored as T[n+1].
effective procedure
divisors.lib
Compute an effective divisor linearly equivalent to a given divisor.
egcdMain procedure
zeroset.lib
Compute the polynomial gcd of f and g over Q(a)[x] (outdated; use gcd instead).
ehrhartRing procedure
normaliz.lib
Compute Ehrhart ring data from an ideal’s leading monomials; returns a list of ideals (or the input ideal if Hilbert basis is blocked).
ehv.lib library
16 commands
Algorithms for primary decomposition and radical computation, based on ideas of Eisenbud, Huneke, and Vasconcelos.
eigenvals procedure
linalg.lib
Compute eigenvalues of a matrix (assumed to lie in the base field) and return them with their multiplicities.
eigenvalues procedure
symodstd.lib
Compute eigenvalues of the generators of an ideal under a given permutation of the basering variables.
EKCouples procedure
JMBTest.lib
Compute an EK couple for two jmp elements; returns a list containing an index and a resulting polynomial/monomial.
EKCouples procedure
JMSConst.lib
Compute EK-related data for a pair of jmp objects, returning a 2-element list with an index and a monomial/poly.
EKPolynomials procedure
JMBTest.lib
Compute EK polynomials (and their degrees) from EK data and a generator list.
EKPolynomials procedure
JMSConst.lib
Compute EK polynomials from a list of jmp-polynomial lists and return the EK data together with their degrees.
EKPolys procedure
JMBTest.lib
Compute EK polynomials for all pairs in G and return the EK data together with their degrees.
elementsInTermsOfGeneratorsG25.sing code
elementsInTermsOfGeneratorsG25.sing
Singular source defining two permutations as generators and a list of group elements written as words in the generators.
elemSymmId procedure
polylib.lib
Return the ideal generated by the elementary symmetric polynomials (in n variables).
elemSymmPoly procedure
polylib.lib
Compute the degree-d elementary symmetric polynomial in var(lindex)..var(hindex) of the current basering.
elim procedure
elim.lib
Eliminate specified variables from an ideal/module using an elimination ring and std/slimgb (optionally computing weights).
elim.lib library
10 commands
Library elim.lib provides procedures for elimination, saturation, and blowing up.
elim1 procedure
elim.lib
Eliminate selected variables from an ideal/module using eliminate, choosing a suitable dp/ls ring ordering automatically.
elim2 procedure
elim.lib
Eliminate the variables given by an intvec from an ideal/module, without requiring a special monomial ordering.
eliminate topic
reference.doc / eliminate
Describes eliminate, which removes specified variables from an ideal or module by intersecting with a subring. Includes syntax variants, notes on Hilbert-driven elimination, and examples.
eliminate BR_PLURAL_BR topic
plural.doc / eliminate BR_PLURAL_BR
Describes the command eliminate for eliminating variables from ideals or modules by intersecting with a subring/subalgebra that does not contain these variables.
eliminateNC procedure
ncpreim.lib
Compute elimination in G-algebras: return I intersected with the subring not indexed by v, choosing an elimination ordering if possible.
Elimination topic
examples.doc / Elimination
Elimination is the algebraic counterpart of geometric projection and can be computed via Gröbner bases or by using eliminate. This section explains methods, warnings for local/mixed orderings, and provides three examples in Singular.
Elimination tutorial
tutor.tex / Elimination
Explains elimination as an algebraic counterpart of projection and describes how to compute elimination ideals in Singular, including warnings for local/mixed orderings and examples.
elimintfromideal procedure
redcgs.lib
Return the sub-ideal of J generated by those elements that contain at least one variable (drops constant generators).
elimlinearpart procedure
presolve.lib
Eliminate variables appearing linearly (from the first n vars) by triangular substitution; returns a 5-entry list describing the result and substitutions.
elimpart procedure
presolve.lib
Partially eliminates variables from an ideal by substitutions (linear part and optionally direct), returning transformed ideal and substitution data.
elimpartanyr procedure
presolve.lib
Eliminate/substitute variables (from linear part and optionally direct substitution) for vars in p, returning a 6-object list describing the result.
elimrep procedure
resbinomial.lib
Eliminate repeated terms from a list and return the list without duplicates.
elimrepeated procedure
redcgs.lib
Return an ideal consisting of the generators of F with repeated elements removed.
elimRing procedure
elim.lib
Constructs a 2-block elimination ring for given variables, returning the new ring and adjusted variable weights.
elimWeight procedure
ncpreim.lib
Compute an elimination weight intvec for a given admissible subalgebra in a G-algebra basering.
ellipticAdd procedure
crypto.lib
Adds two elliptic-curve points P and Q on y^2z=x^3+axz^2+bz^3 over Z/N and returns P+Q as a list.
ellipticAllPoints procedure
crypto.lib
Enumerate all projective points (x:y:z) on the elliptic curve y^2z=x^3+axz^2+bz^3 over Z/N.
ellipticcovers.lib library
11 commands
We implement a formula to compute the number of covers of elliptic curves. The formula is obtained by proving mirror symmetry for arbitrary genus by tropical methods in [BBM].
ellipticMult procedure
crypto.lib
Compute the scalar multiple kP of a projective point P on an elliptic curve over Z/N.
ellipticNF procedure
polymake.lib
Compute the unimodular affine normal form of an elliptic Newton polygon, returning the transformed vertices, A, v, and images of input points.
ellipticRandomCurve procedure
crypto.lib
Generate random elliptic curve parameters a,b modulo N and return (a,b,gcd(4a^3+27b^4, N)).
ellipticRandomPoint procedure
crypto.lib
Returns a list [x,y,z] for a random point on the elliptic curve y^2z=x^3+axz^2+bz^3 over Z/N.
else topic
reference.doc / else
Describes the else clause used with if to execute an alternative block when the condition is false.
Emacs user interface topic
general.doc / Emacs user interface
Describes the Singular Emacs mode, its requirements, and how to start it. Lists key features and links to further sections of the manual.
Emaxcont procedure
resbinomial.lib
Compute the maximal E-order and the variable indices defining hypersurfaces of E-maximal contact.
embedMat procedure
nctools.lib
Embed a matrix into the upper-left corner of a new m×n matrix.
emptyFan procedure
gfan.lib
Create an empty fan in ambient dimension n.
encode procedure
decodegb.lib
Encode a message row vector x using generator matrix g, returning the corresponding codeword xg.
endvfilt procedure
gmssing.lib
Compute endomorphism filtration data from a V-filtration list returned by vfilt.
engine procedure
dmodapp.lib
Compute a Groebner basis of an ideal/module/matrix using an algorithm selected by an integer switch.
ensureLeftNcfrac procedure
ncfrac.lib
Ensure an ncfrac has a left representation, computing it if not already available.
ensureRightNcfrac procedure
ncfrac.lib
Ensure an ncfrac has a right representation, computing it if needed, and return the resulting fraction.
enumpoints.lib library
2 commands
This library provides procedures to enumerate rational points in the zero set of an ideal.
envelop procedure
grobcov.lib
Compute the envelope locus of a parametric family F under constraints C, returning locus components with taxonomy information.
envelope topic
plural.doc / envelope
Describes the Singular command envelope, which creates the enveloping algebra of a given algebra. Includes syntax, type, purpose, remarks, and an example.
enveltrinity procedure
bimodules.lib
Compute enveloping algebra and export kernel K, Groebner basis matrix N, and bisyzygies module BS for a two-sided ideal/module.
enveltrinityIdeal procedure
bimodules.lib
Compute envelope trinity data for an ideal and return the envelope ring (exporting K, BS, and N).
EOrdlist procedure
resbinomial.lib
Compute the maximal E-order of an ideal given by (Coef, Exp) and return the E-order plus generator and term positions.
Equal procedure
numerAlg.lib
Tests whether the algebraic varieties defined by two ideals are equal (prints 0/1).
equalideals procedure
redcgs.lib
Compare two ideals for exact equality of generator lists (same size and same entries in the same order).
equalJinI procedure
arcpoint.lib
Test whether two pre-simplified ideals are equal (assuming J ⊆ I); returns 1 if equal, else 0.
equalMultiDeg procedure
multigrading.lib
Test whether two exponent vectors represent the same multidegree in the current multigrading.
equalPoly procedure
polyclass.lib
Check whether two polynomials of type Poly over the same ring are equal.
equations procedure
gfan.lib
Return a bigintmat of defining equations for a cone or polytope (not unique or complete unless in canonical form).
EquationsOfEmbedding procedure
rinvar.lib
Computes the defining ideal (Zariski closure) of a variety parameterized by an embedding ideal via implicitation and variable change.
equidim procedure
primdec.lib
Compute equidimensional loci of an ideal, returning a list of equidimensional ideals from lower to maximal dimension.
equidimMax procedure
primdec.lib
Return the ideal defining the equidimensional locus of maximal dimension of the given ideal.
equidimMaxEHV procedure
primdec.lib
Returns the equidimensional component of maximal dimension of an ideal using the Eisenbud–Huneke–Vasconcelos algorithm.
equidimZ procedure
primdecint.lib
Returns the equidimensional part of I of minimal height (requires coefficient ring ZZ).
equiMaxEHV procedure
ehv.lib
Returns the equidimensional part of an ideal using the Eisenbud–Huneke–Vasconcelos algorithm.
equiRadEHV procedure
ehv.lib
Compute the equidimensional radical of an ideal using the Eisenbud/Huneke/Vasconcelos algorithm (char 0 or large p).
equiRadical procedure
primdec.lib
Return the intersection of the associated primes of maximal dimension (equi-dimensional radical) of an ideal.
equising.lib library
5 commands
Computations related to equisingularity strata for families of plane curve singularities.
Eresol procedure
resbinomial.lib
Compute the E-resolution of singularities of a binomial ideal, returned as a list describing affine charts and resolution data.
ERROR topic
reference.doc / ERROR
Documents the Singular command ERROR, which aborts the current computation, returns to the top level, and prints a user-specified error message.
errorInsert procedure
decodegb.lib
Insert additive errors into a codeword matrix at given positions and return the resulting received word.
errormap procedure
finitediff.lib
Map a polynomial through the image ideal (via imageideal()) and reduce it to a simplified polynomial.
errorRand procedure
decodegb.lib
Return a received word obtained from y by adding num nonzero random errors at distinct positions (values from GF(p^e)).
esIdeal procedure
equising.lib
Compute Wahl's equisingularity ideal (and variants) for a reduced bivariate plane curve singularity f in a local ring.
essdevelop procedure
hnoether.lib
Obsolete wrapper around hnexpansion producing the essential development/expansion of a polynomial.
esStratum procedure
equising.lib
Compute equations for the equisingularity stratum of a bivariate deformation with fixed (trivial) section.
eta procedure
polymake.lib
Compute the eta intvec for a given triangulation of a convex lattice polygon (polygon given in splitPolygon format).
euler procedure
aksaka.lib
Compute Euler's totient function phi(r) for an integer r.
EulerAff procedure
chern.lib
Compute the Euler characteristic of the affine variety defined by an ideal.
eulerChProj procedure
chern.lib
Compute the Euler characteristic of a vector bundle on P_n from its rank and Chern classes.
eulerPolynomialTable procedure
tateProdCplxNegGrad.lib
Compute a hash table of Euler polynomials for twists of coker(M) for all multidegrees between low and high.
EulerProj procedure
chern.lib
Return the Euler characteristic (top-degree term of the Chern-Schwartz-MacPherson class) of the projective variety defined by a homogeneous ideal.
eval topic
reference.doc / eval
Evaluates quoted expressions. Each call to eval removes exactly one level of quoting, mainly for use with ssi links and quote/write.
evalIdealAtBox procedure
interval.lib
Evaluate each generator of an ideal on a given box (list of intervals) and return the resulting interval box as a list.
evalJacobianAtBox procedure
interval.lib
Compute the Jacobian matrix of an ideal and evaluate its entries over a given box of intervals.
evalJacobianAtBox procedure
rootisolation.lib
Compute the Jacobian matrix of an ideal and evaluate its entries at a given box using interval arithmetic.
evalPolyAtBox procedure
rootisolation.lib
Evaluate a polynomial on a box using interval arithmetic, returning an interval enclosure.
evalPolyAtBox2 procedure
interval.lib
Compute the interval extension of a polynomial over a given box of intervals.
evaluate_reynolds procedure
finvar.lib
Apply a Reynolds operator (given as a matrix) to the generators of an ideal and return the resulting ideal.
evaluateFormalDivisor procedure
divisors.lib
Evaluate a formal sum of divisors (formaldivisor) to a single divisor.
evaluateIntegral procedure
ellipticcovers.lib
Compute the constant coefficient of the Laurent series of P iteratively in the variables given by xL.
evaluatepfd procedure
pfd.lib
Evaluate a partial fraction decomposition by substituting numeric values for the ring variables, optionally handling zero denominators.
evaluateProduct procedure
gitfan.lib
Evaluates a string expression in formal generator variables xi as a product of given permutation generators.
Evaluation of logical expressions topic
tricks.doc / Evaluation of logical expressions
Explains how Singular evaluates logical expressions by evaluating all arguments first, unlike conditional left-to-right evaluation in many languages, and gives work-arounds for undefined variables.
example topic
reference.doc / example
Documents the example command, which runs example code for a given topic. Includes syntax, purpose, and sample usage.
Examples manual
examples.doc
Table of contents for the Examples document, listing the main topics and links to their sections.
Examples tutorial
tutor.tex / Examples
Index of example sections in the Singular tutorial, grouped by topic.
Examples of ring declarations topic
general.doc / Examples of ring declarations
Examples of Singular ring declarations for various coefficient fields, extensions, quotient rings, and monomial orderings. Includes indexed variables and floating-point representations.
Examples of use of Letterplace topic
letterplace.doc / Examples of use of Letterplace
Examples demonstrating how to use LETTERPLACE in Singular: creating free algebras and bimodules, computing Gröbner bases, normal forms, syzygies, membership tests, and elimination of module components.
Examples of use of Letterplace over Z topic
letterplace.doc / Examples of use of Letterplace over Z
Examples illustrating computations with LETTERPLACE over \mathbb{Z}, including Gröbner basis behavior and a comparison with computations over \mathbb{Q}.
exceptionalHypersurface procedure
arnold.lib
Return (and if needed compute) the exceptional hypersurface stored in a NormalForm object.
exclusionTest procedure
interval.lib
Interval-arithmetic exclusion test that subdivides a start box and returns boxes deemed small and boxes flagged as containing a solution.
executable procedure
normaliz.lib
Returns information related to the Normaliz executable (details not available from provided sources).
execute topic
reference.doc / execute
Executes a string containing a sequence of Singular commands. The string must not contain the command return.
exp2pt procedure
findifs.lib
Convert a polynomial to a TeX string in nodal (lattice point) form, optionally replacing the default variable name 'u'.
expo procedure
realclassify.lib
Compute e^z using the first k summands of the exponential power series.
exponent procedure
finvar.lib
Return the smallest nonnegative integer i such that n/root^i equals 1.
exponentsGCD procedure
integralbasis.lib
Compute the gcd of the exponents of variable indVar occurring in polynomial f.
export topic
reference.doc / export
Converts a local variable inside a procedure into a global one so that the identifier is not removed when the procedure ends. The variable’s package membership is not changed.
exportNuminvs procedure
normaliz.lib
Creates/updates top-level variables nmz_ containing the numerical invariants computed by normaliz.
exportto topic
reference.doc / exportto
Documents the Singular command exportto, which transfers identifiers from the current package to another package.
expp procedure
schubert.lib
Compute the total Chern class polynomial from a Chern character polynomial up to order n.
expPoly procedure
polyclass.lib
Exponentiate a polynomial (Poly) to an integer power.
Ext procedure
homolog.lib
Compute presentations of Ext^k(coker(M),coker(N)) for one or several degrees, optionally also returning standard bases and kbases.
Ext_R procedure
homolog.lib
Compute presentations of Ext^k(coker(M),R) for one or several degrees, optionally returning SB and kbase data.
extcurve procedure
brnoeth.lib
Extend curve data (from NSplaces) to a field extension of degree d and add rings and rational-place data to the CURVE list.
extdevelop procedure
hnoether.lib
Extends a given Hamburger–Noether development list so the HN-matrix has at least N columns (if the HNE is not finite).
extend_multiplicities procedure
alexpoly.lib
Extend total/multiplicity matrices from totalmultiplicities by replacing strict-transform zeros using one further blow-up per branch.
extendedTensor procedure
ncpreim.lib
Constructs the tensor product ring A+basering, adding nc cross-relations induced by an ideal I defining A->basering.
extendGC procedure
grobcov.lib
Extend a grobcov result (computed with rep=1/2, typically rep=2) to obtain full representations of the basis functions.
extendpoly procedure
grobcov.lib
Extend a generic representation polynomial of an I-regular function on S=V(p)\V(q) to a full representation (poly or ideal).
extendpoly procedure
redcgs.lib
Tries to construct a polynomial with the same monomials as f but modified coefficients satisfying reductions w.r.t. N and combinations from W12.
extendring procedure
ring.lib
Create a new ring by extending a base ring with n new variables and a derived product ordering.
extendWeyl procedure
dmodloc.lib
Extend the current Weyl algebra basering by adjoining new variable(s) (and matching D-variables) and return the new ring.
Exterior procedure
nctools.lib
Create the exterior algebra qring of the current basering (anticommutative relations and x(i)^2=0), to be activated via setring.
exteriorBasis procedure
matrix.lib
Compute a basis of the k-th exterior power of an n-dimensional vector space.
exteriorPower procedure
matrix.lib
Compute the k-th exterior power of a module/matrix A.
external-packages-dynamic-modules.md doc
external-packages-dynamic-modules.md
Lists external packages that Singular may rely on and notes their compatibility with Cygwin. Includes links to third-party software information and the Preface.
extgcd topic
reference.doc / extgcd
Computes the extended greatest common divisor of two arguments. Returns a list containing the gcd and coefficients expressing the gcd as a linear combination of the inputs.
Extra weight vector topic
pdata.doc / Extra weight vector
Describes the extra weight vector ordering component \mathtt{a}(w_1,\ldots,w_n) and how it affects monomial comparisons. Includes examples of combining it with other orderings.
extractS procedure
dmodideal.lib
Construct a dp-ordered commutative subring in the first r variables and map ideal I into it, returning the new ring.

F

EntryDescription
faceContaining procedure
gfan.lib
Return the face of a cone that contains a given vector/weight in its relative interior.
facets procedure
gfan.lib
Compute the facet description of a cone or polytope.
facFirstShift procedure
ncfactor.lib
Compute all factorizations of a polynomial in the first shift algebra; wrapper for older compatibility.
facFirstWeyl procedure
ncfactor.lib
Compute all factorizations of a polynomial in the first Weyl algebra (wrapper for facWeyl).
facGBIdeal procedure
pointid.lib
Compute a Groebner basis of the vanishing ideal of a finite point set and the linear factorization of each basis element.
facShift procedure
ncfactor.lib
Compute all factorizations of a polynomial in the n-th shift algebra (via the general G-algebra factorization).
facstd topic
reference.doc / facstd
Documents facstd, which computes a list of ideals via the factorizing Gröbner basis algorithm, optionally subject to non-zero constraints.
facSubWeyl procedure
ncfactor.lib
Factor a polynomial inside a detected or specified Weyl subalgebra of the current basering.
factmodd topic
reference.doc / factmodd
Computes a factorization of a polynomial h(x,y) in K[[x]][y] up to a given degree in x, using Hensel lifting when a factorization of h(0,y) is known or can be computed.
factorfirst procedure
hnoether.lib
Test whether f equals const(y^(N/e) - dx^(M/e))^e (e=gcd(M,N)); return d or 0.
factorgroup procedure
multigrading.lib
Return a representation of the factor group G mod H (via the first isomorphism theorem).
factorH procedure
general.lib
Factorize a polynomial after permuting variables so the last variable is used as principal in multivariate factorization.
factorial procedure
general.lib
Compute n! (factorial of an integer n) as a bigint.
Factorization topic
examples.doc / Factorization
Describes polynomial factorization in Singular using the Factory and libfac libraries, including univariate support via NTL. Provides examples over various coefficient fields, including characteristic 2 and algebraic extensions.
Factorization tutorial
tutor.tex / Factorization
Describes polynomial factorization in Singular and the underlying libraries (Factory, libfac, and NTL), with examples over various coefficient fields.
factorize topic
reference.doc / factorize
Describes factorize, which computes irreducible factors of a polynomial, optionally including multiplicities depending on a second argument.
factorLenstraECM procedure
crypto.lib
Try to find a nontrivial factor of N using Lenstra's ECM method with bound B and up to d+1 curve trials.
factorlist procedure
hnoether.lib
Returns the nonconstant irreducible factors (with multiplicities, factorize format) of the product encoded by a factorize-style list.
factorMain procedure
zeroset.lib
Factor a squarefree polynomial over Q(a)[t] using minimal polynomial mpoly; returns list(factors, multiplicities placeholder).
facvar procedure
redcgs.lib
Return the distinct square-free (non-repeated) polynomial factors of elements of a parameter ideal, ignoring integer factors and 0.
facWeyl procedure
ncfactor.lib
Compute all factorizations of a polynomial in a Weyl algebra; returns a list of factorizations (each a list of factors, starting with a constant).
FamElemsAtEnvCompPoints procedure
grobcov.lib
Return Groebner-cover data describing parameter values of family members passing through a point of a given envelope component.
fan kernel type
kernel
In order to use convex objects in Singular, Singular uses gfanlib, a C++ library for convex geometry by Anders N. Jensen. Please check the readme file for installation instructions. The library gfan_lib provides this C++ library and an interface to it.
fan topic
cones.doc / fan
This section notes that fan is not supported in this version of Singular.
fan topic
types.doc / fan
Describes the fan type in Singular and how polyhedral fans are represented using gfanlib, including constructors for empty and full fans and optional symmetry groups.
fanViaCones procedure
gfan.lib
Create a fan generated by a list of cones or by cones given as separate arguments.
farey topic
reference.doc / farey
Documents the Singular function farey, which lifts values modulo an integer to rational numbers. It supports several input types and requires the coefficient field to be the rationals.
fareypoly procedure
ffmodstd.lib
Reconstruct a univariate rational function r/t with r/t ≡ g (mod f) and degree bounds (Farey reconstruction).
fastelim procedure
presolve.lib
Eliminate all variables occurring in p from the ideal i, with optional heuristics for ordering and standard basis computation.
fastExpt procedure
aksaka.lib
Computes a^m via fast exponentiation, returning n+1 if the result exceeds n.
faststd procedure
presolve.lib
Creates a new ring (possibly with reordered variables/ordering) and computes/stores a standard basis STD_id for the image of an ideal/module.
fetch topic
reference.doc / fetch
Describes fetch, which maps objects between rings and quotient rings using variable positions or explicit permutations. Includes syntax variants, notes, and an example.
fetch BR_LETTERPLACE_BR topic
letterplace.doc / fetch BR_LETTERPLACE_BR
Describes fetch, which maps objects between rings and qrings based on variable positions (or an optional permutation). Includes syntax, notes, and an example.
fetch BR_PLURAL_BR topic
plural.doc / fetch BR_PLURAL_BR
Describes fetch, which maps objects between rings and qrings by variable position. Includes notes on compatibility and an example in Singular.
fetchall procedure
ring.lib
Fetch all objects from a ring/qring into the basering, optionally appending a suffix to their names.
fetchInTree procedure
reszeta.lib
Internal helper to blow down an ideal named idname along the ring tree from L[2][o1] to a common parent L[2][comPa].
FeynmanInt procedure
tropicalEllipticCovers.lib
Compute a sum of feynmanIntegral1 values over partitions of the edge count; optionally return nonzero contributions and the sum.
FeynmanIntegralA procedure
tropicalEllipticCovers.lib
Compute Q_t: sum of Feynman integrals over partitions of d for a fixed vertex ordering (optionally returning partition details).
FeynmanIntegralo procedure
tropicalEllipticCovers.lib
Compute Q_t Feynman integral data for a fixed vertex ordering of a graph/pearl chain; output depends on k.
FeynmanIntegralO procedure
tropicalEllipticCovers.lib
Compute Q_t Feynman integral(s) for all vertex orderings of a graph; returns a sum (k=0) or per-ordering list (k!=0).
ffmodStd procedure
ffmodstd.lib
Compute a (reduced) Groebner/standard basis of an ideal over an algebraic function field, optionally using d evaluation points.
ffmodstd.lib library
8 commands
A library for computing a Groebner basis of an ideal in a polynomial ring over an algebraic function field \(\mathbb{Q}(T) := \mathbb{Q}(t_1,\ldots,t_m)\) using modular methods and sparse multivariate rational interpolation, where the \(t_i\) are transcendenta
ffsolve procedure
ffsolve.lib
Compute common roots of an ideal over a finite field using a heuristically chosen solver (optionally from a given list).
ffsolve.lib library
6 commands
Library ffsolve.lib provides procedures for solving systems of multivariate polynomial equations over finite fields. Several methods are available (including Groebner basis and linearization), and ffsolve selects a method heuristically.
fglm topic
reference.doc / fglm
Computes a reduced Gröbner basis in the current ring from a zero-dimensional ideal given as a reduced Gröbner basis in another ring, using the FGLM algorithm.
fglm_solve procedure
solve.lib
Compute complex roots of a 0-dimensional ideal via FGLM and lex_solve, returning a ring containing the solutions in rlist.
fglmquot topic
reference.doc / fglmquot
Computes a reduced Gröbner basis of the ideal quotient I:p for a zero-dimensional ideal I and a polynomial p using FGLM techniques.
fgset procedure
lejeune.lib
Creates a new ring for formal t-expansions determined by H and exports fgresult as (F,G) ideals of equations/inequations.
fibonacci procedure
general.lib
Compute the nth Fibonacci number (f(0)=f(1)=1) as a bigint in characteristic 0.
fibonacciGroup procedure
fpalgebras.lib
Constructs a ring for the Fibonacci group F(2,m) with relations exported as ideal I, using degree bound d.
FibreProduct procedure
scheme.lib
Computes the fibre product scheme of X and Y.
filecmd topic
reference.doc / filecmd
Describes how to read and execute a file in Singular using the file input command. Includes syntax, purpose, and an example.
finalcases procedure
redcgs.lib
Extract terminal vertices from a buildtree output list, yielding the reduced CGS as a list of segments.
finalCharts procedure
resgraph.lib
Generate surf/display graphics for the final charts of a resolved surface and write .ras images (UNIX only).
FinalVm procedure
JMBTest.lib
Compute and return an intvec weight vector by multiplying and reducing input jmp data degree-by-degree in an auxiliary ring.
FinalVm procedure
JMSConst.lib
Multiply and reduce jmp data degree-by-degree in a constructed auxiliary ring, returning an intvec weight/degree vector.
find topic
reference.doc / find
Returns the first position of a substring in a string, or 0 if not found. An optional third argument specifies the starting position for the search.
find_biggest_index procedure
crypto.lib
Returns the index of the biggest element in a list.
find_first_primitive_root procedure
crypto.lib
Return the first primitive root modulo mod1, or 0 if none is found.
find_in_list procedure
hnoether.lib
Find index i in a y-sorted list of intvec so that L[i][2]=p, else the first with L[i][2]<p, else size(L)+1.
find_index procedure
crypto.lib
Return the 1-based index of bigint e in list a, or 0 if not found.
find_ord procedure
deform.lib
Compute the matrix of ord(A[i,j]) w.r.t. a weight vector; returns 0-matrix if A is not quasi-homogeneous.
findAuto procedure
involut.lib
Constructs a ring encoding linear automorphisms of the current Lie-type G-algebra basering, returning families as ideals and matrices.
findifs_example procedure
findifs.lib
Demonstration procedure for findifs.lib showing the library approach on a finite-difference scheme example.
findifs.lib library
10 commands
We provide a presentation of difference operators in polynomial, semi-factorized, and nodal form. Running findifs_example(); demonstrates how to generate finite difference schemes for linear PDEs from given approximations.
findimAlgebra procedure
nctools.lib
Create a noncommutative finite dimensional algebra ring from a multiplication matrix; exports ideal fdQuot for qring definition.
findInList procedure
surfex.lib
Return the first index i with l[i]==obj[1], or 0 if not found.
findInvo procedure
involut.lib
Compute the ideal of linear involutions of the current Lie-type G-algebra and return an output ring with solution data.
findInvoDiag procedure
involut.lib
Compute homothetic (diagonal) involutions of the current G-algebra (Lie type) and return a ring with a list L of primes and involution matrices.
findnewvar procedure
GND.lib
Return a variable name based on Z that is not used in the current basering (e.g., Z, Z(1), Z(2), ...).
findOrbits procedure
gitfan.lib
Computes the orbit decomposition of the action of a permutation group G, optionally filtering by minimum simplex cardinality.
findOrientedBoundary procedure
polymake.lib
Compute the clockwise-oriented boundary of the convex hull of given planar lattice points and return boundary points and vertices.
findTorsion procedure
control.lib
Computes a Groebner/standard basis for the submodule of R annihilated by a given ideal (often yielding the torsion submodule).
finduni topic
reference.doc / finduni
Describes finduni, which computes a special ideal with univariate generators of minimal degree from a zero-dimensional reduced Gröbner basis.
findvars procedure
presolve.lib
Return variables occurring and not occurring in an object, as ideals and intvecs (4-entry list).
findZeroPoly procedure
ringgb.lib
Find a zero polynomial with the same leading term as f if it exists; otherwise return 0.
Finite fields topic
examples.doc / Finite fields
Defines a codimension 2 variety over \mathbb{Z}/p and searches for zeros on the torus, first over the prime field and then over a finite extension field with p^k elements.
Finite fields tutorial
tutor.tex / Finite fields
Defines a codimension 2 variety over \mathbb{Z}/p with generic coefficients and searches for zeros on the torus, first over the prime field and then over the extension field with p^k elements.
finiteDiagInvariants procedure
normaliz.lib
Compute monomial generators of the invariant ring of a finite abelian group acting diagonally, given congruence data matrix U.
finitediff.lib library
24 commands
Procedures to compute finite difference schemes.
finitenessTest procedure
algebra.lib
Checks whether specified variables occur as pure-power leading terms in generators of an ideal and returns related variable/relator ideals.
finiterep procedure
invar.lib
Representation of an object by a list of matrices.
finvar.lib library
49 commands
A library for computing polynomial invariants of finite matrix groups and generators of related varieties. The algorithms are based on work by B. Sturmfels, G. Kemper, S. King, W. Decker, and others.
First index is 1 topic
tricks.doc / First index is 1
In Singular, indices for all indexable objects start at 1 (unlike C). Examples illustrate indexing for ideals, intvecs, polynomials, and vectors.
First steps topic
start.doc / First steps
Introductory examples for interacting with Singular: basic input syntax, variables, matrices, loops, strings, and help commands. Demonstrates output behavior, history, and executing commands from strings.
First steps tutorial
tutor.tex / First steps
Introductory examples showing basic input syntax in Singular, including variables, matrices, loops, comments, help, and strings. Demonstrates output behavior and command execution from strings.
firstchild procedure
redcgs.lib
Return the first child of a given label/function identifier by extending it and delegating to nextbrother.
firstoct procedure
signcond.lib
Return the number of points of V(I) lying in the first octant (all coordinates positive).
FirstOrderDeformation kernel type
kernel
firstQuadrantComplex procedure
tateProdCplxNegGrad.lib
Compute the first quadrant subquotient complex of a multigraded complex with respect to a parameter vector c.
fitting procedure
homolog.lib
Compute the (standard basis of the) n-th Fitting ideal of coker(M).
Fitzgerald-Lax method topic
math.doc / Fitzgerald-Lax method
Describes affine variety codes and a Gröbner-basis-based decoding method (generalizing CRHT) for linear codes via elimination theory.
fixedPoints procedure
schubert.lib
Return fixed-point component graphs for the torus action on a moduli space of stable maps.
fl2poly procedure
dmodapp.lib
Reconstruct a monic univariate polynomial from a list of roots (ideal) and multiplicities (intvec) in variable s.
flatLocus procedure
homolog.lib
Compute an ideal whose complement defines the flat locus of coker(M) via Fitting ideals (output not necessarily radical).
flatten procedure
matrix.lib
Create an ideal generated by all entries of a matrix/smatrix (for smatrix: columns appended).
flatteningStrat procedure
homolog.lib
Compute flattening stratification of coker(M) via successive Fitting ideals; returns a list of ideals.
flintQ topic
reference.doc / flintQ
Documents the Singular function flintQ, which returns a coefficient ring of multivariate rational functions over \mathbb{Q} for use in ring definitions.
Float topic
reference.doc / Float
Describes the Float coefficient ring for inexact real numbers, used in ring definitions. Includes syntax, type, and an example.
FloorDiagrams procedure
tropicalEllipticCovers.lib
Writes and compiles a LaTeX/TikZ file visualizing floor diagrams (tropical stable maps) for a given pearl chain and data.
Flow control topic
general.doc / Flow control
Describes blocks and the main flow-control constructs in Singular, including conditional statements, loops, and procedure structure.
FLpreprocess procedure
decodegb.lib
Constructs a ring with a specific variable order (based on p,e,n,t) and returns the ring and computed s.
for topic
reference.doc / for
Describes the for control structure for repetitive, conditional execution of a command block, including syntax, behavior, and an example.
Formal Checker topic
general.doc / Formal Checker
Describes the online formal library checker for SINGULAR and what feedback it provides after uploading a library file.
formaldivisor type
divisors.lib
An integer formal sum of divisors (not necessarily prime), which can be evaluated to a divisor.
formaldivisor_print procedure
divisors.lib
Format and output a formaldivisor as a readable string expression.
formaldivisorplus procedure
divisors.lib
Add two formal divisors by combining their formal summands.
Formatting output topic
examples.doc / Formatting output
Demonstrates how to embed computation results into text using strings and how to align output by adding appropriate spacing.
Formatting output tutorial
tutor.tex / Formatting output
Shows how to insert computation results into text using strings. Demonstrates basic output and aligned output by computing and adding appropriate spacing.
forward procedure
finitediff.lib
Return a predefined forward finite-difference approximation vector for a derivative with respect to a basering variable.
fourier procedure
dmodapp.lib
Computes the Fourier transform of an ideal in a Weyl algebra, optionally restricted to selected variable indices.
fouriersystem procedure
finitediff.lib
Substitute approximations into a PDE matrix system, split into time steps, Fourier transform, and return transformed matrices with eigenvalue data.
fpadim_lib topic
letterplace.doc / fpadim_lib
Given the free associative algebra \(A = K\langle x_1,\ldots,x_n\rangle\) and a (finite or truncated) Gröbner basis \(GB\), one is interested in the following data for \(A/\langle GB\rangle\):
fpadim.lib library
8 commands
Given the free associative algebra \(A = K\langle x_1,\ldots,x_n\rangle\) and a (finite or truncated) Gröbner basis \(GB\), one is interested in the following data for \(A/\langle GB\rangle\):
fpalgebras_lib topic
letterplace.doc / fpalgebras_lib
Generates various finitely presented algebras, including group algebras of finitely presented groups, in the Letterplace ring.
fpalgebras.lib library
29 commands
Generates various finitely presented algebras, including group algebras of finitely presented groups, in the Letterplace ring.
fpaprops_lib topic
letterplace.doc / fpaprops_lib
This library implements algorithms to compute various algorithmic ring-theoretic properties of finitely presented algebras.
fpaprops.lib library
9 commands
This library implements algorithms to compute various algorithmic ring-theoretic properties of finitely presented algebras.
fPiece procedure
stanleyreisner.lib
Compute the graded piece (degree a-b) of the first order deformation of a monomial face ideal I.
fprintf procedure
standard.lib
Formatted output to a link using a printf-style format string and additional arguments.
fprintf topic
reference.doc / fprintf
Reference entry for the Singular command fprintf.
fracStatus procedure
olga.lib
Check whether a given fraction vector represents a valid fraction in the specified localization; returns [0/1, status message].
frandwalk procedure
rwalk.lib
Compute a standard basis of an ideal via the Random Fractal Walk algorithm (lex or weighted-lex ordering).
Free associative algebras topic
letterplace.doc / Free associative algebras
Defines the free associative algebra over a field K on generators x_1,\ldots,x_n, and introduces finitely presented and standard finitely presented associative algebras.
Free resolution topic
examples.doc / Free resolution
Introduces the Singular type resolution and the commands for computing free resolutions. Includes examples illustrating resolutions, Betti numbers, and related operations.
Free resolution tutorial
tutor.tex / Free resolution
Introduces the Singular type resolution and the main commands for computing free resolutions. Includes examples illustrating minimal resolutions, Betti numbers, and conversions to lists of modules.
freeAlgebra BR_LETTERPLACE_BR topic
letterplace.doc / freeAlgebra BR_LETTERPLACE_BR
Creates a free (letterplace) ring from a given ring up to a specified degree bound, inheriting monomial orderings. The resulting ring carries an isLetterplaceRing attribute describing its encoding.
freegb_lib topic
letterplace.doc / freegb_lib
For the theory, see the chapter Letterplace in the Singular Manual.
freegb.lib library
25 commands
For the theory, see the chapter Letterplace in the Singular Manual.
freeGBasis procedure
freegb.lib
Compute a two-sided Groebner basis up to degree d for an ideal in a free associative algebra encoded as a list of modules.
freemodule kernel type
kernel
freeModule procedure
modules.lib
Create a (graded) free module over a given ring with specified rank and generator degrees.
freemodule topic
reference.doc / freemodule
Creates the free module of rank n, generated by gen(1), ..., gen(n). Returns a module and can be used to generate a unit matrix.
FreeModule type
modules.lib
Graded free modules represented by the base ring and degrees.
freeModule2Module procedure
modules.lib
Converts a FreeModule into a Module.
freerank procedure
polylib.lib
Return rank of coker(input) if the cokernel is free, otherwise -1.
fres topic
reference.doc / fres
Documents fres, which computes a (not necessarily minimal) free resolution of an ideal/module using Schreyer's algorithm, with options to control the amount of computed syzygy data.
from_boolean_constant procedure
polybori.lib
Convert a PolyBoRi boolean constant (pyobject) to a constant Singular polynomial (0 or 1).
from_boolean_ideal procedure
polybori.lib
Convert a Boolean ideal (bideal) into a Singular ideal by converting each generator.
from_boolean_poly procedure
polybori.lib
Convert a boolean polynomial.
from_boolean_set procedure
polybori.lib
Convert a Boolean set to its ZDD (zero-suppressed decision diagram) representation.
frwalk topic
reference.doc / frwalk
Computes a Gröbner basis in the current ring using the fractal walk algorithm. It is mainly used to obtain a lexicographical Gröbner basis from a reduced Gröbner basis with respect to a degree ordering.
fullDimImages procedure
gitfan.lib
Filter a-faces (intvecs) to those whose projection via Q is full-dimensional (restricted submatrix has full row rank).
fullFan procedure
gfan.lib
Construct a full fan in ambient dimension n.
fullSerreRelations procedure
fpalgebras.lib
Construct a letterplace ring (degree-bounded) and its ideal fsRel of inhomogeneous Serre relations for a Cartan matrix A.
fullSpace procedure
gfan.lib
Return the full ambient space as a cone of dimension n.
FultonA procedure
chern.lib
Compute the Fulton classes of the subscheme defined by a homogeneous ideal.
Functionality and release notes of Letterplace topic
letterplace.doc / Functionality and release notes of Letterplace
Overview of computations supported by the Letterplace subsystem in Singular, including restrictions, conventions, and available libraries. Includes examples and cross-references to related functions.
Functions topic
reference.doc / Functions
Reference list of all built-in Singular kernel functions, commands, and special variables, with a note on additional functions provided by the automatically loaded standard library.
Functions and system variables manual
reference.doc
Entry points to the reference sections on functions, control structures, and system variables.
Functions BR_LETTERPLACE_BR topic
letterplace.doc / Functions BR_LETTERPLACE_BR
Reference list of all built-in functions and commands of the Letterplace kernel, including syntax notes and links to related sections.
Functions BR_PLURAL_BR topic
plural.doc / Functions BR_PLURAL_BR
Reference list of all built-in functions and commands of the Plural kernel, including links to detailed descriptions and notes on shared Singular features.
further_hn_proc procedure
hnoether.lib
Lists additional (normally hidden) procedures available in hnoether.lib for interactive use.
furtherInvar procedure
ainvar.lib
Compute further invariants of a vector field from an invariant subring, factoring out maximal powers of a given variable q.
fVector procedure
gfan.lib
Compute the f-vector of a fan.
fwalk procedure
grwalk.lib
Compute a standard basis of an ideal using the fractal walk algorithm (lex or weighted-lex).

G

EntryDescription
G_a -Invariants topic
examples.doc / G_a -Invariants
Example computations of invariant rings in characteristic 0 using a Lie algebra generated by a single vector field in Singular.
G_a -Invariants tutorial
tutor.tex / G_a -Invariants
Computing invariant rings in characteristic 0 using a Lie algebra generated by a single vector field. Examples show how to define the vector field and compute invariants in Singular.
G-algebras topic
plural.doc / G-algebras
Defines PBW bases and G-algebras, states core properties, and explains how to set up a G-algebra in Plural, including required data and checks.
G25Action procedure
gitfan.lib
Return a list of permutations representing S5 as a subgroup of S10 via its action on the Grassmannian G25.
Gamma procedure
resbinomial.lib
Computes the Gamma resolution function for the monomial case, returning max exponents, Gamma value data, and blow-up center.
gauss_col procedure
matrix.lib
Compute a column-reduced upper-triangular normal form of a matrix, optionally also returning the transformation matrix.
gauss_nf procedure
linalg.lib
Compute the Gauss normal form of a constant matrix (via gaussred).
gauss_row procedure
matrix.lib
Row-reduce a matrix via Gaussian elimination; optionally also return the corresponding transformation matrix.
Gauss-Manin connection topic
math.doc / Gauss-Manin connection
Introduces the Gauss–Manin connection for isolated hypersurface singularities, including V- and Hodge filtrations, the singularity spectrum, and semicontinuity. Provides Singular examples for computing monodromy and spectra.
gaussColWithoutPerm procedure
recover.lib
Performs basic Gaussian column reduction of a constant-polynomial matrix without permuting columns.
gaussred procedure
linalg.lib
Gaussian elimination for a constant matrix, returning P,U,S and rank with PA = US.
gaussred_pivot procedure
linalg.lib
Row-reduces a constant matrix with row pivoting, returning P,U,S and rank such that PA=US.
gaussRowWithoutPerm procedure
recover.lib
Basic Gaussian row reduction of a matrix of constant polynomials, without permuting the rows.
gbR procedure
redcgs.lib
Compute a Gröbner basis of an ideal by mapping it to ring @P, running groebner with redSB, then mapping back.
GBsolve procedure
ffsolve.lib
Solve a multivariate equation system (ideal) over a finite-field extension using Groebner-basis methods, returning the common roots.
GBWeight procedure
dmodapp.lib
Computes a Groebner basis of a Weyl algebra ideal w.r.t. weight vectors (u,v), via weighted homogenization/dehomogenization.
gcd topic
reference.doc / gcd
Computes the greatest common divisor (gcd) for integers, bigints, numbers, and polynomials. Notes describe limitations for certain coefficient fields.
gcddivisor procedure
hyperel.lib
Compute the gcd (common part with minimal multiplicities) of two divisors represented as lists.
gcdMon procedure
monomialideal.lib
Return the monomial greatest common divisor of two monomials f and g.
gcdTest procedure
primdec.lib
Test whether all pairs of generators of an ideal are coprime (returns 1) or not (returns 0) in a global, non-quotient ring.
GCS procedure
redcgs.lib
Builds and returns a case list by adding subcases from case[3] and relabeling indices.
gen topic
reference.doc / gen
Documents the Singular command gen, which returns the i-th free generator of a free module.
General command syntax topic
general.doc / General command syntax
Describes the basic forms of commands in Singular: declarations, assignments, function calls without return values, and print commands.
General concepts manual
general.doc
Table of contents for the “General concepts” document, listing the main sections and their links.
General definitions for orderings topic
pdata.doc / General definitions for orderings
Defines monomial orderings on K[x_1,\ldots,x_n], distinguishes global/local/mixed orderings, and introduces the localization \mathrm{Loc}K[x] used for standard basis computations.
General syntax of a ring declaration topic
general.doc / General syntax of a ring declaration
Describes the syntax and meaning of ring and quotient ring declarations in Singular, including coefficient fields and monomial orderings.
general.lib library
22 commands
This library provides elementary utility procedures for general computations, such as combinatorial functions, simple numeric constants, list and string helpers, and small wrappers for common algebraic operations.
Generalized Newton identities topic
math.doc / Generalized Newton identities
Defines the error-locator polynomial and states the generalized Newton identities relating syndromes and elementary symmetric functions. Lists the polynomial system Newton_t used for decoding up to error-correcting capacity.
generalOrder procedure
weierstr.lib
Return the order of f(0,...,0,T) in the last variable T, or -1 if this specialization is 0.
generateG procedure
crypto.lib
Generate the m-th division polynomial for the elliptic curve y^2 = x^3 + ax + b.
generatingFunction procedure
ellipticcovers.lib
Compute the multivariate generating function (a poly) of Gromov-Witten invariants of a graph up to degree d.
generatorsOfLinealitySpace procedure
gfan.lib
Return generators of the lineality space of a cone.
generatorsOfSpan procedure
gfan.lib
Return a bigintmat of generators for the linear span of a cone.
genericid procedure
random.lib
Create generic sparse triangular linear combinations of an ideal/module's generators using random coefficients in a bounded range.
genericity procedure
control.lib
Determine parameter expressions assumed non-zero during Groebner basis computation; returns a list of strings or "-" if none.
genericmat procedure
matrix.lib
Create an n×m matrix with entries taken from a given ideal (default maxideal(1)); missing entries are filled with 0.
genimage procedure
redcgs.lib
Try to construct a more generic polynomial basis/image from two segment descriptions (f,N,W), returning an ideal of generators.
genMDSMat procedure
decodegb.lib
Construct an n x n MDS (Vandermonde) matrix over a predefined extension field using primitive element a.
genoutput procedure
resbinomial.lib
Builds output ring lists for the resolution process: final-chart rings and all affine-chart rings.
genSymId procedure
symodstd.lib
Compute the smallest sigma-invariant ideal containing I (i.e., J with sigma(J)=J and I subset J).
genus procedure
normal.lib
Computes the geometric genus of a projective curve.
Geometric Invariant Theory topic
examples.doc / Geometric Invariant Theory
Entry point to the Geometric Invariant Theory documentation, linking to the GIT-Fans section.
Geometric Invariant Theory tutorial
tutor.tex / Geometric Invariant Theory
Entry point for the Geometric Invariant Theory documentation, with a link to the GIT-Fans section.
germWithNNB procedure
arnold.lib
Compute a stable-equivalent germ with nondegenerate Newton boundary from a given NormalForm, or error if impossible.
germWithSemiNormalizedNNB procedure
arnold.lib
Return N.semiNormalizedNNBGerm if it is a (semi-)normalized nondegenerate Newton-boundary germ; otherwise raise an ERROR.
get_inf_def procedure
deform.lib
Compute an infinitesimal family (Ms,Ls) from an Ext^1 basis and its lifted syzygies.
get_last_divisor procedure
hnoether.lib
Return the last quotient Q produced by the Euclidean algorithm steps for integers M and N.
getArguments procedure
tasks.lib
Return the list of arguments associated with a task (not applicable to uninitialized tasks).
getClasses procedure
integralbasis.lib
Partition a mixed list into equivalence classes by comparing extracted code data (from rings or list entries).
getCommand procedure
tasks.lib
Return the command string associated with an initialized task.
getCone procedure
gfan.lib
Return the i-th cone of dimension d in a fan; optionally enumerate over maximal cones only.
getcores procedure
resources.lib
Return the number of available processor cores.
getCotangentialBundle procedure
sheafcoh.lib
Constructs and returns a module (cokernel) representing the cotangential bundle via a minimal resolution of maxideal(1).
getdump topic
reference.doc / getdump
Reads the complete content of a file or link and restores all variables from it. For ASCII links it is equivalent to executing the result of reading the link.
getGradedGenerator procedure
multigrading.lib
Return the i-th generator of an ideal/module; for modules, the generator is returned with the induced module grading.
getGradingGroup procedure
multigrading.lib
Return the grading group attached to a ring (defaults to basering).
GetGroup procedure
finvar.lib
Convert a group given by permutations/cycles into a list of corresponding matrices in the current basering.
getIdealSheaf procedure
sheafcoh.lib
Compute a module representing the ideal sheaf via a minimal resolution (up to 2 steps) and return its cokernel module.
getIdealSheafPullback procedure
sheafcoh.lib
Pull back an ideal I along the ring map determined by pi, returning the substituted ideal in the base ring.
getInsideColorStr procedure
surfex.lib
Return a 3-line RGB string describing inside color number no.
getLattice procedure
multigrading.lib
Return the grading group lattice (torsion generators) attached to a ring, optionally in Hermite or Smith normal form.
getLinearForms procedure
gfan.lib
Return the bigintmat of linear forms previously stored in a cone or polytope.
getMaxPoints procedure
maxlike.lib
Compute local maximum points of the log-likelihood among real nonnegative solutions and return a ring containing MPOINTS and LHESSIANS.
getModuleGrading procedure
multigrading.lib
Return the integer matrix of multiweights (generator weights) attached to a module/vector.
getMultiplicity procedure
gfan.lib
Return the multiplicity stored in a cone or polytope (or 1 if no multiplicity is stored).
getnm procedure
hnoether.lib
Return intvec(n,m) giving the Newton polygon intersections of bivariate f with the y-axis (0,n) and x-axis (m,0).
getOneComp procedure
bimodules.lib
For p in an enveloping algebra A^{env} of the form (sum_i a_i)(X)b, return (sum_i a_i)(X)1 as a poly in A^{env}.
getOneVar procedure
normal.lib
Returns a polynomial from a 0-dimensional ideal with smallest degree in the chosen variable (only for 2-variable rings).
getOutsideColorStr procedure
surfex.lib
Return a 3-line RGB string description for the outside color with index no.
getParameterValue procedure
normal.lib
Searches a list for a sublist whose first element equals a given name and returns its second element (or 0 if not found).
getRelations procedure
recover.lib
Find homogeneous polynomial relations of degree <= D among the components of a point p using Veronese embeddings and LLL.
getRelationsRadical procedure
recover.lib
Find homogeneous polynomial relations of degree <= D vanishing on all points in P using randomized Veronese embeddings.
getResult procedure
tasks.lib
Return the result stored in a completed task.
getSegments procedure
integralbasis.lib
Compute Puiseux/Hensel segments of the local component of f and match them to given classes by Newton polygon slope.
getSmallest procedure
normal.lib
Return the generator of an ideal with smallest degree (ties broken by fewest monomials).
getState procedure
tasks.lib
Return the current state of a task as a string.
getStringpfd procedure
pfd.lib
Convert a partial fraction decomposition list (as returned by pfd) into a single string.
getStringpfd_indexed procedure
pfd.lib
Convert a pfd decomposition list into a single string, using indexed denominator factors q1,q2,...
getStructureSheaf procedure
sheafcoh.lib
Construct a module representing the structure sheaf; optionally create/return a quotient ring by an ideal and export the module.
getSurfexCodeFromList procedure
surfex.lib
Build Surfex (.sux) code string from a structured list describing equations, curves, parameters and points.
getSurfexCodeFromListDirect procedure
surfex.lib
Build Surfex (.sux) code string from a structured list describing equations, curves, parameters, and points.
getSurfexCodeFromSpecifyList procedure
surfex.lib
Build Surfex (.sux) code for TYPE: specify from a structured 'varieties' list (equations, curves, parameters, singular points).
getSurfexCodeFromStringList procedure
surfex.lib
Builds and returns Surfex .sux code as a string from a structured 3-part 'varieties' list.
Getting started topic
start.doc / Getting started
Introduction to Singular and the role of rings in polynomial computations, with links to basic topics for new users.
Getting started tutorial
tutor.tex / Getting started
Introduction to basic usage of Singular, focusing on the need to define rings for most polynomial computations. Includes links to key introductory sections.
getValuation procedure
integralbasis.lib
Compute the best (minimal) weighted valuation across all Puiseux expansion classes; returns -1 for infinite valuation.
getVariableWeights procedure
multigrading.lib
Return the multigrading (variable weight) matrix attached to the basering or a given ring.
getWitnessSet procedure
recover.lib
Read Bertini's "main_data" file and return the witness points as a list of numeric point lists.
gfan.lib library
60 commands
Interface to gfan and gfanlib for computations in convex geometry.
GIT-Fans topic
examples.doc / GIT-Fans
Introduces GIT-fans and the Singular library gitfan.lib, including an example computation (with and without symmetries) and a workflow using GAP to obtain orbit data.
GIT-Fans tutorial
tutor.tex / GIT-Fans
Introduces GIT-fans and the Singular library gitfan.lib for computing them, including the use of finite symmetries and external orbit decompositions via GAP.
GITcone procedure
gitfan.lib
Compute the intersection of all orbit cones in OCcones that contain the weight w, returning the GIT cone and contributing indices.
gitCone procedure
gitfan.lib
Compute the GIT-cone lambda(w) as the intersection of all orbit cones containing the weight vector w.
GITfan procedure
gitfan.lib
Computes the GIT fan associated to an ideal J and an integer matrix Q, optionally using a symmetry group action on columns of Q.
gitfan.lib library
39 commands
This library provides procedures to compute GIT-fans, torus orbits, and GKZ-fans.
GITfanFromOrbitCones procedure
gitfan.lib
Compute hashes of maximal GIT-cones as the common refinement of orbit cones inside Qgamma, optionally writing hashes and cones to files.
GITfanParallel procedure
gitfan.lib
Compute the common refinement (GIT-fan) from orbit cones in parallel and return hashes of the maximal GIT-cones.
GITfanParallelSymmetric procedure
gitfan.lib
Compute the GIT-fan common refinement using symmetries and parallelism; returns hashes of maximal GIT-cones.
GITfanSymmetric procedure
gitfan.lib
Compute the (symmetric) common refinement of orbit cones in OC inside Qgamma and return hashes of the maximal GIT-cones (optionally written to files).
GJmpMins procedure
JMBTest.lib
Compare two jmp objects and return -1/0/1 indicating whether P is lower/equal/higher than Q.
GKdim procedure
gkdim.lib
Compute the Gelfand–Kirillov dimension of a factor module presented by an ideal/module/matrix (returns -1 for the zero factor module).
gkdim procedure
gkdim.lib
Wrapper around GKdim(L) computing the Gelfand–Kirillov dimension from input list L.
gkdim_lib topic
plulibs.doc / gkdim_lib
Procedures for computing the GelfandKirillov dimension.
gkdim.lib library
2 commands
Procedures for computing the GelfandKirillov dimension.
GKExp procedure
nchilbert.lib
Compute the Gelfand–Kirillov dimension of coker(M) in a G-algebra (returns -1 for the zero module).
gkzFan procedure
gitfan.lib
Returns the GKZ-fan of the integer matrix Q.
GKZfan procedure
gitfan.lib
Return the GKZ-fan of the integer matrix Q.
GKZsystem procedure
ncalg.lib
Creates a Weyl algebra ring for given A and builds/exports the GKZ ideal GKZid using a toric_ideal algorithm.
Global orderings topic
pdata.doc / Global orderings
Defines the global monomial orderings used in Singular, including lexicographical, (reverse) degree lexicographical, and weighted variants.
globalSections procedure
divisors.lib
Compute a basis (as a list) for the space of global sections of a divisor.
gmscoeffs procedure
gmssing.lib
Compute the C[[s]]-basis coefficient matrix of p modulo s^(K+1), returning coefficients and a remainder ideal for continuation.
gmsnf procedure
gmssing.lib
Compute truncated normal form: projection of p to C[[s]] mod s^(K+1), returning (projection, remainder) ideals.
gmspoly.lib library
2 commands
A library for computing the Gauss-Manin system of a cohomologically tame polynomial \(f\). Schulze's algorithm [Sch05], based on Sabbah's theory [Sab98], is used to compute a good basis of (the Brieskorn lattice of) the Gauss-Manin system and the differential
gmsring procedure
gmssing.lib
Create a Gauss-Manin system ring for polynomial t, introducing variable s and exporting Jacobian data and a basis.
gmssing.lib library
21 commands
A library for computing invariants related to the GaussManin system of an isolated hypersurface singularity.
GND.lib library
3 commands
Provides a method to compute the General Néron Desingularization in the setting of one-dimensional local domains.
goettsche.lib library
11 commands
This library provides implementations of formulas (including Drezet’s formula) for computing Poincaré polynomials and Betti numbers of several moduli spaces, including Hilbert schemes of points, punctual Quot-schemes, symmetric powers, and moduli spaces of Kro
GoettscheF procedure
goettsche.lib
Compute the Goettsche generating formula as a polynomial in z and t, truncated to degree n in t, from surface Betti numbers.
goodBasis procedure
gmspoly.lib
Compute a good basis of the Brieskorn lattice for a cohomologically tame polynomial, returning a new ring with basis ideal b and connection matrix A.
goodFilename procedure
resgraph.lib
Test whether a given filename can be created/updated (writable) by trying to touch it.
GPolyMin procedure
JMSConst.lib
Compare two jmp objects and return -1/0/1 indicating whether P is lower/equal/higher than Q.
graal.lib library
10 commands
This library provides a computational treatment of localizations at prime ideals and their associated graded rings, based on work of Mora.
graalBearer kernel type
kernel
graalBearer_print procedure
graal.lib
Prints a summary of the rings, quotient ideals, generators and maps stored in a graalBearer object.
graalMixed procedure
graal.lib
Construct a graalBearer with required rings/ideals for the graal machinery, optionally with a time limit for general position search.
Graded commutative algebras (SCA) topic
sca.doc / Graded commutative algebras (SCA)
Describes basic notions and implementation aspects of Singular’s experimental SCA kernel extension for graded (super-)commutative algebras, with a short example. Includes a GR-algebra representation and key properties.
gradedModules.lib library
36 commands
The library provides procedures for constructing and manipulating graded modules, graded matrices, and graded resolutions.
gradeNumber procedure
purityfiltration.lib
Compute the grade number of the module coker(R), i.e. the smallest i with Ext^i(M,D) != 0 (returns -1 if M=0).
gradiator procedure
multigrading.lib
Coarsens the basering multigrading until the given polynomial or ideal becomes homogeneous (returns success as int).
graph type
ellipticcovers.lib
Type for graphs used in the computation (e.g. Feynman graphs).
graph type
tropicalEllipticCovers.lib
Graph data used to represent Feynman graphs and related combinatorial input.
graph,number,list,poly,string type
tropicalEllipticCovers.lib
graphics.lib library
3 commands
Procedures for generating Mathematica input text to visualize ideals, including staircase diagrams and plots (using ImplicitPlot).
graspList procedure
decodegb.lib
Returns the sublist of l consisting of elements with indices from m through n (inclusive).
Grassmannian procedure
schubert.lib
Create the abstract Grassmannian variety G(k,n) with its Chow ring relations and exported tautological Chern characters.
graver4ti2 procedure
sing4ti2.lib
Compute the toric ideal specified by the Graver basis of the lattice given by ker(A) or, with a nonzero flag, Im(A).
grconcat procedure
gradedModules.lib
Concatenate two graded objects with the same destination, forming the block map (A|B): src(A)+src(B) -> dst.
grdeg procedure
gradedModules.lib
Return the graded degrees (an intvec) of the columns/generators of a graded object M.
grgens procedure
gradedModules.lib
Compute graded generators of coker(M) and return them as columns of a graded map.
grgroebner procedure
gradedModules.lib
Compute the graded Groebner basis of a graded object.
grisequal procedure
gradedModules.lib
Test whether two graded objects are equal (currently requires literal equality), returning 1 if equal and 0 otherwise.
grlift procedure
gradedModules.lib
Compute a graded lift matrix expressing generators of Im(B) in terms of Im(A) as a graded object.
grlift0 procedure
gradedModules.lib
Constructs a degree-0 map alpha0: coker(M) -> coker(N) by lifting from a given map alpha1 between the source presentations.
grlifting procedure
gradedModules.lib
Construct a map of chain complexes between free resolutions of Img(M) and Img(N) (returned as a list/map).
grlifting2 procedure
gradedModules.lib
Construct a map of chain complexes between free resolutions of coker(A) and coker(B) (returned as a list).
grlifting3 procedure
gradedModules.lib
Compute a list of lifted graded maps between resolutions of two graded modules/presentations.
grneg procedure
gradedModules.lib
Return the graded object corresponding to the negation of A (the graded map/object defined by -A).
Grob1Levels procedure
grobcov.lib
From grobcov(F,"rep",1) output, select segments with solutions and compute ideals closing the canonical levels of the resulting constructible set and its complement.
grobcov procedure
grobcov.lib
Compute the Groebner Cover of a parametric ideal in Q[a][x], optionally with options controlling segments and representations.
grobcov.lib library
34 commands
In 2010, this library was designed to contain the Montes–Wibmer algorithm for computing the Canonical Gröbner Cover of a parametric ideal. The central routine is grobcov.
grobj procedure
gradedModules.lib
Construct a graded object (module/map presentation) from a matrix/ideal/module M with row weights w and optional column degrees d.
groebner procedure
standard.lib
Compute a standard (Groebner) basis of an ideal or module using a heuristic default or specified method strings.
groebner topic
reference.doc / groebner
Reference entry for the Singular command groebner. This section is currently a placeholder containing only the heading.
groebner and std topic
examples.doc / groebner and std
Explains Singular’s implementations of Buchberger’s algorithm via std and groebner, and demonstrates their use on cyclic roots with diagnostic options enabled.
groebner and std tutorial
tutor.tex / groebner and std
Describes Singular’s implementations of Buchberger’s algorithm via std and groebner, including options affecting reduced bases and output. Provides an example computing a lexicographic Gröbner basis for cyclic roots in 6 variables.
Groebner bases for two-sided ideals in free associative algebras topic
letterplace.doc / Groebner bases for two-sided ideals in free associative algebras
Defines two-sided divisibility of monomials and (two-sided) Gröbner bases in free associative algebras. Explains truncated Gröbner bases under positive weights and gives a finiteness criterion in the weighted homogeneous case.
Groebner bases in G-algebras topic
plural.doc / Groebner bases in G-algebras
Defines left Gröbner bases and normal forms in G-algebras, and states ideal membership criteria. Includes pointers to Singular/Plural commands for left, right, and two-sided cases.
Groebner basis conversion topic
examples.doc / Groebner basis conversion
Explains how monomial order affects Buchberger’s algorithm and outlines Groebner basis conversion and the Hilbert-driven Buchberger algorithm. Includes Singular commands and an example comparing runtimes.
Groebner basis conversion tutorial
tutor.tex / Groebner basis conversion
Explains why monomial order affects Gröbner basis performance and outlines conversion methods and Hilbert-driven Buchberger in Singular, with a timing example.
groebnerBasis procedure
normaliz.lib
Compute a Groebner basis of the lattice ideal defined by a binomial ideal I (requires an NmzFilename to be set).
groebnerComplex procedure
tropical.lib
Compute the Groebner complex (as a fan) of a polynomial or homogeneous ideal with respect to the p-adic valuation.
groebnerCone procedure
tropical.lib
Compute the Groebner cone of a reduced standard basis with respect to a given weight (intvec or bigintmat).
groebnerFan procedure
tropical.lib
Compute the Groebner fan of a polynomial or a (homogeneous) ideal.
gromovWitten procedure
ellipticcovers.lib
Compute Gromov–Witten invariant of a propagator, or of a graph for a given degree or edge-branch type.
grorder procedure
gradedModules.lib
Reorder/transform a graded object (or list of them) into block form; returns the same type as input.
group kernel type
kernel
group_reynolds procedure
finvar.lib
Generate all elements of a finite matrix group and construct data for the Reynolds operator (and sometimes an LCM of element orders).
groupActionOnHashes procedure
gitfan.lib
Compute the permutation representation induced by matrices Asigma on the orbit cones grouped in OCmov.
groupActionOnQImage procedure
gitfan.lib
Compute the induced action of a permutation group on the image of an integer matrix Q (characteristic 0), returning matrices.
groups.lib library
1 commands
Library groups.lib provides basic functionality for finite group theory.
groupsegments procedure
redcgs.lib
Group entries of T by the value at index [7], collecting per-group lists of fields [1,3,4,5,6].
grpower procedure
gradedModules.lib
Compute the graded direct power A^p of a graded object A for a positive integer p.
grpres procedure
gradedModules.lib
Compute a graded presentation for the submodule generated by the columns of M (returned as a graded module via coker).
grprod procedure
gradedModules.lib
Compute the graded product MN of two graded objects (composition of maps).
grrange procedure
gradedModules.lib
Return the intvec of weights of the module units of a graded object, describing its target.
grres procedure
gradedModules.lib
Compute a graded resolution of a graded object up to length l; optionally minimise it if an extra int is given.
grrndmap procedure
gradedModules.lib
Construct a random degree-0 graded homomorphism src(S) -> src(D) as a graded object.
grrndmap2 procedure
gradedModules.lib
Construct a random degree-0 graded homomorphism between the target of D and S.
grrndmat procedure
gradedModules.lib
Generate a random polynomial matrix compatible with given source and destination gradings.
grshift procedure
gradedModules.lib
Shift the grading on a graded object A by d: A(i) -> A(i+d).
grsum procedure
gradedModules.lib
Compute the graded direct sum of two graded objects.
grsyz procedure
gradedModules.lib
Compute the graded syzygy module of a graded object.
grtest procedure
gradedModules.lib
Check whether an ideal/module/matrix is a valid graded object (based on grading attributes); returns 1 if valid, else 0.
grtranspose procedure
gradedModules.lib
Compute the graded transpose of a graded object without reordering.
grtranspose1 procedure
gradedModules.lib
Compute the graded transpose of a graded object or a list (chain complex) of graded objects.
grtwist procedure
gradedModules.lib
Compute a graded object giving a presentation of the free module S(d)^a.
grtwists procedure
gradedModules.lib
Compute a graded object (presentation) representing the direct sum S(v[1]) + ... + S(v[size(v)]).
grview procedure
gradedModules.lib
Print the degree/grading data of a graded object (or a list such as a graded resolution/complex).
grwalk.lib library
7 commands
### Groebner Walk Conversion Algorithms
grzero procedure
gradedModules.lib
Return the graded object representing S(0)^1 (presentation of the rank-1 free module in degree 0).
GTZmod procedure
mprimdec.lib
Compute the minimal primary decomposition of a module using a generalized Gianni–Trager–Zacharias algorithm, optionally skipping components containing a check module.
GTZopt procedure
mprimdec.lib
Compute the minimal primary decomposition of a module using an optimized generalized Gianni–Trager–Zacharias algorithm.
gwalk procedure
grwalk.lib
Compute a standard basis of an ideal using the improved Groebner walk algorithm between weight orderings.
Gweights procedure
nctools.lib
Compute a weight int vector for a compatible weighted ordering of a G-algebra from a ring or square matrix of relations.

H

EntryDescription
h_increasing_knapsack procedure
crypto.lib
Generate an h-increasing knapsack list of length ksize.
H2basis procedure
mondromy.lib
Compute a list of representatives of a C{f}-basis of the Brieskorn lattice H'' for an isolated hypersurface singularity.
Handling graded modules topic
examples.doc / Handling graded modules
Explains how to work with graded modules in Singular using an example, including checking degrees, shifting degrees, and computing graded free resolutions.
Handling graded modules tutorial
tutor.tex / Handling graded modules
Example-driven introduction to working with graded modules in Singular: checking homogeneity, shifting degrees, and using graded free resolutions and Betti data.
hasAlgExtensionCoefficient procedure
ring.lib
Test whether a ring has an algebraic extension as coefficient domain (returns 1 if yes, 0 otherwise).
hasCommutativeVars procedure
ring.lib
Test whether a given ring is a commutative polynomial ring (returns 1 if yes, 0 otherwise).
hasFieldCoefficient procedure
ring.lib
Test whether a ring's coefficients form (and are considered to be) a field.
hasGFCoefficient procedure
ring.lib
Test whether a ring has coefficients of the form GF(p,k).
hasGlobalOrdering procedure
ring.lib
Test whether a ring has a global monomial ordering.
hashesToFan procedure
gitfan.lib
Build a fan whose maximal cones are intersections of orbit cones in OC selected by the binary representation of hashes.
hashTable procedure
methods.lib
Construct a HashTable from a list of keys and a list of corresponding values.
HashTable type
methods.lib
The class of all hash tables.
hashToCone procedure
gitfan.lib
Return the cone given by intersecting those cones in OC selected by the binary representation of hash v.
hasLeftDenom procedure
ncfrac.lib
Test whether an ncfrac has a left representation (left denominator).
hasMixedOrdering procedure
ring.lib
Test whether the current ring has a mixed monomial ordering (mixed vs purely global/local).
hasNumericCoeffs procedure
ring.lib
Test whether a ring has inexact (numeric) coefficient type.
hasQQCoefficient procedure
ring.lib
Test whether a ring has coefficient field QQ (returns 1 if yes, 0 otherwise).
hasRightDenom procedure
ncfrac.lib
Check whether an ncfrac has a right representation (right denominator).
hasTransExtensionCoefficient procedure
ring.lib
Test whether a ring has coefficients that are rational functions (transcendental extension).
hasZp_aCoefficient procedure
ring.lib
Test whether a ring has coefficients of the form Zp_a(p,k) (returns 1 if yes, 0 otherwise).
hasZpCoefficient procedure
ring.lib
Test whether a ring has coefficient field of the form ZZ/p; returns 1 if yes, else 0.
Hcode procedure
classify.lib
Encode an intvec/bigintvec by counting successive repetitions of each entry.
hdepth procedure
hdepth.lib
Compute the hdepth_1 of a module M (with optional debug output control).
hdepth_p procedure
hdepth.lib
Compute the smallest t <= d such that 1/g^t is positive (with optional step printing).
hdepth.lib library
2 commands
This library provides procedures to compute hdepth_1 for a module with respect to the \(\mathbb{Z}\)-grading.
headStand procedure
matrix.lib
Return the matrix obtained by reversing both row and column order of M (B[i][j]=M[n-i+1,m-j+1]).
heightZ procedure
primdecint.lib
Compute the height (codimension) of an ideal over ZZ.
help topic
reference.doc / help
Displays online help information for a given topic using the currently set help browser. If no topic is given, the manual’s title page is displayed.
Help string topic
general.doc / Help string
Describes the syntax, purpose, and required format of a help string for a procedure, including optional fields and example handling.
henselGlobal procedure
integralbasis.lib
Hensel-lift a factorization h(0,y)=fg to polynomials f1,g1 with h=f1g1 up to given order in x.
hermiteNormalForm procedure
multigrading.lib
Compute the (lower triangular) Hermite Normal Form of an integer matrix by column operations.
hess.lib library
1 commands
Let f be an absolutely irreducible polynomial in two variables x,y. Assume that f is monic as a polynomial in y. Let F = Quot(k[x,y]/f) be the function field defined by f. Define O_F = IntCl(k[x],F) and O_(F,inf) = IntCl(k[1/x],F). We represent a divisor D on
hessenberg procedure
linalg.lib
Compute the Hessenberg form of a constant square matrix.
HHnormalForm procedure
classify_aeq.lib
Compute Hefez–Hernandez normal form of I= and return normal form, semigroup Gamma, semimodule Lambda, Zariski number, and moduli.
highcorner topic
reference.doc / highcorner
Describes highcorner, which returns a specific monomial determined by the initial terms of a given ideal or module. Includes conditions under which it returns 0 and an example.
hilb topic
reference.doc / hilb
Describes hilb, which computes (weighted) Hilbert series for ideals and modules, with variants returning series data or storing it as a polynomial. Includes syntax variants, cautions, and an example.
Hilbert function topic
math.doc / Hilbert function
Defines the Hilbert function and Hilbert–Poincaré series of a graded module, and presents their standard rational forms, including the weighted case.
hilbert4ti2 procedure
sing4ti2.lib
Compute a toric ideal via the Hilbert basis of the lattice given by ker(A) (default) or Im(A) (if i!=0) using 4ti2.
HilbertClassPoly procedure
realclassify.lib
Computes the Hilbert class polynomial.
hilbertSeries procedure
multigrading.lib
Compute the multigraded Hilbert series of a poly/vector/ideal/module with positive multigrading, returning a ring with numerator/denominator polynomials.
HilbertSeries procedure
rinvar.lib
Compute the numerator polynomial p (as intvec, with trailing 0) of the Hilbert series p/q of K[t,y]/I with respect to weights wt.
HilbertSeries1 procedure
rinvar.lib
Compute the numerator polynomial p of the Hilbert series p/q for a complete intersection with generator degrees given by wt.
HilbertWeights procedure
rinvar.lib
Compute the weighted degrees of the generators of an ideal.
hilbPoly procedure
polylib.lib
Compute the Hilbert polynomial of basering/I and return its coefficients as an intvec scaled by 1/r!.
hilbRing procedure
standard.lib
Constructs a homogenized ring (adding @) with suitable (weighted) ordering for Hilbert series computations and maps given ideals/modules to Id[i].
hilbvec procedure
presolve.lib
Compute a bigintvec for the 1st Hilbert series of a homogeneous object, optionally in given characteristic and ordering.
hnexpansion procedure
hnoether.lib
Compute the Hamburger–Noether expansion data of a bivariate polynomial, optionally keeping one representative per conjugacy class.
hnoether.lib library
36 commands
A library for computing the Hamburger–Noether expansion (an analogue of the Puiseux expansion over fields of arbitrary characteristic) of a reduced plane curve singularity, following:
hodge.lib library
4 commands
A library for computing the Hodge ideals [MP19] of \(\mathbb{Q}\)-divisors associated to a reduced hypersurface \(f\in R\).
hodgeIdeals procedure
hodge.lib
Compute the output ring containing the list hodge of Hodge ideals of f^alpha up to level p for a reduced hypersurface f.
holonomicRank procedure
dmodloc.lib
Compute the holonomic rank of an ideal in a Weyl algebra; returns -1 if the rank is infinite.
Hom procedure
homolog.lib
Compute a presentation of Hom(coker(M), coker(N)); optionally also return a std basis and (if finite) a kbase of the cokernel.
hom procedure
modules.lib
Computes Hom(M,N) for two modules.
hom_kernel procedure
homolog.lib
Computes a module presentation of ker(A': coker(M) -> coker(N)) induced by A.
HomJJ procedure
normal.lib
Compute End_R(J)=Hom_R(J,J) as an affine ring and the canonical map R -> End_R(J), returning ring data and invariants.
homog topic
reference.doc / homog
Describes homog, which tests (weighted) homogeneity and homogenizes polynomials, vectors, ideals, or modules. Includes syntax variants, notes on weighted orderings, and an example.
homog_part procedure
schubert.lib
Compute the homogeneous degree-n component of a polynomial.
homog_parts procedure
schubert.lib
Return the sum of homogeneous components of f of degrees i through j.
homog_t procedure
deform.lib
Compute relative column weights of A w.r.t. flatten(Fo) using d_vec; returns 0 if Fo or A is not quasi-homogeneous.
homog_test procedure
deform.lib
Return comma-separated relative column weights of A w.r.t. w_vec and Mo, or "" if not quasi-homogeneous; "" means undetermined.
homogeneitySpace procedure
tropical.lib
Compute the cone of weight vectors for which a reduced standard basis ideal/polynomial is weighted homogeneous.
homogfacFirstQWeyl procedure
ncfactor.lib
Factorize a homogeneous polynomial in the first q-Weyl algebra with respect to weight vector [-1,1] (wrapper for homogfacNthQWeyl).
homogfacFirstQWeyl_all procedure
ncfactor.lib
Computes all factorizations of a homogeneous polynomial in the first q-Weyl algebra w.r.t. weight vector [-1,1].
homogfacNthQWeyl procedure
ncfactor.lib
Factorizes a [-1,...,-1,1,...,1]-homogeneous polynomial in the n-th q-Weyl algebra, returning a list of factors.
homogfacNthQWeyl_all procedure
ncfactor.lib
Compute all homogeneous factorizations of a polynomial in the n-th q-Weyl algebra with respect to weight [-1..-1,1..1].
homogfacNthWeyl procedure
ncfactor.lib
Factor a [-1,1]-homogeneous polynomial in the n-th Weyl algebra with respect to the induced ZZ-grading.
homolog.lib library
22 commands
Procedures for basic computations in homological algebra, such as \(\mathrm{Hom}\), \(\mathrm{Ext}\), \(\mathrm{Tor}\), tensor products, and related invariants for modules given by presentations (typically as cokernels of matrices).
homology procedure
homolog.lib
Compute a presentation of ker(B)/im(A) for maps R^k->R^m->R^n modulo submodules M and N.
homomorphism procedure
modules.lib
Create an R-module homomorphism from a rule matrix between given source and target modules.
Homomorphism type
modules.lib
Class of R-module homomorphisms.
Homomorphism type
stanleyreisner.lib
Class of homomorphisms.
Hosten and Sturmfels topic
math.doc / Hosten and Sturmfels
Describes the Hosten–Sturmfels algorithm for computing I_A without auxiliary variables under a positivity condition on the matrix row space, including the saturation procedure via Gröbner bases.
How to enter and exit topic
general.doc / How to enter and exit
Explains how to start Singular in an ASCII terminal or within Emacs, how to exit, and the general startup syntax including options and file arguments.
How to use this manual topic
start.doc / How to use this manual
Guidance on how to read the Singular manual, with suggested paths for different types of users. Includes references to key chapters and typographical conventions used throughout the manual.
How to use this manual tutorial
tutor.tex / How to use this manual
Guidance on navigating the Singular manual for different reading styles, plus notes on typographical conventions used throughout.
How-To-Contribute.md doc
How-To-Contribute.md
Guidelines for contributing to Singular development via GitHub. Includes where to ask questions and a checklist before submitting a pull request.
hres topic
reference.doc / hres
Computes a free resolution of a homogeneous ideal using the Hilbert-driven algorithm. Optionally stops after a given number of steps and returns the corresponding modules.
HybrSmoothTest procedure
scheme.lib
Tests whether a (equidimensional) scheme is smooth; returns 1 if smooth, 0 otherwise.
hyperel.lib library
17 commands
Library hyperel.lib provides basic procedures for computations on hyperelliptic curves of the form
hypersurface procedure
schubert.lib
Procedure hypersurface from schubert.lib (no further documentation available).

I

EntryDescription
ibExhaustive procedure
integralbasis.lib
Compute, for each degree up to degF, the exponent combination in polySet with maximal valuation and return it with the product polynomial.
ibSegment procedure
integralbasis.lib
Compute data for an integral basis on one segment using class information and an expansion degree.
id procedure
modules.lib
Return the n x n identity matrix (as a Matrix) with nongraded free modules for source and target.
id2mod procedure
polylib.lib
Convert an ideal (from mod2id) into the corresponding module by mapping selected variables to module generators.
ideal kernel type
kernel
ideal
ideal topic
types.doc / ideal
Describes how ideals are represented and accessed in Singular, including a note on generator counting and links to related sections.
Ideal type
modules.lib
Like an ideal, but with its own base ring stored; used to compute resolutions.
ideal type
standard.lib
An ideal.
ideal BR_PLURAL_BR topic
plural.doc / ideal BR_PLURAL_BR
Describes how ideals are represented and used in Plural, including notes on left ideals, baserings, and generator counting.
ideal declarations topic
types.doc / ideal declarations
Describes the syntax and usage of ideal declarations in Singular, including defaults and an example.
ideal declarations BR_PLURAL_BR topic
plural.doc / ideal declarations BR_PLURAL_BR
Declares and defines a left ideal. Shows syntax and a short example.
ideal expressions topic
types.doc / ideal expressions
Defines what an ideal expression is in Singular and lists the allowed forms. Includes an example demonstrating operations, powers, and casting to ideals.
ideal expressions BR_PLURAL_BR topic
plural.doc / ideal expressions BR_PLURAL_BR
Defines what constitutes an ideal expression in Singular and provides an illustrative example.
ideal operations topic
types.doc / ideal operations
Lists the basic operations available for ideals in Singular, including arithmetic, exponentiation, and generator indexing, with an example.
ideal operations BR_PLURAL_BR topic
plural.doc / ideal operations BR_PLURAL_BR
Describes basic operations on ideals, including addition, multiplication, exponentiation, and generator access by index, with an example in Singular.
ideal related functions topic
types.doc / ideal related functions
Index of functions related to ideals, with brief descriptions and cross-references to their detailed documentation nodes.
ideal related functions BR_PLURAL_BR topic
plural.doc / ideal related functions BR_PLURAL_BR
List of ideal-related functions for BR_PLURAL_BR, with brief descriptions and links to their reference entries.
idealclass.lib library
1 commands
This library implements a ring-independent ideal type used in scheme.lib. You can use +, , and ^ for addition, multiplication, and exponentiation.
idealOfHigherWeightedDeg procedure
arnold.lib
Constructs an ideal generated by certain x1,x2-monomials of (piecewise) weighted degree >= d, plus all total degree dt+1 monomials.
IdealOfV procedure
JMBTest.lib
Constructs the ideal generated by tVm.h + Vm.t for each jmp element Vm in the input list V.
idealsEqual procedure
primdec.lib
Test whether two ideals are equal, computing standard bases if necessary.
idealsimplify procedure
arcpoint.lib
Simplify an ideal by iteratively replacing generators with their reductions modulo the others (up to maxiter iterations).
idealSimplify procedure
presolve.lib
Simplify an ideal by substituting/eliminating variables that appear only linearly in the generators.
idealSplit procedure
presolve.lib
Split an ideal into a list of ideals whose intersection has the same radical as the input ideal, with optional time bounds.
Identifier resolution topic
tricks.doc / Identifier resolution
Explains how Singular resolves identifiers, the lookup order, and common pitfalls when variable names overlap with ring variables.
identifyvar procedure
resbinomial.lib
Return a list marking each basering variable as x (0) or y (1) based on its name.
idint procedure
redcgs.lib
Compute the intersection of two ideals by introducing an auxiliary parameter and eliminating it.
idintR procedure
redcgs.lib
Computes idint(N,M) in ring @P by mapping from the current basering and returns the result mapped back.
if topic
reference.doc / if
Describes the syntax and behavior of the if statement, including optional else, with an example and related references.
image procedure
modules.lib
Return the module image of a matrix.
image_of_variety procedure
finvar.lib
Return the ideal of the image of V(I) under the group action defined via the invariant ring generators in F.
ImageGroup procedure
rinvar.lib
Compute the ideal of the image of an algebraic group in GL(m,K) induced by a given linear action, returning a ring with groupid/actionid.
imageLattice procedure
multigrading.lib
Compute an integral basis for the image of a lattice L under the lattice homomorphism given by Q.
ImageVariety procedure
rinvar.lib
Construct a new ring whose exported ideal imageid defines the Zariski closure of the image of V(I) under the morphism given by F.
imap topic
reference.doc / imap
Describes imap, an identity map on common subrings between rings and qrings with compatible ground fields. Includes syntax, type information, notes on undefined behavior, and examples.
imap BR_LETTERPLACE_BR topic
letterplace.doc / imap BR_LETTERPLACE_BR
Documents imap, the identity map on common subrings between rings/qrings with compatible ground fields. Includes syntax, behavior notes, and an example.
imap BR_PLURAL_BR topic
plural.doc / imap BR_PLURAL_BR
Documents imap, an identity map on common subrings between rings/qrings with compatible ground fields, using matching variable and parameter names. Includes an example and links to related commands.
imapall procedure
ring.lib
Maps all named objects of ring/qring R into the current basering using imap, optionally renaming them with a suffix.
impart topic
reference.doc / impart
Returns the imaginary part of a number in a complex ground field; otherwise returns 0.
Implemented algorithms topic
general.doc / Implemented algorithms
Overview of the main algorithms implemented in Singular, with command lists for standard bases, resolutions, polynomial, matrix, numeric, and control computations.
importfrom topic
reference.doc / importfrom
Describes how to import identifiers from another package into the current package, including syntax, notes, and an example. Also references related commands.
iMult procedure
normal.lib
Compute the intersection multiplicity of a list of ideals; returns -1 if the multiplicity is infinite.
inCenter procedure
central.lib
Check whether a polynomial, list, or ideal consists of central elements (returns 1 if central, 0 otherwise).
inCentralizer procedure
central.lib
Return 1 if E lies in the centralizer of S, otherwise 0.
Incl procedure
numerAlg.lib
Test whether the algebraic variety defined by I contains the variety defined by J (returns 1 if yes, else 0).
indepSet topic
reference.doc / indepSet
Describes indepSet, which computes maximal independent variable sets of an ideal (or of its leading ideal), and explains the meaning of the returned values.
indSet procedure
mprimdec.lib
Compute maximal and non-extendable independent variable sets for an ideal, returned as strings plus a matching block ordering description.
inequalities procedure
gfan.lib
Return a bigintmat of (not necessarily unique or irredundant) inequalities describing a cone or polytope.
Info string topic
general.doc / Info string
Describes the format and purpose of the info string used as a library help text in Singular, including how it appears in documentation and what sections it should contain.
inForm procedure
dmodapp.lib
Compute the initial form of a polynomial or the ideal of initial forms w.r.t. a given weight vector.
iniD procedure
resbinomial.lib
Create an n×n list of lists filled with zeros.
init_debug procedure
classify.lib
Initialize or change the global debugging level @DeBug used by debug_log, optionally taking the level as an integer.
initial procedure
tropical.lib
Compute the initial form of a polynomial or the initial ideal of an ideal with respect to a weight vector/matrix.
initialForm procedure
tropical.lib
Return the initial form of a polynomial: sum of terms with maximal weighted order with respect to a weight vector.
initialIdeal procedure
tropical.lib
Compute the initial ideal of i with respect to a weight vector w (maximal weighted order terms).
initialIdealW procedure
dmodapp.lib
Compute a Groebner basis of the initial ideal of a Weyl algebra ideal with respect to weight vectors u (x) and v (D).
initialMalgrange procedure
dmodapp.lib
Constructs an extended Weyl algebra ring and computes the initial ideal (inF) of the Malgrange ideal of f.
inIVList procedure
reszeta.lib
Return 1 if intvec iv occurs in list li (as an equal intvec), otherwise 0.
injective_knapsack procedure
crypto.lib
Generate all injective knapsacks (as sets) of given size with maximal element equal to kmaxelement.
inner_product procedure
linalg.lib
Computes the inner product of two vectors.
inout.lib library
9 commands
This library provides procedures for printing and displaying objects in compact or page-width-oriented formats, as well as small utilities for formatting text output and pausing computations for user input.
Input and output topic
general.doc / Input and output
Overview of Singular input/output via links, including monitoring and the main link types (ASCII, ssi, DBM). Examples show how to read, write, dump, and retrieve data through links.
insert topic
reference.doc / insert
Describes the Singular function insert, which inserts an element into a list either at the beginning or after a given position.
insertCone procedure
gfan.lib
Insert a cone into a fan (in-place), optionally skipping the compatibility check.
insertGenerator procedure
dmodapp.lib
Insert a generator into an ideal or module at a given (default first) position and return the enlarged object.
insertToList procedure
gitfan.lib
Return a new list with an element inserted at a given 1-based position.
installMethod procedure
methods.lib
Installs a dispatcher procedure named fname that calls the appropriate procedure according to the given Method.
inSubring procedure
algebra.lib
Test whether a polynomial lies in the subring generated by given polynomials and return a witness or relations.
int kernel type
kernel
integer
int topic
types.doc / int
Describes the Singular type int, its range limitations, syntax, typical uses, and related topics such as boolean expressions and operations.
int declarations topic
types.doc / int declarations
Describes how to declare integer variables in Singular, including syntax, default value, and an example.
int expressions topic
types.doc / int expressions
Defines what constitutes an int expression in Singular, notes range limitations, and provides examples including casts and conversions.
int operations topic
types.doc / int operations
Lists the available operations on integers in Singular, with notes on increment/decrement behavior and an example.
int related functions topic
types.doc / int related functions
Lists functions that return an integer value, with brief descriptions and links to their reference entries.
int_number_map procedure
finvar.lib
Map an integer to a field element (number) in the current basering, respecting characteristic and optional minpoly.
int|string kernel type
kernel
IntAssOfDim1 procedure
ehv.lib
Return the intersection of the associated primes of an ideal having a specified dimension e.
IntAssOfDim2 procedure
ehv.lib
Returns the intersection of the associated primes of an ideal that have a given dimension.
intclMonIdeal procedure
normaliz.lib
Compute the integral closure of the monomial ideal from lead monomials of I and (if possible) generators of the normalized Rees algebra.
intclToricRing procedure
normaliz.lib
Computes the integral closure of the toric ring generated by leading monomials of I and returns its algebra generators as an ideal.
Integer programming topic
math.doc / Integer programming
Defines an integer programming (IP) instance and outlines a Gröbner-basis approach via toric ideals, including how to handle missing initial solutions and references for details.
integral procedure
schubert.lib
Compute an intersection number by reducing a polynomial modulo a variety's relations and returning the leading coefficient.
integralBasis procedure
integralbasis.lib
Computes an integral basis of the integral closure for a plane curve defined by an irreducible polynomial f, with options controlling the algorithm.
integralbasis.lib library
17 commands
Given an irreducible polynomial f in two variables defining a plane curve, this library implements algorithms to compute an integral basis of the integral closure of the affine coordinate ring in the corresponding algebraic function field.
integralIdeal procedure
dmodapp.lib
Compute the integral ideal of a holonomic Weyl ideal I w.r.t. variables selected by weight vector w; returns a Weyl ring containing intIdeal.
integralModule procedure
dmodapp.lib
Compute the integral module of a holonomic Weyl ideal I with respect to a subspace specified by weight vector w.
integrals procedure
tropicalEllipticCovers.lib
Compute integrals (over all orderings of the vertices of the graph G).
integralSection procedure
multigrading.lib
Return an integral section (right inverse) of a surjective lattice map represented by an integer matrix P.
interact1 procedure
deform.lib
Interactively prompts for output file, ring-extension prefix, parameter variables, and monomial order; returns the collected strings.
interact2 procedure
deform.lib
Interactive helper: prompts for column selection and returns reduced matrix/matrices plus the number of chosen columns.
Interactive use topic
general.doc / Interactive use
Discusses the basics of using Singular interactively, including starting and exiting, interpreting the prompt, accessing online help, and related topics.
InterDiv procedure
resgraph.lib
Generate the dual graph of a surface resolution from an intersection matrix, via Graphviz/dot and ImageMagick/display.
internalfunctions procedure
classify.lib
Displays the names of internal procedures of classify.lib.
interpolate procedure
solve.lib
Interpolate the unique polynomial (over Q) of degree nd from values given on the Vandermonde grid defined by p.
interpolation procedure
ffmodstd.lib
Procedure from ffmodstd.lib; no help text or usage details available.
interpolation topic
reference.doc / interpolation
Documents the Singular command interpolation, which computes a reduced Gröbner basis for intersections of powers of maximal point ideals using linear algebra methods.
interpret procedure
modules.lib
Interprets a vector in some module or abstract space.
interpretElem procedure
modules.lib
Interpret a vector for a given number of steps, stopping early if no further interpretation is possible.
interpretInv procedure
modules.lib
Interprets a Vector or Homomorphism into the given module.
interpretList procedure
modules.lib
Interpret a list of vectors as far as possible.
interred topic
reference.doc / interred
Describes interred, which interreduces a set of polynomials or vectors given as an ideal or module. It specifies output properties and includes examples for different monomial orderings.
Interrupting SINGULAR topic
general.doc / Interrupting SINGULAR
Describes how to interrupt Singular on Unix-like systems and Windows NT, and explains the available follow-up actions.
intersect topic
reference.doc / intersect
Computes the intersection of ideals or modules. Supports an optional argument to select the Gröbner basis algorithm and can display the method used when prot is enabled.
intersect BR_PLURAL_BR topic
plural.doc / intersect BR_PLURAL_BR
Describes the syntax, type, and purpose of intersect, which computes intersections of ideals or modules, with examples.
intersection procedure
hnoether.lib
Compute the intersection multiplicity of two irreducible plane curve singularities given by their HN expansion lists.
intersection procedure
scheme.lib
Compute the scheme-theoretic intersection of two compatible schemes X and Y.
intersectionDiv procedure
reszeta.lib
Compute intersection matrix and genera of exceptional divisors from a resolution (isolated surface singularities).
IntersectionMatrix procedure
curvepar.lib
Compute the intersection matrix (pairwise intersection multiplicities) of the branches of the plane curve V(i).
IntersectionNumber procedure
scheme.lib
Compute the intersection number of divisors in general position (number of divisors equals ambient dimension).
intersectionSet procedure
sets.lib
Compute the intersection of two sets.
intersectionValRingIdeals procedure
normaliz.lib
Compute monomial generators for the intersection subalgebra S and submodule/ideal M defined by discrete monomial valuations.
intersectionValRings procedure
normaliz.lib
Compute the subalgebra S={f in K[x]: v_i(f) >= 0} from valuation matrix V; returns a monomial ideal of algebra generators.
intersectLattices procedure
multigrading.lib
Compute an integral basis (as a matrix) for the intersection of the lattices generated by the columns of A and B.
intersectLists procedure
combinat.lib
Return a list of the distinct elements of L that also occur in M.
intersectMon procedure
monomialideal.lib
Compute the intersection of two monomial ideals, returning a minimal monomial generating set (errors if an input is not monomial).
intersectOrbitsWithMovingCone procedure
gitfan.lib
Intersect each cone in each orbit in OCmin with mov, discard non-full-dimensional orbits, and remove duplicate cones.
intersectpar procedure
grobcov.lib
Compute the intersection of a list of ideals (typically in Q[a][x]) and return it as an ideal in the current ring.
IntersectWithSub procedure
ncdecomp.lib
Compute M ∩ where is the subalgebra generated by pairwise commutative elements Z; returns two-sided generators (not a GB).
intersectZ procedure
primdecint.lib
Compute the intersection of two ideals I and J.
interval type
interval.lib
Interval type used for interval arithmetic.
interval.lib library
47 commands
Implements interval arithmetic for polynomials.
intervalAdd procedure
interval.lib
Adds two intervals and returns their interval sum.
intervalAssign procedure
interval.lib
Create an interval from a single numeric value by assigning it as bounds [x,x].
intervalDivide procedure
interval.lib
Divide interval I by interval J; errors if the divisor interval contains zero.
intervalEqual procedure
interval.lib
Test two intervals for equality of their bounds (returns 1 if equal, otherwise 0).
intervalGet procedure
interval.lib
Get the lower (n=1) or upper (n=2) bound of an interval (used as I[n]).
intervalmatrixInit procedure
interval.lib
Initialize an m×n interval matrix filled with [0,0] intervals.
intervalMultiply procedure
interval.lib
Return the product of two intervals.
intervalNegate procedure
interval.lib
Returns the negation of an interval.
intervalPotentiate procedure
interval.lib
Compute the interval power I^n with tighter bounds than naive repeated interval multiplication.
intervalPrint procedure
interval.lib
Print an interval in a readable format.
intervalString procedure
interval.lib
Returns a string representation of an interval.
intervalSubtract procedure
interval.lib
Subtracts two intervals, returning the interval difference I - J.
intInverse procedure
multigrading.lib
Compute the integral inverse of an integer matrix A (requires det(A)=±1).
intmat kernel type
kernel
integer matrix
intmat topic
types.doc / intmat
Integer matrices are matrices with integer entries. This section describes how to declare, use, cast, and operate on the intmat type.
intmat declarations topic
types.doc / intmat declarations
Syntax and usage for declaring intmat variables in Singular, including initialization rules and an example.
intmat expressions topic
types.doc / intmat expressions
Defines valid forms of intmat expressions in Singular and provides a short example. Includes references to related documentation nodes.
intmat operations topic
types.doc / intmat operations
Lists supported operations on intmat, including arithmetic, comparisons, indexing, and an example in Singular syntax.
intmat related functions topic
types.doc / intmat related functions
Lists functions related to the intmat type in Singular, with brief descriptions and cross-references.
intmat type cast topic
types.doc / intmat type cast
Describes the intmat type cast in Singular, including syntax, behavior, and examples. Explains dimension handling and conversion from related integer matrix/vector types.
intmat_inverse procedure
alexpoly.lib
Compute the inverse of a lower triangular integer matrix with diagonal entries 1 or -1.
intmat2binomials procedure
normaliz.lib
Convert rows of an integer matrix into an ideal generated by the corresponding binomials in the current basering.
intmat2mons procedure
normaliz.lib
Convert a matrix of exponent vectors (rows) into an ideal generated by the corresponding monomials.
intPart procedure
crypto.lib
Return the integral part of a rational number.
intprog.lib library
1 commands
## Integer Programming with Groebner Basis Methods
intRank procedure
multigrading.lib
Compute the rank of an integral matrix using a Hermite normal form.
Introduction manual
start.doc
Table of contents for the Introduction section of the Singular manual. Links to Background, usage instructions, and Getting started.
Introduction tutorial
tutor.tex / Introduction
Entry point to the tutorial manual, listing the main introductory sections. Includes links to background, usage instructions, and getting started.
Introduction to orderings topic
pdata.doc / Introduction to orderings
Singular provides many monomial orderings with different strengths. This introduction recommends default choices and explains when weighted or lexicographic orderings are preferable.
intRoot procedure
crypto.lib
Return the integral part (floor) of the square root of an integer.
intRoots procedure
dmodapp.lib
Extracts integer roots from a bFactor-format list, discarding non-integer roots.
intvec kernel type
kernel
integer vector
intvec topic
types.doc / intvec
The type intvec represents lists of integers. It supports element-wise arithmetic and can be used to simulate sets or as an index set for other objects.
intvec declarations topic
types.doc / intvec declarations
Declares an intvec variable. An intvec is an ordered list of integers.
intvec expressions topic
types.doc / intvec expressions
Defines valid forms of intvec expressions in Singular and illustrates them with a short example session.
intvec operations topic
types.doc / intvec operations
Lists available operations for intvec objects in Singular and illustrates them with a short example.
intvec related functions topic
types.doc / intvec related functions
List of functions related to the Singular type intvec, with brief descriptions and references to their documentation nodes.
invar procedure
invar.lib
Compute generators for the invariant ring of a given group representation matrix and set global variables polyring, invring, representation.
invar.lib library
9 commands
This library provides procedures to compute invariant rings for representations of \(SL(n)\) and torus groups. It also includes Reynolds operators for \(SL(n)\) and for torus (and finite) groups.
Invariant Theory topic
examples.doc / Invariant Theory
Entry points to sections on additive group invariants and invariants of finite groups.
Invariant Theory tutorial
tutor.tex / Invariant Theory
Entry page for the Invariant Theory section, with links to subtopics on G_a-invariants and invariants of finite groups.
invariant_algebra_perm procedure
finvar.lib
Compute a minimal homogeneous generating set (matrix) for the invariant ring of a permutation group given by generators in disjoint cycle form.
invariant_algebra_reynolds procedure
finvar.lib
Compute a minimal homogeneous generating set of the invariant ring from a Reynolds operator matrix.
invariant_basis procedure
finvar.lib
Compute an ideal giving a basis of the degree-g invariant polynomials under the group generated by given matrices.
invariant_basis_reynolds procedure
finvar.lib
Compute an ideal basis of degree-d invariants by mapping degree-d monomials through a Reynolds operator and extracting a minbase.
invariant_ring procedure
finvar.lib
Compute primary and secondary invariants (generators) of the invariant ring of a finite matrix group.
invariant_ring_random procedure
finvar.lib
Compute primary and secondary invariants of a finite matrix group using random combinations of basis elements as candidates for primaries.
InvariantQ procedure
rinvar.lib
Test whether a polynomial f is invariant modulo the group ideal G under a given action.
invariantRing procedure
ainvar.lib
Compute generators (optionally degree-bounded) of the invariant ring of the additive group (K,+) action defined by a vector field matrix m.
InvariantRing procedure
rinvar.lib
Compute a ring whose ideal 'invars' generates the invariant ring of a finite group given by G under the linear action Gact.
invariants procedure
hnoether.lib
Compute curve invariants (characteristic exponents, semigroup, Puiseux pairs, conductor, multiplicities; plus branch contact/intersection data).
Invariants of a finite group topic
examples.doc / Invariants of a finite group
Describes two algorithms in Singular for computing invariant rings of finite groups and illustrates them with an example from Sturmfels.
Invariants of a finite group tutorial
tutor.tex / Invariants of a finite group
This section describes two Singular algorithms for computing invariant rings of finite groups and outlines their approaches in modular and non-modular cases. An example illustrates their use in Singular.
Invariants of plane curve singularities topic
examples.doc / Invariants of plane curve singularities
Overview and examples for computing Hamburger–Noether expansions and related invariants of plane curve singularities using Singular’s hnoether.lib. Includes workflows for irreducible and reducible cases.
Invariants of plane curve singularities tutorial
tutor.tex / Invariants of plane curve singularities
Overview of Puiseux pairs and related invariants of plane curve singularities, and how to compute them via Hamburger–Noether expansions using hnoether.lib. Includes examples for irreducible and reducible cases.
inverse procedure
linalg.lib
Compute the inverse of a square matrix; returns a 1x1 zero matrix if not invertible (in the polynomial ring).
inverse_B procedure
linalg.lib
Compute a matrix I and polynomial p with IA = unitmat(n)p (p=1 if 1/det(A) computable, else p=det(A)).
inverse_L procedure
linalg.lib
Compute a left inverse of a square matrix, returning [I,p] with IA = unitmat(n)p.
inverse_modulus procedure
crypto.lib
Compute the multiplicative inverse of num modulo mod1 (returns 0 if num>=mod1 or no inverse found).
inverseFourier procedure
dmodapp.lib
Compute the inverse Fourier transform of an ideal in a Weyl algebra, optionally restricted to selected variable indices.
invertAlgebraMorphism procedure
VecField.lib
Compute the inverse of an algebra morphism up to degree n (mod (maxideal)^n), returning a map or ideal matching the input form.
invertBirMap procedure
paraplanecurves.lib
Construct the image ideal and inverse map of a birational map given by an ideal phi on V(I).
invertLeftFraction procedure
olga.lib
Invert a left fraction in the localization specified by locType and locData, returning the inverse as a vector.
invertNcfrac procedure
ncfrac.lib
Compute the multiplicative inverse of a noncommutative fraction; returns the zero fraction if not invertible.
invertNumberMain procedure
zeroset.lib
Compute the inverse 1/f for a number in Q(a) represented as a polynomial, using the basering and ideal mpoly.
InvImage procedure
scheme.lib
Compute the inverse image (scheme-theoretic preimage) of a scheme under a morphism.
involut_lib topic
plulibs.doc / involut_lib
An involution is an anti-automorphism of a noncommutative K-algebra such that applying it twice yields the identity. An involution is linear over the ground field.
involut.lib library
7 commands
An involution is an anti-automorphism of a noncommutative K-algebra such that applying it twice yields the identity. An involution is linear over the ground field.
involution procedure
involut.lib
Applies an involution given by a map to a poly/vector/ideal/matrix/module, returning an object of the same type.
invp procedure
GND.lib
Compute the truncated inverse of a unit series p in Q(param)[variab] up to the given bound.
invunit procedure
mondromy.lib
Compute the truncated series inverse of a polynomial unit up to order n (or 0 if not a series unit).
iostruct procedure
control.lib
Compute an input-output representation Py=Qu from a kernel matrix module, returning comment, chosen outputs, and modules P and Q.
irred_secondary_char0 procedure
finvar.lib
Compute irreducible homogeneous secondary invariants in characteristic 0 from primary invariants, a Reynolds operator, and the Molien series.
irred_secondary_no_molien procedure
finvar.lib
Compute irreducible secondary invariants using a given Reynolds operator, without using Molien series data.
IrredDec procedure
scheme.lib
Compute the scheme-theoretic irreducible decomposition of a scheme, returning components with their associated points.
irreddecMon procedure
monomialideal.lib
Compute an irreducible decomposition of a monomial ideal, optionally choosing among several algorithms.
irrRealizationDim procedure
realizationMatroids.lib
Return the dimension of the irreducible relative realization space of a tropical fan curve in Y=V(I), or -1 if empty.
is_active procedure
sing.lib
Test whether a polynomial is active modulo an ideal or module (dimension drop criterion); returns 1 if active, else 0.
is_bijective procedure
algebra.lib
Test whether a map to the basering is bijective (checks injective then surjective).
is_cenBimodule procedure
nchomolog.lib
Test whether a module (given by a presentation) satisfies the algorithmically checkable centralizing condition (1/0).
is_cenSubbimodule procedure
nchomolog.lib
Test whether the subbimodule generated by the columns of M is centralizing (returns 1 if yes, 0 otherwise).
is_ci procedure
sing.lib
Return the dimension sequence of prefixes of a minimal basis of an ideal; last value indicates complete intersection.
is_complex procedure
matrix.lib
Test whether a list of compatible matrices/modules forms a complex by checking consecutive products are zero.
is_composite procedure
decomp.lib
Tests whether a polynomial is decomposable (composite) in the current basering; returns 1/0 or -1 in an undecidable wild case.
is_fix_injective procedure
crypto.lib
Test whether a list is fix-injective; returns 1 if fix-injective, 0 otherwise.
is_h_injective procedure
crypto.lib
Test whether a list is h-injective; returns 1 if h-injective, 0 otherwise.
is_injective procedure
algebra.lib
Test whether a map is injective; optionally choose an algorithm and/or return a ring containing the kernel ideal ker.
is_irred procedure
hnoether.lib
Test whether a squarefree bivariate polynomial is analytically irreducible at zero (as a formal power series over the algebraic closure).
is_is procedure
sing.lib
Return an intvec of dimensions of singular loci for the chain of ideals generated by the first k generators of an ideal/poly.
is_nested procedure
mregular.lib
Test whether a monomial ideal is of nested type; returns 1 if yes, 0 if no, and -1 for (0) or (1).
is_NND procedure
hnoether.lib
Test whether a convenient polynomial is Newton non-degenerate (returns 1 if yes, 0 otherwise), optionally using precomputed mu and Newton polygon.
is_NP procedure
mregular.lib
Test whether the last d variables form a Noether normalization of S/i (returns 1/0, or -1 for i=(0) or i=(1)).
is_prime procedure
crypto.lib
Tests whether an integer is prime (returns 1 if prime, 0 otherwise).
is_primitive_root procedure
crypto.lib
Test whether a number is a primitive root modulo a given modulus.
is_pure procedure
purityfiltration.lib
Check whether the module coker(R) is pure; returns 1 if pure (also for zero module), otherwise 0.
is_reg procedure
sing.lib
Test whether multiplication by f is injective on R^n/id (returns 1 if injective, else 0).
is_regs procedure
sing.lib
Test whether the generators of an ideal form a regular sequence modulo a given ideal or module.
is_surjective procedure
algebra.lib
Test whether a given map is surjective (returns 1 if surjective, 0 otherwise; reliable for global orderings).
is_zero procedure
polylib.lib
Test whether the cokernel of the given input is zero (returns 1 if zero, else 0).
isAface procedure
gitfan.lib
Checks whether gam0 is an a-face with respect to the ideal a.
isAntiEndo procedure
involut.lib
Test whether a map from the current ring to itself defines an antiendomorphism (returns 1 if yes, 0 otherwise).
isartinianMon procedure
monomialideal.lib
Test whether an ideal is Artinian (for monomial ideals; returns 1 if Artinian, 0 otherwise, -1 if not monomial).
isCartan procedure
central.lib
Test whether a polynomial is a Cartan element; returns 1 if yes, 0 otherwise.
isCentral procedure
nctools.lib
Test whether a polynomial commutes with all generators of the current basering (is central).
isCI procedure
cisimplicial.lib
Test whether the simplicial toric ideal I(A) is a complete intersection; optionally prints minimal generators if printlevel>0.
isCM procedure
homolog.lib
Test whether the cokernel coker(M) is Cohen–Macaulay (assumes basering is local).
isCMcod2 procedure
spcurve.lib
Return the presentation matrix of an ideal if it is Cohen–Macaulay of codimension 2, otherwise return the zero matrix.
isCommutative procedure
nctools.lib
Check whether the current basering is commutative.
isCompatible procedure
gfan.lib
Test whether a fan and a cone share an ambient space and intersect compatibly (each intersection is a face of both).
isDenom procedure
ncloc.lib
Check whether a polynomial is a valid denominator in the localization loc.
isElement procedure
sets.lib
Test whether an object is an element of a set.
isEqualDivisor procedure
divisors.lib
Test whether two divisors are equal by comparing their normal forms.
isEqualIdeal procedure
sets.lib
Return 1 if std(a) and std(b) have identical reduced Groebner bases (same size and generators), else 0.
isEqualInt procedure
sets.lib
Test whether two values are equal (using ==), returning 1 if equal and 0 otherwise.
isEqualList procedure
sets.lib
Test whether two list-like objects have the same size and pairwise equal elements (via isEqual).
isEqualMap procedure
sets.lib
Test whether two maps are equal: same preimage ring and identical component images; returns 1 if equal, else 0.
isEqualModule procedure
sets.lib
Compare two modules by reducing both to std form and testing entrywise equality; returns 1 if equal, else 0.
isEqualResolution procedure
sets.lib
Compares two resolutions for equality by casting both inputs to lists and calling isEqual.
isEqualRing procedure
sets.lib
Compare two rings for equality by comparing their ringlist() representations.
isEqualSet procedure
sets.lib
Test whether two sets contain the same elements (returns 1 if equal, otherwise 0).
isEquising procedure
equising.lib
Test whether a bivariate deformation family is equisingular along the trivial section (returns 1 if yes, else 0).
isFlat procedure
homolog.lib
Test whether the cokernel coker(M) is a flat module over the current ring.
isFreeAlgebra procedure
freegb.lib
Check whether a ring is a letterplace ring (free algebra).
isFsat procedure
dmodapp.lib
Check whether an ideal I is F-saturated (returns 1 if yes, 0 otherwise).
isFullSpace procedure
gfan.lib
Test whether a cone equals the entire ambient space.
isgenericMon procedure
monomialideal.lib
Test whether a (monomial) ideal is generic; returns 1 if generic, 0 otherwise (and -1 if not monomial).
isGradedRingHomomorphism procedure
multigrading.lib
Test whether a ring map src→basering given by generator images Im is compatible with the multigrading via group homomorphism A.
isGroup procedure
multigrading.lib
Test whether G is a valid group descriptor list.
isGroupHomomorphism procedure
multigrading.lib
Check whether an integer matrix A defines a group homomorphism from L1 to L2 (returns 1 if yes, 0 otherwise).
isHolonomic procedure
dmod.lib
Check whether an ideal/module/matrix is holonomic over the current Weyl algebra basering (char 0).
ishomog procedure
redcgs.lib
Test whether f is homogeneous (all terms have the same total degree); returns 1 if yes, else 0.
isHomogeneous procedure
multigrading.lib
Test whether a polynomial/vector/ideal/module is (multi)graded-homogeneous in the current multigrading.
ishyper procedure
hyperel.lib
Test whether the curve y^2+h(x)y=f(x) over the basering is a (non-singular) hyperelliptic curve.
isIncluded procedure
modstd.lib
Test whether ideal J contains ideal I by reducing generators of I with respect to J.
isInS procedure
olga.lib
Determine whether a polynomial lies in the denominator set defined by a localization type and its data.
isInt procedure
dmodapp.lib
Test whether a number is an integer (returns 1 if denominator is 1, else 0).
isIntegralSurjective procedure
multigrading.lib
Test whether the lattice map represented by an integer matrix P is surjective (returns 1 or 0).
isInvertibleLeftFraction procedure
olga.lib
Check whether a fraction is detected invertible by testing if its numerator lies in the denominator set of a localization.
isInvertibleNcfrac procedure
ncfrac.lib
Check whether a given ncfrac is invertible; returns 1 if invertible, 0 otherwise.
isInvolution procedure
involut.lib
Test whether a self-map of the current ring defines an involution (antiendomorphism of order 2).
isirreducibleMon procedure
monomialideal.lib
Test whether a monomial ideal is irreducible (returns 1/0, errors if not monomial).
isLieType procedure
nctools.lib
Test whether the current basering is a G-algebra of Lie type (relations YX = XY + D); returns 1 if yes, else 0.
isLocalizationRegular procedure
graal.lib
Test whether the localization A_L of A at L is regular (returns 1 if regular, else 0).
isLocallyFree procedure
homolog.lib
Test whether coker(S) is locally free of constant rank r (via Fitting ideals).
isMonomial procedure
monomialideal.lib
Check whether an ideal is a monomial ideal (returns 1 if yes, 0 otherwise).
isNC procedure
nctools.lib
Check whether the current basering is noncommutative (returns 1 if NC, 0 otherwise).
isNormal procedure
normal.lib
Test whether the quotient ring R/I is normal (returns 1 if normal, 0 otherwise).
isOnCurve procedure
crypto.lib
Test whether a projective point P lies on the elliptic curve y^2z=x^3+axz^2+bz^3 over Z/N.
isoncurve procedure
hyperel.lib
Test whether a point P lies on the hyperelliptic curve y^2 + h(x)y = f(x) over the current basering.
isOneFraction procedure
olga.lib
Determine whether a given fraction (encoded as a vector) is equal to one.
isOneNcfrac procedure
ncfrac.lib
Test whether a noncommutative fraction equals one (returns 1 if yes, else 0).
isOrderingShiftInvariant procedure
freegb.lib
Test whether the current Letterplace ring's monomial ordering is shift-invariant (optionally including monomials with holes).
isOrigin procedure
gfan.lib
Test whether a cone equals the origin; returns 1 if yes, 0 otherwise.
isparam procedure
rootsur.lib
Return 1 if the input contains parametric coefficients (in the current ring), otherwise 0.
isPositive procedure
multigrading.lib
Test whether the (current or given) multigrading of the ring is positive.
isprimaryMon procedure
monomialideal.lib
Test whether an ideal is primary; returns 1 if primary, 0 otherwise, and -1 if the ideal is not monomial.
isprimeMon procedure
monomialideal.lib
Test whether an ideal is prime in the monomial-ideal sense; errors if the ideal is not monomial.
isPrimitiveSublattice procedure
multigrading.lib
Test whether the columns of an integer matrix generate a primitive (direct-summand) sublattice of ZZ^m.
isPure procedure
gfan.lib
Test whether a fan is pure, i.e., all maximal cones have the same dimension.
isPureTensor procedure
bimodules.lib
Check whether a polynomial in an enveloping algebra A^{env} is a pure tensor; returns 0 or a vector (a,b) with a (X) b = g.
isQuotientRing procedure
ring.lib
Test whether a ring is a quotient ring.
isRational procedure
dmod.lib
Test whether a number is rational (contains no parameters) over a characteristic 0 ground field.
isReduced procedure
scheme.lib
Check whether a given scheme is reduced.
isReg procedure
homolog.lib
Test whether the given ordered generators of an ideal form a coker(module)-regular sequence (returns 1/0).
IsSCA procedure
nctools.lib
Return 1 if the current basering is a super-commutative algebra, otherwise 0.
isSimplicial procedure
gfan.lib
Test whether a cone or a fan is simplicial (returns 1 if simplicial, 0 otherwise).
isSmooth procedure
scheme.lib
Test whether a given scheme is smooth (returns 1 if smooth, 0 otherwise).
isSublattice procedure
multigrading.lib
Check whether the lattice generated by L is a sublattice of the lattice generated by S.
isSubModule procedure
ring.lib
Check whether I is contained in J as a submodule.
isSubset procedure
ehv.lib
Test whether ideal I is contained in ideal J; returns 1 if yes, otherwise 0.
isSubset procedure
sets.lib
Test whether one Set is a subset of another Set (returns 1 if N ⊆ M, else 0).
isSuperset procedure
sets.lib
Test whether one set is a superset of another set.
isSymmetric procedure
symodstd.lib
Test whether the generators of an ideal are invariant under a given permutation of the basering variables.
isTame procedure
gmspoly.lib
Test whether a polynomial is tame in the sense of Broughton.
isTorsionFree procedure
multigrading.lib
Test whether the multigrading attached to the current ring is free (torsion-free).
isTwoSidedGB procedure
bimodules.lib
Test whether an ideal's generators form a two-sided Groebner basis (returns 1 if yes, 0 otherwise).
isuni procedure
rootsur.lib
Checks whether a polynomial is univariate; returns the variable as a polynomial, otherwise 0.
isUpperTriangular procedure
ncpreim.lib
Return 1 if a matrix is upper triangular (optionally strictly), else 0.
isWeyl procedure
nctools.lib
Check whether the current basering is a Weyl algebra.
isZeroElement procedure
multigrading.lib
Test whether a multidegree vector is zero in the (global or given) multigrading group.
isZeroFraction procedure
olga.lib
Determine whether the given fraction vector represents zero (returns 1 if zero, else 0).
isZeroNcfrac procedure
ncfrac.lib
Check whether a noncommutative fraction equals zero (returns 1 if zero, 0 otherwise).
iv2lp procedure
freegb.lib
Transform an intvec encoding of a Letterplace monomial into the corresponding Letterplace polynomial (basering must be a Letterplace ring).
iv2lpList procedure
freegb.lib
Convert a list of intmats (rows as Letterplace monomials) into the corresponding ideal in a Letterplace basering.
iv2lpMat procedure
freegb.lib
Convert an intmat whose rows represent Letterplace monomials into an ideal generated by the corresponding monomials (deprecated).
ivL2lpI procedure
freegb.lib
Transform a list of intvecs (Letterplace monomials) into an ideal in the current Letterplace basering (deprecated).
ivmat type
interval.lib
Matrix with interval entries (interval matrix).
ivmatAssign procedure
interval.lib
Create an interval matrix from a list (or varargs) of intervals, filled in row-major order.
ivmatCenter procedure
interval.lib
Return the matrix of midpoint (center) values of all intervals in an interval matrix.
ivmatGaussian procedure
rootisolation.lib
Invert a square interval matrix via Gaussian elimination; returns 0 if singular, else (1, Ainv).
ivmatGaussian2 procedure
interval.lib
Gaussian elimination for an interval matrix; returns 0 if singular, otherwise 1 and the inverse matrix.
ivmatGet procedure
interval.lib
Return the i-th row of an interval matrix as a list (used for A[i]).
ivmatInit procedure
rootisolation.lib
Initialize an ivmat as a numrows x numcols interval matrix filled with [0,0] intervals.
ivmatMultiply procedure
interval.lib
Compute the matrix product of two interval matrices A and B (compatible dimensions required).
ivmatMultiplyGeneral procedure
interval.lib
Compute the matrix product AB for interval matrices, or apply an interval matrix to a box treated as an n×1 matrix.
ivmatNcols procedure
interval.lib
Return the number of columns of an interval matrix.
ivmatNrows procedure
interval.lib
Return the number of rows of an interval matrix.
ivmatPrint procedure
interval.lib
Prints an interval matrix (ivmat).
ivmatRadius procedure
interval.lib
Return a matrix of the radius (half-length) of each interval entry of an ivmat.
ivmatSet procedure
interval.lib
Set entry (i,j) of an interval matrix to a given interval and return the updated matrix.
ivmatSet procedure
rootisolation.lib
Set a single entry A[i][j] of an interval matrix ivmat to a given interval and return the updated matrix.

J

EntryDescription
jacob topic
reference.doc / jacob
Describes jacob, which computes the Jacobi ideal or the Jacobi matrix generated by all partial derivatives of the input.
Jacobi procedure
crypto.lib
Compute the generalized Legendre (Jacobi) symbol (a/n), returning -1, 0, or 1.
jacoblift procedure
mondromy.lib
Compute minimal kappa with f^kappa in jacob(f) and return (kappa, xi, u) with uf^kappa = (matrix(jacob(f))xi)[1,1].
jacobson procedure
jacobson.lib
Compute a weak Jacobson normal form of a matrix over a non-commutative 2-variable basering, returning unimodular U,V and diagonal D.
jacobson.lib library
5 commands
We work over a ring R which is a Euclidean principal ideal domain.
janet topic
reference.doc / janet
Computes the Janet basis of a given ideal, or the standard basis when called with a second argument equal to 1. Works only with global orderings.
jet topic
reference.doc / jet
Describes the Singular command jet, which truncates expressions by (weighted) degree and supports division by a polynomial or matrix over a field.
JMarkedScheme procedure
JMSConst.lib
Automatically performs the whole construction of the J-marked scheme for a Borel ideal in a given ring.
JMBTest.lib library
18 commands
The library performs the J-marked basis test, as described in [CR] and [BCLR]. The test is based on the criterion in [BCLR] concerning Eliahou–Kervaire polynomials (EK).
jmp kernel type
kernel
JMSConst.lib library
23 commands
The library performs J-marked computations as described in [BCLR]. As in JMBTest.lib, it constructs the V-polynomials and reduces the EK-polynomials with respect to them, collecting the coefficients as output.
jOft procedure
realclassify.lib
Compute the j-invariant of a complex number t (Im(t)>0) using k summands in a power series expansion.
joinRS procedure
stratify.lib
Combine two strataList-style lists by concatenating corresponding integer vectors and joining data, omitting empty locally closed sets.
jordan procedure
linalg.lib
Compute Jordan block data (eigenvalue, block size, multiplicity) for a square matrix with eigenvalues in the base field.
jordanbasis procedure
linalg.lib
Compute a change-of-basis to Jordan normal form and a weight filtration index vector for the basis vectors.
jordanmatrix procedure
linalg.lib
Construct the Jordan matrix J from list(e,s,m) describing eigenvalues, Jordan block sizes, and multiplicities.
jordannf procedure
linalg.lib
Compute the Jordan normal form (Jordan matrix) of a matrix, assuming its eigenvalues lie in the base field.
jordanVecField procedure
VecField.lib
Transform a vector field by a linear coordinate change so its linear part is in Jordan normal form.
jungfib procedure
resjung.lib
Compute rings encoding a birational morphism V(QIdeal)->V(J) making the source have only quasi-ordinary singularities.
jungnormal procedure
resjung.lib
Compute rings giving birational maps to V(J) whose source has only Hizebuch-Jung type singularities (optionally assuming Noether position).
jungresolve procedure
resjung.lib
Computes a (non-strong) resolution of a surface ideal via Jung's method, returning rings with QIdeal and BMap.
JuReTopDim procedure
numerDecom.lib
Test whether a point lies on a d-dimensional component of V(J) (using degree tt); returns an object exporting t=1 or t=0.
JuReZeroDim procedure
numerDecom.lib
Tests whether a point w is non-isolated in V(J) by random slicing; exports t=1 if w lies on a positive-dimensional component.

K

EntryDescription
katsura procedure
polylib.lib
Construct the Katsura ideal, optionally parameterized by an integer index.
kbase topic
reference.doc / kbase
Describes kbase, which computes monomial vector space bases of quotient rings or modules (optionally in a fixed degree), under standard basis assumptions.
kbase BR_PLURAL_BR topic
plural.doc / kbase BR_PLURAL_BR
Describes kbase, which computes vector space bases of quotients by initial-term ideals or submodules, optionally restricted to a fixed degree. Notes behavior in the non-commutative case and with module grading.
keepring topic
reference.doc / keepring
Documents the obsolete keepring command, which moves a specified ring to the next (upper) level for backward compatibility.
KeneshlouMatrixPresentation procedure
gradedModules.lib
Constructs a graded object giving a matrix presentation of the direct sum of omega^ai determined by an exponent intvec.
Ker procedure
modules.lib
Return a module representing the kernel of a matrix.
kerHom procedure
modules.lib
Computes the kernel of a homomorphism.
kernel topic
reference.doc / kernel
Describes the kernel command, which returns the kernel of a given map. Includes syntax, type, purpose, an example, and related commands.
Kernel of module homomorphisms topic
examples.doc / Kernel of module homomorphisms
Compute the kernel of a module map induced by matrices modulo the image of another matrix. The example shows how to use modulo(A,B) in Singular.
Kernel of module homomorphisms tutorial
tutor.tex / Kernel of module homomorphisms
Explains how to compute the kernel of a module homomorphism modulo the image of another map, using the Singular command modulo.
Kernel types page
Built-in Singular kernel types.
kernelLattice procedure
multigrading.lib
Compute an integral basis matrix for the kernel lattice of the homomorphism defined by an integer matrix P.
kill topic
reference.doc / kill
Deletes objects from the current Singular session. Supports deleting a single name or a list of names.
killall procedure
general.lib
Kill user-defined variables globally, optionally restricting by type or keeping specified types/names; loaded procedures are preserved.
killattrib topic
reference.doc / killattrib
Reference entry for killattrib, which deletes attributes from an object. Includes syntax, purpose, and an example.
killdups procedure
stratify.lib
Remove duplicate strata entries sharing the same intvec when one locally closed set is contained in another.
killTask procedure
tasks.lib
Stop a started task (if needed) and erase its internal data structures, resetting its state to 'uninitialized'.
kmemory procedure
general.lib
Return memory usage in kilobytes (active variables or total allocated), optionally printing detailed information.
koeff procedure
hnoether.lib
Return the coefficient a(I,J) of x^Iy^J in a bivariate polynomial f.
kohom procedure
homolog.lib
Compute the matrix of Hom(R^j,F1) -> Hom(R^j,F2) induced by a matrix M over the basering.
kontrahom procedure
homolog.lib
Compute the matrix of Hom(F2,R^k) -> Hom(F1,R^k) induced by a map F1 -> F2 given by M.
koszul topic
reference.doc / koszul
Describes the koszul command, which computes matrices of Koszul relations of a given degree for ring variables or ideal generators.
KoszulHomology procedure
homolog.lib
Compute the n-th Koszul homology H_n(I, coker(M)) for an ideal I and a module given by a presentation matrix M.
KoszulMap procedure
homolog.lib
Compatibility wrapper returning koszul(p, x) for the given ideal and index.
koszulmap procedure
tateProdCplxNegGrad.lib
Compute the i-th Koszul map matrix using a list of sorted bases in the exterior basering E.
KScoef procedure
kskernel.lib
Compute the coefficient of a word (given by qq) in the matrix entry C[i,j] for x^P + y^Q, exporting ring RC and number C.
KSconvert procedure
kskernel.lib
Convert a KS kernel matrix from variables T(i) to weighted variables T(w), exporting ring KSring2 and matrix KSkernel2.
KSker procedure
kskernel.lib
Compute the kernel of the Kodaira–Spencer map for a versal deformation of an irreducible plane curve singularity x^p+y^q, exporting KSring, KSkernel and weights.
kskernel.lib library
12 commands
## kskernel.lib — Procedures for computing the kernel
KSlinear procedure
kskernel.lib
Replace nonzero entries of the Kodaira–Spencer kernel matrix by their leading monomials (ls), to be called after KSker(p,q).
KSpencerKernel procedure
spcurve.lib
Compute a new ring containing the coefficient matrix KS for the kernel of the Kodaira–Spencer map of non-negative deformations.
KVequiv.lib library
6 commands
Let (V,0) be a complete intersection singularity in (C^p,0) and f_0:(C^n,0) --> (C^p,0) an analytic map germ, viewed as a section of V, so that the singularity V_0 = f_0^-1(V) is a pullback.
KVtangent procedure
KVequiv.lib
Compute the K_V tangent space to a singularity given as a section of a model singularity.
KVvermap procedure
KVequiv.lib
Construct a K_V-versal family by extending the ring with parameters and returning the new ring and a perturbed section map.
KVversal procedure
KVequiv.lib
Compute a K_V versal family for a section of a model singularity; returns [new ring, name of versal-family ideal].

L

EntryDescription
La_xToLax procedure
grobcov.lib
Convert a La_x structure to Lax form by appending Va and Vx and resetting a weight/intvec entry.
laguerre topic
reference.doc / laguerre
Computes all roots of a univariate polynomial using Laguerre's algorithm in characteristic 0, and using factorization in characteristic p.
laguerre_solve procedure
solve.lib
Compute (complex) roots of a univariate polynomial using Laguerre's method, with optional precision and multiplicity/splitting controls.
LaLxToLa_x procedure
grobcov.lib
Replace the first component of Lx by La (keeping entries 2..4), or return Lx unchanged if La is empty.
LaLxToLax procedure
grobcov.lib
Converts input lists (La, Lx) to a list Lax via intermediate transformations LaLxToLa_x and La_xToLax.
lastchildrenindex procedure
redcgs.lib
Return the maximum last component among labels in @L whose prefix equals the given intvec.
lastQuadrantComplex procedure
tateProdCplxNegGrad.lib
Compute the last-quadrant (strand) subquotient complex of a multigraded complex with respect to c.
lastvarGeneral procedure
weierstr.lib
Apply a generic change of variables to make a polynomial general of finite order w.r.t. the last ring variable.
latex.lib library
14 commands
Provides simple support for typesetting Singular objects in LaTeX2e. The procedures create LaTeX-formatted strings for various Singular objects and can write basic LaTeX file headers/footers, run LaTeX, and view or clean auxiliary files.
latticeArea procedure
polymake.lib
Compute the lattice area (twice Euclidean area) of the convex hull of given planar lattice points.
latticeBasis procedure
multigrading.lib
Compute an integral basis matrix for the lattice generated by the columns of an integer matrix.
latticeIdeal procedure
normaliz.lib
Return the lattice ideal induced by a binomial ideal I (requires a previously set NmzFilename).
latticePoints procedure
arnold.lib
Return all integer lattice points lying on a given Newton polygon.
latticeToMonomials procedure
arnold.lib
Convert a list of lattice points in N^2 to the corresponding list of monomials.
Lax_uvToLa_v procedure
grobcov.lib
Extracts the v-part (and optionally the a-part) from a combined Lax_uv structure, returning a derived list.
Lax_uvToLxuav procedure
grobcov.lib
Reorders a Lax list from (a,x; u,v) into (x,u,a,v) and resets the corresponding selection intvec to all ones.
laxfrT procedure
finitediff.lib
Return a predefined Lax–Friedrichs approximation vector for the time derivative using a given basering variable.
laxfrX procedure
finitediff.lib
Return a predefined Lax–Friedrichs approximation vector for differentiation in a spatial variable.
LaxToLa procedure
grobcov.lib
Convert a Lax list into a La list by trimming/copying components according to na.
LaxToLa_x procedure
grobcov.lib
Split the variable list in a Lax-structure into (a,x) parts, updating corresponding exponent/marker intvecs.
lcm procedure
polylib.lib
Compute the least common multiple (lcm) of the generators of an ideal.
lcm_chr procedure
mprimdec.lib
Compute the least common multiple of two polynomials by mapping to a dp ring and back to the basering.
lcmlmonoms procedure
redcgs.lib
Returns the least common multiple of the leading monomials of two polynomials.
lcmMon procedure
monomialideal.lib
Return the least common multiple monomial of two input monomials (given as polynomials).
lcmN procedure
crypto.lib
Compute the least common multiple lcm(a,b) for two big integers.
lcmofall procedure
resbinomial.lib
Compute the lcm of the denominators of the E-orders over all charts.
lead topic
reference.doc / lead
Returns the leading (initial) term(s) of a polynomial, vector, or of the generators of an ideal or module with respect to the monomial ordering.
lead_bpoly procedure
polybori.lib
Return the leading element of a Boolean polynomial; returns 0 if the polynomial is zero.
lead_coef_bpoly procedure
polybori.lib
Return the leading coefficient of a Boolean polynomial (0 if zero, otherwise 1).
lead_monom_bpoly procedure
polybori.lib
Return the leading monomial of a PolyBoRi boolean polynomial (0 if pp is zero).
leadcoef topic
reference.doc / leadcoef
Returns the leading (initial) coefficient of a polynomial or a vector with respect to the monomial ordering.
leadexp topic
reference.doc / leadexp
Returns the exponent vector of the leading monomial of a polynomial or a vector. For vectors, the last component is the vector index.
leadmonom topic
reference.doc / leadmonom
Returns the leading monomial of a polynomial or vector as a polynomial or vector with coefficient 1. The return type matches the input type.
leadmonomial procedure
teachstd.lib
Return the leading monomial of a poly or of a vector (dropping the module generator for vectors).
LeadTerm procedure
zeroset.lib
Compute leading term/monomial/coefficient of a polynomial w.r.t. a chosen variable index, treating last ring variable as parameter.
Left and two-sided Groebner bases topic
examples.doc / Left and two-sided Groebner bases
Singular:Plural provides algorithms to compute left and two-sided Gröbner bases in non-commutative G-algebras. An example in A:=U(sl_2) illustrates basis computation, dimension queries, and reductions.
Left and two-sided Groebner bases tutorial
tutor.tex / Left and two-sided Groebner bases
Describes how to compute left and two-sided Gröbner bases in non-commutative G-algebras with Singular:Plural, and how to compare the resulting ideals and factor modules in an example.
leftInverse procedure
control.lib
Compute a module/matrix L such that LM = Id (exists only if M is a free submodule).
leftKernel procedure
control.lib
Compute the left kernel of a matrix M (module of vectors v with vM = 0).
leftOre procedure
olga.lib
Compute left Ore data for a tuple (s,r) w.r.t. a localization given by locType and locData.
leit procedure
hnoether.lib
Returns the sum of all monomials of f lying on the Newton-diagram line segment from (0,n) to (m,0).
lejeune.lib library
2 commands
Library lejeune.lib provides procedures for computations in arc spaces following constructions described by M. Lejeune.
length procedure
rootisolation.lib
Return the Euclidean length of an interval.
length2 procedure
interval.lib
Compute the length/size (in the measure sense) of an interval.
lengthBox procedure
interval.lib
Return the box size as the maximum interval length among its components.
LengthSym procedure
qmatrix.lib
Return an intvec of permutation lengths, one for each row of intmat M (rows assumed to be elements of S(n)).
LengthSymElement procedure
qmatrix.lib
Determine the length (number of inversions) of a permutation given by an intvec in some S(n).
lesslab procedure
redcgs.lib
Compare two label intvecs stored as l[1] and return 1 if l1 is lexicographically smaller (with shorter-prefix rule), else 0.
lesspol procedure
redcgs.lib
Compare two polynomials: returns 1 if f is less than g by leadmonom, breaking ties by leadcoef, else 0.
letplaceGBasis procedure
freegb.lib
(deprecated; use twostd) Compute a two-sided Groebner basis of a letterplace ideal/module via the legacy Letterplace algorithm.
Letterplace topic
letterplace.doc
LETTERPLACE topic
letterplace.doc / LETTERPLACE
Introduces the Letterplace subsystem of Singular and the mathematical concepts it uses for computations in free associative algebras and their factor algebras.
Letterplace correspondence topic
letterplace.doc / Letterplace correspondence
Introduces the letterplace encoding of monomials in a free algebra and its correspondence with ideals in a commutative letterplace algebra, including truncation and shifting.
LETTERPLACE libraries topic
letterplace.doc / LETTERPLACE libraries
This section lists the libraries created for Letterplace and how to load them. It also points to a related library for factorization in noncommutative algebras.
Levels procedure
grobcov.lib
Convert ConsLevels output into the proper odd-indexed level list representation of a constructible set.
lex_solve procedure
solve.lib
Create a complex-coefficient ring and store the complex roots of a reduced lex Groebner basis in the exported list rlist.
lft_vf procedure
KVequiv.lib
Compute liftable vector fields (up to parameter order b) for a quasihomogeneous model via a map ideal, returning names/rings in a list.
LIB topic
reference.doc / LIB
Describes the LIB command, which reads a library of procedures from a file and loads them into specific packages. Includes search path behavior, notes on standard.lib, and an example.
LIB commands topic
general.doc / LIB commands
Describes the LIB commands used in a library header, including syntax, purpose, an example, and a note on required spacing.
libparse topic
general.doc / libparse
Describes libparse, a stand-alone debugging tool for Singular libraries that performs the same checks as load but with more verbose parsing output.
Libraries topic
general.doc / Libraries
Describes what Singular libraries are, how to load them, and the required structure and guidelines for writing your own library.
Libraries in the SINGULAR Documentation topic
general.doc / Libraries in the SINGULAR Documentation
Explains how Singular library documentation strings are converted to texinfo and used to generate various output formats. Notes conventions for markup and how procedure examples are processed.
Library-defined types page
Types declared in library info strings.
libSingular topic
platform.doc / libSingular
Documentation for libSingular, the C++ library version of Singular, including its main include file, link parameters, and notable exceptions compared to Singular.
lieBracket procedure
freegb.lib
Compute the Lie bracket [a,b]=ab-ba of letterplace polynomials; optionally compute the left-normed iterated bracket.
lift topic
reference.doc / lift
Computes a transformation matrix expressing generators of a submodule (or ideal) in terms of generators of a module (or ideal). Optionally stores a diagonal unit matrix and selects the Gröbner basis algorithm.
lift BR_LETTERPLACE_BR topic
letterplace.doc / lift BR_LETTERPLACE_BR
Documents lift BR_LETTERPLACE_BR, which computes a transformation matrix expressing subbimodule generators in terms of bimodule generators.
lift BR_PLURAL_BR topic
plural.doc / lift BR_PLURAL_BR
Describes lift, which computes a left transformation matrix expressing submodule generators in terms of module generators, with notes and an example.
lift_kbase procedure
deform.lib
Return coefficient matrix expressing N as a linear combination of the k-basis of std(M).
lift_rel_kb procedure
deform.lib
Compute a coefficient matrix A with kbaseMA = reduce(N,std(M)) (kbaseM computed automatically unless provided).
liftenvelope procedure
bimodules.lib
Constructs the enveloping algebra ring and exports coefficients/syzygies expressing g in terms of generators of a two-sided ideal/module.
liftstd topic
reference.doc / liftstd
Describes liftstd, which computes a standard basis of an ideal or module together with a transformation matrix (and optionally syzygies), including support for quotient rings and relative computations.
liftstd BR_LETTERPLACE_BR topic
letterplace.doc / liftstd BR_LETTERPLACE_BR
Describes liftstd, which computes a Gröbner basis for a two-sided ideal or bimodule and returns a transformation matrix (and optionally a syzygy bimodule). Includes syntax, purpose, and an example.
liftstd BR_PLURAL_BR topic
plural.doc / liftstd BR_PLURAL_BR
Describes liftstd for computing a left Gröbner basis of an ideal or module together with a left transformation matrix, optionally returning the left syzygy module.
likeIdeal procedure
maxlike.lib
Compute the likelihood ideal associated to an algebraic statistical model ideal I and data vector u.
Limitations topic
tricks.doc / Limitations
Lists technical limits in Singular, including bounds for characteristics, coefficients, degrees, module ranks, identifiers, token sizes, input encoding, and parallelization.
linalg.lib library
28 commands
### Algorithmic Linear Algebra
linealityDimension procedure
gfan.lib
Return the dimension of the lineality space of a cone or a fan.
linealitySpace procedure
gfan.lib
Compute the lineality space (as a cone) of a given cone.
linear_relations procedure
matrix.lib
Compute a maximal module R of linear relations such that MR consists of zero vectors.
LinearActionQ procedure
rinvar.lib
Test whether an action ideal is linear with respect to the variables var(nrs+1..nvars(basering)); returns 0/1.
LinearCombinationQ procedure
rinvar.lib
Test whether a polynomial f is a linear combination of the generators of an ideal I.
linearCombinations procedure
central.lib
Forms an ideal of linear combinations of Basis elements using coefficient vectors from a module.
LinearizeAction procedure
rinvar.lib
Linearizes a given group action and returns a new ring containing ideals actionid, embedid, and groupid.
linearlyEquivalent procedure
divisors.lib
Test whether two divisors are linearly equivalent; if yes return a list (f,g) with A-B=(f/g), else 0.
linearMapKernel procedure
central.lib
Computes the syzygy module (kernel relations) of the linear map defined by an ideal of images; returns 0 if all images are zero.
linearpart procedure
presolve.lib
Split an ideal/module into generators of total degree <= 1 and the remaining generators (treating all variables as degree 1).
LinearZeroSetMain procedure
zeroset.lib
Solves univariate linear polynomials in an ideal and returns partial solution, solved variable indices, and updated generators.
linesearch procedure
ntsolve.lib
Compute a step size for a line search by evaluating nl at aa-ssbb and using il2norm to enforce decrease.
linesHypersurface procedure
schubert.lib
Compute the number of lines on a general hypersurface (parameterized by its degree).
link kernel type
kernel
I/O link (file/device)
link topic
types.doc / link
Describes Singular links as communication channels and lists the supported link types and related documentation nodes.
link type
standard.lib
A link used for output (for example in fprintf).
link declarations topic
types.doc / link declarations
Describes the syntax and usage of the link declaration to define new communication links in Singular.
link expressions topic
types.doc / link expressions
Defines link expressions and explains the string format used to describe links in Singular. Provides references to detailed format descriptions for different link types.
link related functions topic
types.doc / link related functions
Overview of functions for opening, closing, reading from, and writing to links, including dump handling and link status queries.
LinksDeformation kernel type
kernel
linReduce procedure
bfun.lib
Reduce a polynomial by linear reductions (no monomial multiplications) with respect to an ideal, optionally returning used coefficients.
linReduceIdeal procedure
bfun.lib
Interreduce an ideal by linear reductions only (no monomial multiplications), optionally returning reduction coefficient vectors.
linsolve procedure
linalg.lib
Solve the inhomogeneous linear system AX=b for constant matrices; returns a 1×m solution matrix or the zero matrix if unsolvable.
linSyzSolve procedure
bfun.lib
Compute a coefficient vector giving a linear dependency among the generators of an ideal, if one exists.
list kernel type
kernel
list
list procedure
redcgs.lib
Compute (r,q,m) such that mf = r + sum(qG).
list topic
types.doc / list
Describes Singular lists, which can hold elements of different types (including rings), and explains their behavior regarding rings and object names.
list type
tropicalEllipticCovers.lib
List type used for collections such as orderings, partitions, and tuples.
list declarations topic
types.doc / list declarations
Describes the syntax and usage of list declarations in Singular. Includes default behavior and an example.
list expressions topic
types.doc / list expressions
Defines what constitutes a list expression in Singular and provides a short example.
list operations topic
types.doc / list operations
Describes basic operations on lists in Singular, including concatenation, deleting and inserting elements, and indexing. Includes a short example.
list related functions topic
types.doc / list related functions
List of functions related to lists, with brief descriptions and cross-references.
listvar topic
reference.doc / listvar
Lists (user-)defined names, optionally restricted by package, type, ring, or a specific name. Also indicates the current basering and procedure nesting levels.
llift procedure
purityfiltration.lib
Compute a left lift matrix X such that N = XM, assuming the row module of N is contained in the row module of M.
lll procedure
multigrading.lib
Apply NTL's LLL reduction to an intmat or to a list of equal-length intvec, returning the result in the same format.
load topic
reference.doc / load
Describes the load command for reading a library of procedures from a file, including search paths, options, and package behavior.
Loading a library topic
general.doc / Loading a library
Describes how to load Singular libraries using LIB or load, how the library search path is constructed, and when library procedures are read into memory.
Local orderings topic
pdata.doc / Local orderings
Defines local monomial orderings in Singular and explains how they correspond to localization at the maximal ideal (x_1,\ldots,x_n). Lists the supported orderings and their definitions.
localInvar procedure
ainvar.lib
Compute an invariant polynomial of the vector field m with respect to p,q,h, dividing out powers of h when possible.
localization procedure
olga.lib
Procedure localization from olga.lib (no further signature information available).
localize procedure
ehv.lib
Returns the contraction of the extension of I in the localization of the ring at the associated prime P.
localstd procedure
teachstd.lib
Compute a standard basis of an ideal for a local degree ordering (ds) using Lazard's homogenization method.
locAtZero procedure
normal.lib
Test whether an ideal has exactly one point and that point is the origin (returns 1 if yes, 0 otherwise).
locNormal procedure
locnormal.lib
Normalization of the quotient ring R/I using local methods.
locNormal procedure
normal.lib
Computes the normalization of R/I by local methods, returning an ideal U and denominator d with U/d the normalization.
locNormal_parallelTask procedure
normal.lib
Compute a localized normalization task for an ideal using normal/modNormal and adjust denominators; returns (ideal, elapsed time).
locnormal.lib library
1 commands
This library is deprecated and is distributed only for compatibility.
locStatus procedure
olga.lib
Determine validity/status of localization data; returns [0|1, status/error message].
locstd procedure
sing.lib
Compute a standard basis of an ideal w.r.t. a local degree ordering via homogenization and dehomogenization.
locus procedure
grobcov.lib
Computes locus components (with taxonomy) from a parametric ideal, optionally using options like numpar, moverdim, grobcov, and comments.
locusdg procedure
grobcov.lib
Selects the "Normal" and "Accumulation" components from a locus(S) result, returning them as "Relevant" components.
locusto procedure
grobcov.lib
Convert locus/locusdg/envelop output list into a standard-form string readable by other systems (e.g., GeoGebra).
log2 procedure
aksaka.lib
Compute the base-2 logarithm of an integer (via series for ln and change of base).
logg procedure
schubert.lib
Compute Chern character polynomial up to degree n from a total Chern class polynomial f.
logHessian procedure
maxlike.lib
Compute a modified Hessian matrix of the loglikelihood function defined by a model ideal I and data vector u.
Long coefficients topic
examples.doc / Long coefficients
This example shows how lexicographical standard basis computations in characteristic 0 can produce extremely long coefficients, and how a small deformation can avoid this. It also demonstrates representing long integers using real.
Long coefficients tutorial
tutor.tex / Long coefficients
An example showing that standard basis computations in characteristic 0 may produce extremely long coefficients, while a small deformation avoids this. It also illustrates computing coefficient lengths and representing long integers in real.
lp2iv procedure
freegb.lib
Transform a monomial in a Letterplace ring into its corresponding intvec representation.
lp2ivId procedure
freegb.lib
Convert an ideal in a Letterplace ring into a list of intmats representing the intvec rows of its elements (deprecated).
lp2lstr procedure
freegb.lib
Convert a letterplace ideal to a list of modules and export it as @LN into the specified ring.
lpCalcSubstDegBound procedure
fpaprops.lib
Compute the minimal degree bound required to perform substitutions s1->s2 on all polynomials in ideal I (Letterplace basering).
lpDegBound procedure
freegb.lib
Return the degree bound of a letterplace ring.
lpDimCheck procedure
fpadim.lib
Wrapper calling teach_lpKDimCheck on an ideal.
lpDivision procedure
freegb.lib
Compute a two-sided noncommutative division with remainder of p with respect to a Groebner basis I, returning NF and a presentation.
lpGBPres2Poly procedure
freegb.lib
Reconstruct a polynomial from a Groebner presentation list (as produced by lpDivision) with respect to an ideal.
lpGkDim procedure
fpaprops.lib
Determine the Gelfand–Kirillov dimension of A/ for a Groebner basis ideal in a letterplace ring (-1 means +infinity).
lpGlDimBound procedure
fpaprops.lib
Compute an upper bound for the global dimension of A/G in a Letterplace ring (-1 means infinite).
lpHilbert procedure
fpadim.lib
Compute the truncated Hilbert series coefficients of K/ in a Letterplace ring up to a given degree bound.
lpId2ivLi procedure
freegb.lib
Transform an ideal in a Letterplace ring into the corresponding list of intvecs (deprecated).
lpIsPrime procedure
fpaprops.lib
Test whether the monomial algebra A/ (equivalently in A) is prime, for a Groebner basis ideal G in a Letterplace ring.
lpIsSemiPrime procedure
fpaprops.lib
Test whether the monomial algebra A/ (equivalently ) is semi-prime in a Letterplace ring.
lpKDim procedure
fpadim.lib
Deprecated alias for vdim(G); computes the K-dimension of A/ in a letterplace ring (-1 means infinity).
lpMonomialBasis procedure
fpadim.lib
Return monomials in a Letterplace ring of degree .
lpNcgenCount procedure
freegb.lib
Return the number of ncgen variables in a letterplace ring.
lpNF procedure
freegb.lib
Compute the normal form of a Letterplace polynomial p with respect to a Letterplace Groebner basis G (deprecated; use reduce()).
lpNoetherian procedure
fpaprops.lib
Test whether the monomial algebra A/ (and thus possibly A/) is left/right/two-sided (weak) Noetherian.
lpPrint procedure
freegb.lib
Represent a Letterplace ideal as a list of word strings (legacy routine).
lprint procedure
inout.lib
Return a string printing id with line breaks to fit a given width, without splitting monomials; columns are separated by blank lines.
lpSubstitute procedure
fpaprops.lib
Substitute selected variables in a Letterplace polynomial by given polynomials, optionally reducing modulo a Groebner basis ideal.
lpVarBlockSize procedure
freegb.lib
Return the variable block size of a letterplace ring (number of variables of the original ring).
lrcalc.lib library
6 commands
An interface to the documented functions of the Littlewood–Richardson Calculator by Anders Buch.
LRcoef procedure
lrcalc.lib
Compute the Littlewood–Richardson coefficient c^z_{x,y} for integer partitions given as lists.
LRcoprod procedure
lrcalc.lib
Compute all partition pairs (x,y) with nonzero Littlewood-Richardson coefficient c^z_{x,y}, returning them with the coefficient.
lres topic
reference.doc / lres
Computes a (minimal) free resolution of a homogeneous ideal using LaScala's algorithm. Optionally stops after a given number of steps and returns the corresponding modules.
LRinstall procedure
lrcalc.lib
Install the Littlewood-Richardson Calculator by running a shell command; returns the shell exit status.
LRmult procedure
lrcalc.lib
Compute Littlewood–Richardson products: return partitions z with nonzero c^z_{x,y} together with the coefficient.
LRschubmult procedure
lrcalc.lib
Compute the expansion of a product of two Schubert polynomials in the Schubert basis.
LRskew procedure
lrcalc.lib
Compute partitions y with nonzero Littlewood–Richardson coefficient c^z_{x,y}, optionally restricting to y of length <= r.
lsum procedure
ellipticcovers.lib
Sum the elements of a list using the + operator.
lsyz procedure
purityfiltration.lib
Compute a left syzygy matrix X of R such that XR=0 (syzygies of the row module of R).
LTGS procedure
sagbigrob.lib
Compute a module encoding leading terms for syzygies of an ideal I over the subalgebra A (finite SAGBI basis).
ludecomp topic
reference.doc / ludecomp
Computes the LU decomposition of an (m \times n) matrix over the ground field. Returns a list containing the matrices P, L, and U.
luinverse topic
reference.doc / luinverse
Computes the inverse of a matrix A (if it exists), either directly or from an LU-decomposition. Provides a list-based return form to test invertibility before using the inverse.
lusolve topic
reference.doc / lusolve
Computes all solutions of a solvable linear system Ax=b given an LU decomposition. Returns either no solution or a particular solution together with a basis of the homogeneous solution space.

M

EntryDescription
m_merkle_hellman_decryption procedure
crypto.lib
Decrypts a Merkle–Hellman message and returns the corresponding binary list.
m_merkle_hellman_encryption procedure
crypto.lib
Encrypts a message (as a list) with a given knapsack using Merkle–Hellman, returning the ciphertext as an integer.
m_merkle_hellman_transformation procedure
crypto.lib
Transforms an (easy) knapsack into a hard knapsack using a primitive element and a modulus.
MacdonaldF procedure
goettsche.lib
Compute Macdonald's formula as a polynomial in z and t, truncated up to degree n in t, from a list of Betti numbers.
Macintosh installation instructions topic
platform.doc / Macintosh installation instructions
Instructions for installing the provided Singular binaries on macOS and resolving the “unidentified developer” warning.
magnitude procedure
findifs.lib
Compute the squared magnitude re(P)^2 + im(P)^2 of a complex expression, assuming i is a variable of the basering.
Major differences to the C programming language topic
tricks.doc / Major differences to the C programming language
Overview of subtle differences between Singular’s programming language and the C programming language, with pointers to the most important topics.
makeAffineScheme procedure
scheme.lib
Constructs the affine scheme V(I)=Spec(R/I) (in the basering), optionally as a subscheme of a given affine scheme X.
makeChart procedure
scheme.lib
Construct a chart representing Spec(R/I) in the current basering.
makeChartmap procedure
scheme.lib
Construct a chartmap from preimage/image charts plus domain and rational function data (list or flat ratFunc arguments).
makeConverseWeyl procedure
deRham.lib
Creates a ring with D(1..n), x(1..n) and returns the converse Weyl structure via converseWeyl().
makedbm_init procedure
makedbm.lib
Initialize and verify the NFlist DBM database; creates it if missing and prints the current VERSION.
makedbm_init procedure
SingularityDBM.lib
Initialize internal state for the SingularityDBM library.
makedbm.lib library
5 commands
This library provides access to a DBM database of singularities used by the Arnold classifier.
makedistinguished procedure
decomp.lib
Applies a random linear coordinate change so f becomes distinguished in vvar, returning the transformed poly and an ideal for the inverse map.
makeDivisor procedure
divisors.lib
Create a divisor from numerator/denominator ideals by purifying to codimension 1 components.
makeDivisor procedure
scheme.lib
Construct a divisor D = sum mi[Yi] on a scheme X from pairs (Yi,mi) and the ambient space X.
makeFormalDivisor procedure
divisors.lib
Create a formal integer sum of divisors from a list of (coefficient, divisor) summands.
makeGraph procedure
ellipticcovers.lib
Generate a graph from a list of vertices and a list of edges.
makeGraphVE procedure
schubert.lib
Create a graph from a list of vertices and a list of edges.
makeHeisenberg procedure
nctools.lib
Create the n-th Heisenberg nc_algebra ring in variables x(1..n), y(1..n), h over Q or F_p with commutator term h^d.
makeIdeal procedure
idealclass.lib
Construct a ring-independent Ideal object from an input ideal.
makeIdeal procedure
modules.lib
Wrap an ideal into an Ideal object, storing the current basering (used e.g. for resolutions).
makeLetterplaceRing procedure
freegb.lib
(Deprecated; use freeAlgebra) Create a letterplace ring with a chosen ordering for letterplace computations.
makeLinks procedure
stanleyreisner.lib
Create a first-order deformation associated to links of a Stanley-Reisner ideal.
makeMalgrange procedure
dmodvar.lib
Create a Weyl algebra ring and export IF, the Malgrange ideal associated with generators F[1]..F[P].
makeMatrix procedure
modules.lib
Create a Matrix from a matrix, graded if homogeneous; optionally ignore source/target grading.
makeModElimRing procedure
nctools.lib
Create a copy of a ring equipped with the module elimination ordering (c,<) by moving the component ordering entry to the front.
makeMorphism procedure
scheme.lib
Constructs a morphism between schemes from a list of chartmaps indexed by source/target cover charts.
makeOmega procedure
deRham.lib
Constructs and returns a list alternating differential matrices and omega index-lists for size n.
makePDivisor procedure
divisors.lib
Construct a pdivisor (polyhedral formal sum of divisors) from a list of (polyhedron, divisor) pairs with common tail cone.
makePoly procedure
polyclass.lib
Construct a ring-independent Poly object from a basering polynomial.
makeProjScheme procedure
scheme.lib
Construct the projective scheme Proj(R/I) for a homogeneous ideal I (optionally as a subscheme of a given scheme X).
makePuiseux procedure
puiseuxexpansions.lib
Construct a ring-independent polynomial over Puiseux series from f with denominator denom and fraction parameter fr.
makePuiseuxFromPoly procedure
puiseuxexpansions.lib
Convert a 2-variable polynomial into a ring-independent polynomial over Puiseux series.
makeQPoly procedure
stanleyreisner.lib
Convert a basering polynomial into a QPoly representing its class in the current quotient ring.
makeQsl2 procedure
ncalg.lib
Create a ring presenting V_q(sl_2) with exported ideal Qideal so U_q(sl_2) can be formed as qring = Qideal.
makeQsl3 procedure
ncalg.lib
Constructs a ring presenting V_q(sl_3) and exports the ideal Qideal so U_q(sl_3) can be formed as a qring factor.
makeQso3 procedure
ncalg.lib
Create a ring presenting U_q(so_3) (Klimyk); optionally specialize the quantum parameter Q at a (2n)-th root of unity.
makeratFunc procedure
scheme.lib
Construct a ratFunc representing the rational function f/g (default denominator 1).
makeSheaf procedure
schubert.lib
Create a sheaf on an abstract variety with prescribed Chern character polynomial.
makeUe6 procedure
ncalg.lib
Create and return a ring presenting the universal enveloping algebra U(e_6), optionally over a given field characteristic.
makeUe7 procedure
ncalg.lib
Create and return a ring presenting the universal enveloping algebra U(e_7) (activate with setring), optionally over characteristic p.
makeUe8 procedure
ncalg.lib
Create a ring presenting the universal enveloping algebra U(e_8), optionally over a field of characteristic p.
makeUf4 procedure
ncalg.lib
Create a ring presenting the universal enveloping algebra U(f4), optionally over a given field characteristic.
makeUg2 procedure
ncalg.lib
Constructs the noncommutative ring for U(g_2) in variables x(1..6), y(1..6), Ha, Hb over characteristic p.
makeUgl procedure
ncalg.lib
Constructs and returns a ring presenting U(gl_n) in generators e_ij over a field of characteristic p (optional).
makeUsl procedure
ncalg.lib
Constructs and returns a ring presenting U(sl_n) with generators x(i), y(i), h(i) over a field of characteristic p.
makeUsl2 procedure
ncalg.lib
Create the noncommutative algebra U(sl_2) in variables (e,f,h) over a field of characteristic p and return it as a ring.
makeUso10 procedure
ncalg.lib
Create a ring presenting the universal enveloping algebra U(so_10), optionally over a field of characteristic p.
makeUso11 procedure
ncalg.lib
Constructs and returns a noncommutative ring presenting U(so_11), optionally over a field of characteristic p.
makeUso12 procedure
ncalg.lib
Create a ring giving a presentation of the universal enveloping algebra U(so_12), optionally over a field of characteristic p.
makeUso3 procedure
ncalg.lib
Set up the real U(so_3) algebra in the symmetric presentation and return the corresponding ring.
makeUso5 procedure
ncalg.lib
Construct a ring presenting the universal enveloping algebra U(so_5), optionally over a field of characteristic p.
makeUso6 procedure
ncalg.lib
Constructs and returns a ring presenting the universal enveloping algebra U(so_6); activate it with setring.
makeUso7 procedure
ncalg.lib
Constructs and returns a ring presenting the universal enveloping algebra U(so_7), optionally over a given characteristic.
makeUso8 procedure
ncalg.lib
Create and return a ring presenting the universal enveloping algebra U(so_8); activate it via setring.
makeUso9 procedure
ncalg.lib
Create a ring presenting the universal enveloping algebra U(so_9) (Chevalley-type generators x(i), y(i), h(i)); use setring.
makeUsp1 procedure
ncalg.lib
Create and return the Singular ring presenting the enveloping algebra U(sp_1) (optionally over characteristic p).
makeUsp2 procedure
ncalg.lib
Constructs and returns a ring presenting the universal enveloping algebra U(sp_2), optionally over a field of characteristic p.
makeUsp3 procedure
ncalg.lib
Create and return a ring presenting the universal enveloping algebra U(sp_3), optionally over a field of characteristic p.
makeUsp4 procedure
ncalg.lib
Constructs and returns a ring presenting the universal enveloping algebra U(sp_4), optionally over a field of characteristic p.
makeUsp5 procedure
ncalg.lib
Constructs and returns a ring presenting the universal enveloping algebra U(sp_5), optionally over a field of characteristic p.
makeVariety procedure
schubert.lib
Create an abstract variety of dimension d with Chow ring relations given by an ideal in the basering.
makeVector procedure
modules.lib
Creates a Vector in the given module from an input vector.
makeWeyl procedure
nctools.lib
Create the n-th Weyl algebra ring in (x(i),D(i)) presentation over Q or F_p (optional characteristic).
map kernel type
kernel
ring homomorphism (map)
map topic
types.doc / map
Maps are ring maps from a preimage ring into the basering. This section lists canonical and further possible coefficient-field mappings and links to related topics.
map BR_PLURAL_BR topic
plural.doc / map BR_PLURAL_BR
Describes maps as ring maps from a source (preimage) ring into the current basering. Lists supported coefficient field mappings and notes important restrictions, especially in Plural.
map declarations topic
types.doc / map declarations
Defines how to declare ring maps from a preimage ring to the current basering, including syntax variants, behavior, and examples.
map declarations BR_PLURAL_BR topic
plural.doc / map declarations BR_PLURAL_BR
Describes the syntax and behavior of map declarations in Singular, including default behavior, notes on usage, and examples. References related commands and topics.
map expressions topic
types.doc / map expressions
Defines what constitutes a map expression in Singular and lists the allowed forms.
map expressions BR_PLURAL_BR topic
plural.doc / map expressions BR_PLURAL_BR
Defines what constitutes a map expression and lists the valid forms. Includes identifiers, functions returning maps, and compositions of maps.
map operations topic
types.doc / map operations
Describes operations on maps in Singular, including map composition and accessing map entries, with an example.
map operations BR_PLURAL_BR topic
plural.doc / map operations BR_PLURAL_BR
Describes basic operations for map expressions, including composition and access to map entries, with an example in Singular.
map related functions topic
types.doc / map related functions
Overview of functions related to maps between rings, with references to detailed documentation and related libraries.
map related functions BR_PLURAL_BR topic
plural.doc / map related functions BR_PLURAL_BR
Overview of map-related functions in PLURAL, including identity maps, inclusion/projection maps, preimages, and variable substitution.
map|ideal kernel type
kernel
map2Surf procedure
resgraph.lib
Replace occurrences of var(1), var(2), var(3) in a string by x, y, z respectively.
mapall procedure
ring.lib
Maps all global objects from ring/qring R into the current basering via the variable-to-ideal map defined by i, optionally suffixing names.
mapIsFinite procedure
algebra.lib
Test whether the induced map R -> basering/J is finite (J defaults to 0), returning 1 if finite and 0 otherwise.
mappingcone procedure
gradedModules.lib
Construct a chain complex (list) giving a free resolution of the cokernel of a random map between Img(M) and Img(N).
mappingcone3 procedure
gradedModules.lib
Construct a chain complex (list) via a mapping-cone-style construction from graded objects A and B.
mapToRatNormCurve procedure
paraplanecurves.lib
Create a new ring containing the ideal RNC, mapping a rational plane curve to a rational normal curve.
markedModule kernel type
kernel
markedModule_print procedure
graal.lib
Print a markedModule by showing its module over Ay (=Gr.Ky) and its module over Ky (=Gr.Graal).
markedResolution kernel type
kernel
markedResolution_print procedure
graal.lib
Print the resolutions stored in a markedResolution over its base ring Al and over its Graal ring.
markov4ti2 procedure
sing4ti2.lib
Compute a toric ideal specified by a Markov basis for the lattice given by ker(A) or (if i!=0) Im(A).
mat_rk procedure
linalg.lib
Compute the rank of a constant matrix.
mat2arr procedure
arr.lib
Convert a coefficient matrix (rows = affine linear equations, last column = constants) into an arrangement.
mat2carr procedure
arr.lib
Construct a central hyperplane arrangement by interpreting each row of a coefficient matrix as a linear equation.
matbil procedure
rootsmr.lib
Compute the symmetric matrix of the trace bilinear form (f,g) ↦ trace(m_{f h g}) on R/I w.r.t. basis B.
Mathematical background manual
math.doc
This chapter introduces key mathematical notions and definitions used throughout the manual and points to further references for details.
Mathematical background BR_LETTERPLACE_BR topic
letterplace.doc / Mathematical background BR_LETTERPLACE_BR
Mathematical background topics related to letterplace methods, including free associative algebras, monomial orderings, Gröbner bases, bimodules, syzygies, lifts, and the letterplace correspondence.
Mathematical background BR_PLURAL_BR topic
plural.doc / Mathematical background BR_PLURAL_BR
This section introduces the mathematical notions and definitions used throughout the Plural manual and points to further references for details.
mathinit procedure
graphics.lib
Return an initialization string for loading Mathematica's GraphicsImplicitPlot package.
mathml procedure
mathml.lib
Generate MathML code from a Singular object.
mathml.lib library
27 commands
This library provides procedures to convert Singular objects to MathML code and to view the generated MathML output.
mathmlBigInt procedure
mathml.lib
Return a MathML ... string containing the given bigint as text.
mathmlBigintmat procedure
mathml.lib
Convert a bigintmat to a MathML string by delegating to mathmlMatrix.
mathmlHilf procedure
mathml.lib
Internal helper that converts a polynomial (via mathmlHilf1/mathmlPoly) to a MathML string.
mathmlHilf1 procedure
mathml.lib
Transfers a polynomial from ring r through temporary renamed rings and returns the rewritten polynomial in a derived ring.
mathmlIdeal procedure
mathml.lib
Return a MathML string representation of an ideal.
mathmlInt procedure
mathml.lib
Convert an int to a MathML representation (via mathmlBigInt).
mathmlIntmat procedure
mathml.lib
Convert an intmat to a MathML matrix string.
mathmlIntvec procedure
mathml.lib
Convert an intvec to a MathML string by treating it as a matrix and delegating to mathmlMatrix.
mathmlLeadCoef procedure
mathml.lib
Convert a coefficient string into a MathML fragment for its leading coefficient (handles signs and simple fractions).
mathmlList procedure
mathml.lib
Return a MathML string representing the list l enclosed in braces, with elements separated by semicolons.
mathmlMap procedure
mathml.lib
Return MathML code describing a map, optionally with an explicit source ring.
mathmlMatrix procedure
mathml.lib
Convert a Singular matrix into a MathML string using an representation.
mathmlMonomial procedure
mathml.lib
Return a MathML string encoding of the leading monomial of a polynomial as a product of variable powers.
mathmlNumber procedure
mathml.lib
Convert a Singular number into a MathML string representation.
mathmlPoly procedure
mathml.lib
Convert a polynomial to a MathML string, selecting an internal formatter based on the current ring type.
mathmlPolyGAL procedure
mathml.lib
Convert a polynomial into a MathML string by concatenating MathML for each term (GAL format).
mathmlPolyN procedure
mathml.lib
Convert a polynomial to a MathML string representation using the given ring context.
mathmlPolyR procedure
mathml.lib
Convert a polynomial into a MathML string (sum of terms) using the current basering.
mathmlRing procedure
mathml.lib
Return MathML/LaTeX-style code describing a given Singular ring.
mathmlRingType procedure
mathml.lib
Classify the current basering for MathML output (real/complex vs parameter rings vs others).
mathmlString procedure
mathml.lib
Return the given MathML string unchanged.
mathmlTermGAL procedure
mathml.lib
Convert the leading term of a polynomial into a MathML string (special-cases p in {-1,0,1}).
mathmlVariablesEncoding procedure
mathml.lib
Encode a variable name string into MathML, using for subscripts and otherwise.
mathmlVector procedure
mathml.lib
Convert a Singular vector to a MathML string by delegating to mathmlMatrix.
matmult procedure
rootsmr.lib
Return the matrix of multiplication by f on R/I with respect to the monomial basis B.
matrix kernel type
kernel
matrix
matrix topic
types.doc / matrix
Matrices in Singular consist of polynomial entries and are defined with respect to a basering. This section describes declarations, expressions, type casts, operations, and related functions.
Matrix type
modules.lib
Matrices equipped with source and target given as free modules.
matrix declarations topic
types.doc / matrix declarations
Defines matrices of polynomials and describes how list initialization and matrix expressions determine matrix size and entries.
matrix expressions topic
types.doc / matrix expressions
Defines what constitutes a matrix expression in Singular and provides a short example.
matrix operations topic
types.doc / matrix operations
Overview of available matrix operations in Singular, including arithmetic, comparisons, indexing, and a short example.
Matrix orderings topic
pdata.doc / Matrix orderings
Defines matrix (M-)orderings for monomials via an integer invertible matrix and gives example matrices for common orderings, including product orderings and orderings with extra weight vectors.
matrix related functions topic
types.doc / matrix related functions
Index of matrix-related functions in Singular, with links to the corresponding reference entries and a related library.
matrix type cast topic
types.doc / matrix type cast
Casts an expression to a matrix. Optional dimensions can be provided; otherwise the dimensions are taken from the expression.
matrix.lib library
31 commands
Provides basic and elementary operations on matrices, including construction of special matrices, direct sums and concatenation, submatrices, Gaussian reduction, and elementary row/column operations. It also contains utilities for converting a matrix to an ide
matrixExp procedure
orbitparam.lib
Compute exp(A) for a nilpotent square matrix A via the terminating power series.
matrixLog procedure
orbitparam.lib
Compute the matrix logarithm log(A) for a unipotent matrix A via the terminating power series.
matrixpres procedure
gradedModules.lib
Construct a matrix presentation (graded object) for a direct sum of omega^ai specified by an intvec.
matrixsystem procedure
finitediff.lib
Builds the matrix form of a finite-difference scheme for a linear PDE system from coefficient matrices and approximation rules.
matrixT1 procedure
spcurve.lib
Computes data for the first-order deformation space T1 of a codim-2 CM ideal given by a k x (k+1) presentation matrix.
Max procedure
qhmoduli.lib
Find the maximal integer contained in a non-empty intvec or list.
max procedure
standard.lib
Returns the maximum among the given arguments for types where the '>' operator is defined.
max topic
reference.doc / max
Reference entry for the Singular function max.
maxabs procedure
rootsur.lib
Return an upper bound for the largest absolute value among the roots of a univariate rational polynomial.
maxcoef procedure
polylib.lib
Return the maximal length of a coefficient occurring in the given poly/… expression.
maxdeg procedure
polylib.lib
Degree(s) of the term(s) of maximal order of a polynomial.
maxdeg1 procedure
polylib.lib
Return the (possibly weighted) maximal degree of the input.
maxEord procedure
resbinomial.lib
Compute the maximal E-order of an ideal described by coefficient and exponent lists.
maxideal topic
reference.doc / maxideal
Returns the power specified by an integer expression of the maximal ideal generated by all ring variables.
maximalGroebnerCone procedure
tropical.lib
Compute the maximal Groebner cone of a reduced standard basis ideal or polynomial w.r.t. the current ordering.
Maximalpart procedure
stdmodule.lib
Compute the maximal part of a module by applying Maxipart to each component.
maximum procedure
realclassify.lib
Return the maximal number contained in a list.
Maximus procedure
JMBTest.lib
Return the maximal variable (as a polynomial) among the generators of an ideal generated by variables.
Maximus procedure
JMSConst.lib
Return the maximal variable (as a polynomial) among the variable generators of an ideal.
maxIntRoot procedure
dmodloc.lib
Finds the maximal integer root contained in a list of roots (as returned by bFactor).
Maxipart procedure
stdmodule.lib
Returns the maximal-degree part of a vector (components filtered to terms of maximal degree).
maxlike.lib library
5 commands
This library provides procedures to compute maximum likelihood estimates in algebraic statistics, based on the likelihood ideal and related computations.
Maxord procedure
resbinomial.lib
Find the maximum entry among the first n elements of a list and return the value together with its position.
Maxpart procedure
stdmodule.lib
Compute the maximal part of an ideal by applying Mpart to each generator.
maxPoints procedure
maxlike.lib
Compute local maxima of the loglikelihood for a model ideal and data vector, returning a ring containing MPOINTS and LHESSIANS.
maxPointsProb procedure
maxlike.lib
Compute real nonnegative local maxima points of the loglikelihood (by projection) and return a ring containing MPOINTS, LHESSIANS and VALS.
maxZeros procedure
orbitparam.lib
Compute a constant orbit element of v under exp() with (at least) as many zeros as the orbit dimension.
mdouble procedure
template.lib
Return the double of an integer argument (i+i).
MEGCD procedure
zeroset.lib
Compute the polynomial gcd of f and g with respect to the varIndex-th variable.
member procedure
combinat.lib
Test whether an element is a member of a list.
memberpos procedure
redcgs.lib
Test whether f occurs in J (by equality) and return (t,pos) with t∈{0,1} and 1-based position or 0.
membershipMon procedure
monomialideal.lib
Test whether a polynomial lies in a (monomial) ideal, returning 1 if yes, 0 if no, and -1 on non-monomial ideal input.
memory topic
reference.doc / memory
Describes the Singular function memory(int_expression) and the statistics it returns about current and maximal memory allocation. Includes notes on monitoring memory usage and an example.
merkle_hellman_decryption procedure
crypto.lib
Decrypt a Merkle–Hellman knapsack ciphertext and return the decrypted binary list.
merkle_hellman_encryption procedure
crypto.lib
Encrypt a message by computing the knapsack dot product; returns 0 on size mismatch or if knapsack is not a set.
merkle_hellman_transformation procedure
crypto.lib
Transforms a knapsack list into a hard knapsack via modular multiplication by key modulo mod1.
method procedure
methods.lib
Construct a Method object and set its functionClosures field from a HashTable.
Method type
methods.lib
The class of all methods.
methods procedure
nfmodstd.lib
Returns available methods information for nfmodstd.lib (exact return type undocumented).
methods procedure
nfmodsyz.lib
Procedure methods from nfmodsyz.lib (no further documentation available).
methods.lib library
9 commands
Methods select which function to execute based on the types of the input tuple.
midpoint procedure
finitediff.lib
Return a predefined midpoint approximation (as used in finite difference schemes) for two derivative names and a base ring variable.
MillerRabin procedure
crypto.lib
Probabilistic Miller-Rabin primality test with k rounds; returns 1 if probably prime, 0 otherwise.
milnor procedure
sing.lib
Compute the Milnor number of an ICIS ideal in generic form or of a hypersurface polynomial; returns -1 if not applicable.
Milnor and Tjurina number topic
examples.doc / Milnor and Tjurina number
Defines the Milnor and Tjurina numbers of a power series and explains how Singular computes them via localization. Includes an example computing these numbers using standard bases and vdim.
Milnor and Tjurina number tutorial
tutor.tex / Milnor and Tjurina number
Defines the Milnor and Tjurina numbers via Jacobian ideals and explains how Singular computes them using localizations. Includes an example showing standard basis computations and vdim for both invariants.
milnor_number procedure
latex.lib
Compute the Milnor number of a polynomial using the vector space dimension of its Jacobian ideal.
milnorcode procedure
classify.lib
Return an Hcode-encoded Hilbert function of the e-th Milnor algebra basering/(jacob(f)^e) of a polynomial f.
milnorNNB procedure
arnold.lib
Compute the Milnor number if the input germ is equivalent to one with a nondegenerate Newton boundary; otherwise errors.
milnornumber procedure
realclassify.lib
Compute the Milnor number of a polynomial f (returns -1 if not finite; requires local monomial order).
Min procedure
qhmoduli.lib
Return the minimal integer contained in a non-empty intvec/list of integers.
min procedure
standard.lib
Returns the minimum among its arguments for any type where an order comparison is defined.
min topic
reference.doc / min
Reference entry for the Singular function min. This document currently contains only the section heading.
minAss procedure
primdec.lib
Compute minimal associated prime ideals of a proper ideal (wrapper trying minAssGTZ and minAssChar).
minAssChar procedure
primdec.lib
Compute the minimal associated prime ideals of an ideal (optionally choosing variable ordering and global mode for local/mixed orderings).
minAssChar_i procedure
primdec.lib
Internal helper computing minimal associated primes/primary components via characteristic sets, with optional patching of unit ideal parts.
minAssCharE procedure
primdec.lib
Compute the minimal associated prime ideals of an ideal (returns empty list for the unit ideal).
minAssEHV procedure
ehv.lib
Compute the minimal associated prime ideals of an ideal using the Eisenbud/Huneke/Vasconcelos algorithm.
minAssGTZ procedure
primdec.lib
Compute the minimal associated prime ideals of a proper ideal using the GTZ/SL algorithm, with optional decomposition/settings.
minAssGTZE procedure
primdec.lib
Compute the minimal associated prime ideals of an ideal using the GTZ-based algorithm with optional settings.
minAssZ procedure
primdecint.lib
Compute a list of (minimal) associated primes of an ideal over ZZ.
minbase topic
reference.doc / minbase
Describes the Singular command minbase, which returns a minimal set of generators for an ideal or module under specific conditions.
minbaseMon procedure
monomialideal.lib
Return the ideal of minimal monomial generators of I, or -1 if I has a non-monomial generator.
mindeg procedure
polylib.lib
Return degree(s) of the term(s) of minimal order (int for a poly, intmat for an ideal).
mindeg1 procedure
polylib.lib
Return the (possibly weighted) minimal degree of the input.
mindist procedure
decodegb.lib
Compute the minimum distance of a linear code given its check matrix (using q from the current basering).
minEcart procedure
teachstd.lib
Selects an element g in an ideal/module T whose leadmonom divides leadmonom(h) and has minimal ecart; returns 0 if none/trivial.
mingb procedure
redcgs.lib
Return a reduced set of generators from F by sorting and removing elements whose leading monomial is divisible by an earlier one.
minim procedure
kskernel.lib
Swaps row t of an integer matrix with a later row having smaller associated v[i], returning the modified matrix.
minimalAfaceOrbits procedure
gitfan.lib
Return the sublist of all minimal a-face orbits (as a list of intvecs) from a given list of a-face orbits.
minimalAfaces procedure
gitfan.lib
Return the sublist of minimal a-faces (removing any a-face that contains another).
MinimalDecomposition procedure
rinvar.lib
Decompose f into a minimal-length sum of products of an s-part and a t-part, returned as a 2×r matrix.
minimalGenerators procedure
sagbi.lib
Compute a minimal generating set (as an ideal) for the subalgebra given by homogeneous generators, optionally using a weight vector.
minimalOrbitConeOrbits procedure
gitfan.lib
Remove orbit cone orbits that are contained in others, yielding a minimized list of lists of cones.
MinimalV procedure
JMSConst.lib
Selects the minimal element of V under TernComparer(V[i],MIN,G) and returns [minimum, position].
Minimus procedure
JMBTest.lib
Return the minimal variable (as a poly) among the generators of an ideal generated by variables.
Minimus procedure
JMSConst.lib
Return the minimal variable (as a poly) among the generators of an ideal generated by variables.
minIntRoot procedure
dmod.lib
Return the minimal integer root among the roots represented by a maximal ideal P (interpreting P depending on fact).
minIntRoot2 procedure
dmodloc.lib
Return the minimal integer root contained in a bFactor root list.
minipoly procedure
linalg.lib
Compute the minimal polynomial data of a square matrix via eigenvalues: roots and their multiplicities.
MinMult procedure
cimonom.lib
Compute the minimum k>0 such that ka lies in the semigroup generated by entries of b.
minMult procedure
cisimplicial.lib
Compute the smallest positive k such that ka lies in the semigroup generated by entries of b.
MinOfV procedure
JMBTest.lib
Return the minimal element of V under TernCompare with respect to G, together with its position in V.
minor topic
reference.doc / minor
Describes minor, which returns a specified set of (mSize \times mSize) minors of a matrix as an ideal, with optional computation modulo an ideal and selectable algorithms.
minorList procedure
stratify.lib
Compute, for each matrix in a nested list, the ideals of its j-minors (j=1..min(nrows,ncols)) and return them as a list of lists.
minpoly topic
reference.doc / minpoly
Describes the coefficient field of the current basering as an algebraic extension via a minimal polynomial. The minimal polynomial must be set immediately after defining the ring.
minres topic
reference.doc / minres
Minimizes a free resolution of an ideal or module given as a list or a resolution expression.
minres BR_PLURAL_BR topic
plural.doc / minres BR_PLURAL_BR
Minimizes a free resolution of an ideal or module given as a list or a resolution. Includes an example and links to related commands.
minScaleFactor procedure
tropical.lib
Compute a common scale factor (and related values) for plotting multiple tropical curve graphs.
Miscellaneous oddities topic
tricks.doc / Miscellaneous oddities
Notes on several subtle Singular behaviors, including parsing, operator precedence, multiplicity, quotient ring reductions, and substring selection. Examples illustrate common pitfalls and how to avoid them.
mix procedure
kskernel.lib
Returns an index w based on comparisons of list u entries to b; returns 0 on empty list/negative b or if u[1] > b.
mod_versal procedure
deform.lib
Compute a miniversal deformation of coker(Mo) over Qo=Po/Io, returning rings and stored matrices for the versal family and base space.
mod2id procedure
polylib.lib
Convert a module matrix to an ideal by replacing gen(i) with var(vpos[i]) and adding all products var(vpos[i])var(vpos[j]).
modality procedure
classify.lib
Compute the modality of the singularity defined by a polynomial.
modalityNNB procedure
arnold.lib
Return the modality if the input is (right) equivalent to a germ with nondegenerate Newton boundary; otherwise signals an error.
modberlekampMassey procedure
ffmodstd.lib
Compute the minimal polynomial generated by a numeric sequence L, optionally with respect to the i-th ring variable.
modBorder procedure
rstandard.lib
Compute a border basis for an ideal using modular methods, optionally skipping final verification.
modDec procedure
mprimdec.lib
Compute a minimal primary decomposition of a module using a generalized Shimoyama/Yokoyama algorithm (optionally with factorizing GB).
moddiq.lib library
2 commands
A library for computing ideal quotients and saturations in a polynomial ring over the rational numbers using modular methods.
ModEqn procedure
qhmoduli.lib
Compute equations (or coordinate ring generators) of the moduli space of a semiquasihomogeneous hypersurface singularity with principal part f.
modFinduni procedure
modfinduni.lib
Compute a standard basis of an ideal over the rational numbers using modular methods.
modfinduni.lib library
2 commands
This library provides a parallel version of finduni via modular.lib, using modular methods.
modfrWalk procedure
modwalk.lib
Standard basis conversion of an ideal by Random Fractal Walk using modular methods.
modfWalk procedure
modwalk.lib
Standard basis conversion of an ideal by Fractal Walk using modular methods.
modGB procedure
modstd.lib
Compute a standard basis of an ideal/module over Q using modular methods (optionally exact or probabilistic).
modIntersect procedure
modstd.lib
Compute a generating set of the intersection of two ideals/modules using modular methods (high probability, no extra tests).
modJanet procedure
rstandard.lib
Compute a Janet basis of an ideal using modular methods, optionally skipping verification.
modNormal procedure
normal.lib
Compute normalization of R/I using modular techniques; returns a list [U,d] with normalization represented as U/d.
modnormal.lib library
0 commands
This library is deprecated and is distributed only for compatibility.
modNPos procedure
noether.lib
Compute a linear coordinate change (map) sending an ideal into Noether position (using modNpos_test).
modNpos_test procedure
noether.lib
Probabilistically test whether an ideal is in Noether position (via initial ideal mod 2147483647).
modprimdec.lib library
1 commands
A library offering a modular version of the primary decomposition algorithm of Gianni, Trager, and Zacharias. The procedures are implemented for use over the rationals.
modPrimdecGTZ procedure
modprimdec.lib
Compute a (modular) primary decomposition of an ideal over Q using the GTZ method, optionally skipping final correctness checks.
modQuotient procedure
moddiq.lib
Compute a standard basis of the ideal quotient (I:J) over Q using modular methods.
modQuotient procedure
modquotient.lib
Compute the ideal quotient I:J using modular methods (basering over Q), returning a standard basis.
modquotient.lib library
2 commands
A library for computing ideal quotients and saturation using modular methods.
modrationalInterpolation procedure
ffmodstd.lib
Compute a univariate rational function r/t matching given evaluations E[i] at distinct points D[i] (char 0), returning [r,t].
modregCM procedure
noether.lib
Compute the Castelnuovo–Mumford regularity of a homogeneous ideal (probabilistic; returns -1 if not homogeneous).
modrWalk procedure
modwalk.lib
Standard basis conversion of an ideal by Random Walk using modular methods.
modSagbiAlg procedure
classify_aeq.lib
Compute a SAGBI basis for an ideal using modular methods; optionally skip verification with i=0.
modSat procedure
moddiq.lib
Compute (over Q using modular methods) a standard basis of the saturation (I : J^infty).
modSat procedure
modquotient.lib
Compute the saturation of an ideal I by J using modular methods, returning the saturated ideal and the saturation exponent.
modsatiety procedure
noether.lib
Compute the satiety (saturation index) of a homogeneous ideal; returns -1 if the ideal is not homogeneous.
modStd procedure
modstd.lib
Compute a standard basis of an ideal/module over Q using modular methods, optionally with verification.
modstd.lib library
9 commands
A library for computing Groebner bases (standard bases) of ideals and modules in polynomial rings over the rational numbers, using modular methods.
modStdL procedure
modstd.lib
Compute a standard basis of an ideal/module over Q using modular methods via an external Singular process.
modSyz procedure
modstd.lib
Compute a generating set of syzygies of an ideal/module over Q via modular methods (with high probability and verification).
modular procedure
modular.lib
Execute a command modulo several primes and lift the result back to characteristic zero.
modular.lib library
1 commands
This library provides an abstraction layer for modular techniques, which are well known to speed up many computations and to be easy to parallelize.
module kernel type
kernel
module
module topic
types.doc / module
Describes modules in Singular as submodules of a free module over the basering, including their representation and how they are defined and accessed.
Module type
modules.lib
Modules represented as the image, kernel, or cokernel of a matrix, or as a subquotient of two matrices.
module type
standard.lib
A module.
module BR_PLURAL_BR topic
plural.doc / module BR_PLURAL_BR
Describes how modules are represented in Plural as left submodules of a free module over the basering, and explains the Coker-representation and presentation matrices.
module declarations topic
types.doc / module declarations
Describes the syntax and usage of module declarations in Singular, including defaults and an example.
module declarations BR_PLURAL_BR topic
plural.doc / module declarations BR_PLURAL_BR
Describes the syntax and purpose of module declarations in Singular, with a worked example.
module expressions topic
types.doc / module expressions
Defines module expressions and lists the supported forms and operations. Includes references to related types and casting.
module expressions BR_PLURAL_BR topic
plural.doc / module expressions BR_PLURAL_BR
Defines what constitutes a module expression and lists the allowed forms and operations. Covers identifiers, functions, arithmetic combinations, multiplication, and type casts.
module operations topic
types.doc / module operations
Describes basic operations on modules, including addition, multiplication, and indexing of module entries and vectors.
module operations BR_PLURAL_BR topic
plural.doc / module operations BR_PLURAL_BR
Lists the supported operations for modules in BR_PLURAL_BR, including indexing and multiplication. Includes a Singular example demonstrating implicit conversions and subtraction via matrices.
Module orderings topic
pdata.doc / Module orderings
Describes module orderings in Singular for monomials x^a e_i in Loc K[x]^r, including four ordering variants and their effect on vector output format.
module related functions topic
types.doc / module related functions
Reference list of Singular functions related to modules, with brief descriptions and cross-references.
module related functions BR_PLURAL_BR topic
plural.doc / module related functions BR_PLURAL_BR
List of module-related functions in BR_PLURAL_BR, with brief descriptions and cross-references to their documentation nodes.
module_containment procedure
algebra.lib
Test whether a polynomial lies in the module generated by M over the subalgebra K[P], optionally returning a ring with a relation polynomial 'check'.
Modules and their annihilator topic
start.doc / Modules and their annihilator
Introduces modules in Singular, their matrix representation, syzygies, and a method to compute the annihilator of a finitely generated module via a quotient.
Modules and their annihilator tutorial
tutor.tex / Modules and their annihilator
Introduces modules in Singular, their representation via matrices, syzygies, and computing the annihilator of a factor module using a quotient construction.
modules.lib library
53 commands
This library supports computations with graded free resolutions using a user-defined grading on monomials. For this, it introduces a new class of modules (type Module) used by Resolution.
moduliMonomials procedure
arnold.lib
Return the list of monomials corresponding to the moduli terms in a given normal form.
moduliSpace procedure
schubert.lib
Create the moduli stack of genus 0 stable maps of degree d to a projective space V.
modulo topic
reference.doc / modulo
Describes modulo, which computes generators of a kernel corresponding to h_1/(h_1\cap h_2)\cong(h_1+h_2)/h_2 for ideals or modules, with optional Groebner basis settings.
modulo BR_LETTERPLACE_BR topic
letterplace.doc / modulo BR_LETTERPLACE_BR
Describes modulo, which computes the kernel of a bimodule homomorphism from a free bimodule to a factor-bimodule. Notes the effect of option(returnSB) and provides an example.
modulo BR_PLURAL_BR topic
plural.doc / modulo BR_PLURAL_BR
Documents the Singular command modulo for ideals and modules in BR_PLURAL_BR, describing its algebraic meaning and the returned generators. Includes a note on homogeneity and an example.
moduloSlim procedure
nctools.lib
Compute modulo(A,B) using slimgb as the engine (supports module/matrix/ideal inputs).
modVStd procedure
classifyMapGerms.lib
Compute a modular standard basis of A^r/(M+N+maxideal(bound)A^r) and return it with generators in reduced echelon form.
modVStd0 procedure
classifyMapGerms.lib
Compute a (modular, parallel) standard basis of M+N+maxideal(bound)A^r and return generators plus echelon-reduced generators.
modWalk procedure
modwalk.lib
Standard basis conversion of an ideal using Groebner Walk with modular methods.
modwalk.lib library
4 commands
A library for converting Gröbner bases of an ideal in a polynomial ring over the rational numbers using modular methods. The procedures are inspired by the following paper:
moebius procedure
arr.lib
Compute and fill in the Möbius function values for the flats in an arrangement poset.
molien procedure
finvar.lib
Compute Molien series of a finite matrix group; returns numerator/denominator in char 0, or stores it in a new char-0 ring in char p.
mondim procedure
nchilbert.lib
Compute the dimension of the monoid ideal generated by B in N_0^i.
mondromy.lib library
7 commands
A library to compute the monodromy of an isolated hypersurface singularity.
monic procedure
integralbasis.lib
Return a scalar multiple of a bivariate polynomial that is monic in the second ring variable.
monitor topic
reference.doc / monitor
Controls recording of user input and/or program output to a file. The second argument selects what to log.
MonoDec procedure
kskernel.lib
Decompose a polynomial into a coefficient vector with respect to a given monomial base matrix.
monodromy procedure
gmssing.lib
Compute Jordan data of the monodromy matrix exp(-2piiM) for an isolated hypersurface singularity defined by t.
monodromyB procedure
mondromy.lib
Compute the residue matrix of the meromorphic Gauss–Manin connection for an isolated hypersurface singularity.
monomial kernel type
kernel
monomial topic
reference.doc / monomial
Describes the Singular command monomial, which converts an integer vector into a power product (inverse to leadexp).
Monomial orderings topic
pdata.doc / Monomial orderings
Overview of the available monomial orderings and their documentation sections. Includes links to definitions and specific ordering types.
Monomial orderings on free algebras topic
letterplace.doc / Monomial orderings on free algebras
This document describes monomial orderings used for non-commutative Gröbner bases in free algebras, including weight extensions and elimination orderings. Examples illustrate the supported orderings in Letterplace ring declarations.
monomialabortstd procedure
customstd.lib
Compute a standard basis of an ideal, aborting early if a monomial generator is encountered; returns computed basis elements.
monomialideal.lib library
17 commands
A library for computing primary and irreducible decompositions of a monomial ideal using several methods.
monomialInIdeal procedure
dmodloc.lib
Return the ideal generated by all monomials appearing in the generators of an ideal.
monomialLcm procedure
teachstd.lib
Compute the LCM of the leading monomials of two polys/vectors (returns 0 if vector components differ).
monomials procedure
arnold.lib
Return the monomials of a polynomial as a list.
mons2intmat procedure
normaliz.lib
Convert an ideal to an intmat whose rows are the leading exponent vectors of its non-zero generators.
morphism type
scheme.lib
A morphism between two schemes, given by chartmaps between their charts.
MorphismCompMorphism procedure
scheme.lib
Computes the composition of two compatible morphisms (phi after psi).
morsesplit procedure
classify.lib
Compute the normal form of f in M^3 after applying the splitting lemma (generalized Morse lemma).
movingCone procedure
gitfan.lib
Compute the moving cone from a grading matrix whose columns are degree vectors.
mp_res_mat procedure
solve.lib
Construct the multipolynomial resultant matrix of an ideal (sparse GKZ or Macaulay variant).
Mpart procedure
stdmodule.lib
Return the maximal (highest-degree) part of a polynomial.
MPGS procedure
stdmodule.lib
Compute a generating set for the syzygies of a free module G over a subalgebra A (finite SAGBI basis).
mplot procedure
graphics.lib
Generate Mathematica plot commands for parametric/implicit curves or surfaces defined by ideals, optionally with multiple plots and plot regions.
mpresmat topic
reference.doc / mpresmat
Computes the multipolynomial resultant matrix of an input system, using either the sparse resultant method of Gelfand–Kapranov–Zelevinsky or the Macaulay resultant matrix method.
mprimdec.lib library
19 commands
Algorithms for primary decomposition of modules, based on the algorithms of Gianni, Trager and Zacharias and of Shimoyama and Yokoyama (a generalization of the latter was suggested by Hans-Gert Graebe, Leipzig). The library uses elements of primdec.lib.
mrcgs procedure
redcgs.lib
Compute a rooted-tree list describing the Minimal Reduced Comprehensive Gröbner System (MRCGS) of an ideal, optionally under (N,W) parameter restrictions.
mregular.lib library
7 commands
A library for computing the Castelnuovo–Mumford regularity of a homogeneous ideal without requiring the computation of a minimal graded free resolution.
mRes procedure
modules.lib
Compute a minimized (graded if possible) resolution of a module or ideal.
mres topic
reference.doc / mres
Computes a minimal free resolution of an ideal or module using the standard basis method. The computation can be limited to a given number of steps and respects degBound.
mres BR_PLURAL_BR topic
plural.doc / mres BR_PLURAL_BR
Documents mres for computing minimal free resolutions of ideals or modules using the Gröbner basis method. Includes behavior for bounded steps, access notes, and an example.
mres_map topic
reference.doc / mres_map
Computes a minimal free resolution of an ideal or module using the standard basis method. Can stop after a given number of steps or return a bounded-length resolution list.
mresExt procedure
sresext.lib
Compute the minimal free resolution of a module over the exterior algebra up to cohomological degree p.
MSGB procedure
stdmodule.lib
Compute a standard basis of a module G over a subalgebra A.
MSPOLY procedure
stdmodule.lib
Compute S-vectors of a module G over a subalgebra A.
mstd topic
reference.doc / mstd
Describes mstd, which returns a standard basis and a generating set (possibly minimal) for an ideal or module.
msum procedure
template.lib
Return the sum of the given arguments (0 for no arguments).
mtriple procedure
template.lib
Return three times the given integer i (i+i+i).
mult topic
reference.doc / mult
Computes the degree of the monomial ideal or module generated by the leading monomials of the input. In certain cases, it returns the degree or multiplicity of an ideal.
multarr type
arr.lib
A multiarrangement (an arrangement with multiplicities).
multarr2arr procedure
arr.lib
Convert a multiarrangement to a plain arrangement by removing all multiplicities.
multarrMultRestrict procedure
arr.lib
Restrict a multiarrangement A to the hyperplane H_k (must be ker(x_i)), producing the restricted multiarrangement with multiplicities.
multarrRestrict procedure
arr.lib
Restrict an arrangement A (arr) to a flat v, keeping multiplicities.
multBound topic
reference.doc / multBound
Defines a multiplicity threshold for stopping standard basis computations in local orderings for zero-dimensional ideals. Set to 0 to disable the bound.
multcol procedure
matrix.lib
Multiply column c of matrix A by polynomial p and return the modified matrix.
multdivisor procedure
divisors.lib
Multiply a divisor by an integer by taking n-th powers of its numerator and denominator ideals.
MultEKPolys procedure
JMSConst.lib
Form the EK multiplication polynomial from EKPolynomials data and a generator list G.
multformaldivisor procedure
divisors.lib
Multiply a formal divisor by an integer.
multi procedure
hyperel.lib
Multiply (a(x)-b(x)y) and (c(x)-d(x)y) on the hyperelliptic curve y^2+h(x)y=f(x), returning coefficients [A,B].
multIdeals procedure
hodge.lib
Compute the multiplier ideals of the hypersurface defined by a reduced polynomial f.
multiDeg procedure
multigrading.lib
Compute the multidegree of a polynomial, vector, ideal or module with respect to the current (or given) multigrading.
multiDegBasis procedure
multigrading.lib
Compute the ideal generated by all monomials in the current multigraded ring having multidegree d.
multiDegGroebner procedure
multigrading.lib
Compute the multigraded Groebner/standard basis of a multigraded homogeneous poly/vector/ideal/module.
multiDegModulo procedure
multigrading.lib
Compute modulo(I,J) and assign the multigrading from I to the resulting module (requires homogeneous multigraded inputs).
multiDegPartition procedure
multigrading.lib
Compute the multigraded-homogeneous components of a polynomial or vector, returning them as an ideal or module.
multiDegResolution procedure
multigrading.lib
Compute a (possibly minimal) multigraded resolution of a multigraded-homogeneous ideal/module, truncated at the first zero differential.
multiDegSyzygy procedure
multigrading.lib
Compute the multigraded syzygy module of a multigraded homogeneous ideal or module.
multiDegTensor procedure
multigrading.lib
Compute the multigraded tensor product of two multigraded modules (given as modules or matrices).
multiDegTor procedure
multigrading.lib
Compute the multigraded Tor_i(m,n) for multigraded modules.
multidimensional_knapsack procedure
crypto.lib
Solve a multidimensional knapsack instance and return a binary list indicating which items are selected.
multigradedcomplex type
tateProdCplxNegGrad.lib
Data structure representing a multigraded complex.
multigrading.lib library
53 commands
This library allows you to (virtually) add multigradings to Singular, i.e. to grade multivariate polynomial rings by arbitrary finitely generated abelian groups.
multipleCover procedure
schubert.lib
Compute the contribution of multiple covers of a smooth rational curve as a Gromov–Witten invariant.
multiplicities procedure
hnoether.lib
Return the intvec of distinct multiplicities encountered under successive blow-ups of a curve singularity described by L.
MultiplicitySequence procedure
curvepar.lib
Compute multiplicity sequences of the branches of a plane curve singularity V(i).
Multiply procedure
JMBTest.lib
Multiply a jmp entry selected from a nested list G by the scalar/poly in the 3-uple list L.
MultiplyJmP procedure
JMSConst.lib
Selects a jmp from nested list G using indices in 3-tuple L and multiplies its head and tail by L[1].
multiplyLeftFractions procedure
olga.lib
Multiply two left fractions in a specified localization (given by locType and locData).
multiplylist procedure
resbinomial.lib
Multiply each numeric element of a list by a given number and return the resulting list.
multPoly procedure
polyclass.lib
Multiply two polynomials of type Poly.
MultPolys procedure
zeroset.lib
Multiply polynomials f and g and reduce/simplify the product with respect to the ideal mpoly.
multRat procedure
dmodloc.lib
Multiply two rational functions given as 2-component vectors [numerator, denominator].
multrow procedure
matrix.lib
Multiply row r of a matrix A by a polynomial p and return the modified matrix.
multseq2charexp procedure
alexpoly.lib
Convert multiplicity sequence(s) of an irreducible plane curve singularity into characteristic exponent sequence(s).
multsequence procedure
hnoether.lib
Compute multiplicity sequence(s) from Hamburger–Noether expansion data or from a bivariate polynomial.
MVComplex procedure
deRham.lib
Compute the Mayer–Vietoris complex for a list of polynomials, returning a Weyl-algebra ring containing MV.

N

EntryDescription
naccache_stern_decryption procedure
crypto.lib
Decrypt a Naccache-Stern ciphertext to a binary list (marks prime divisors of message^key mod primenum).
naccache_stern_encryption procedure
crypto.lib
Encrypt a message (as exponent list) using a Naccache–Stern knapsack modulo a given prime.
naccache_stern_generation procedure
crypto.lib
Generate a hard knapsack list for Naccache-Stern from an exponent key and a prime modulus (returns 0 if checks fail).
NakYoshF procedure
goettsche.lib
Compute the Nakajima–Yoshioka formula as a polynomial in z and t, truncated to degree n in t.
nameof topic
reference.doc / nameof
Documents the Singular function nameof, which returns the name of an expression as a string. Includes syntax, type, purpose, and examples.
Names topic
general.doc / Names
Explains how identifiers (names) are declared and used in Singular, including typing, redefinition rules, indexed names, reserved names, and name substitution.
names topic
reference.doc / names
Describes the names command, which returns the names of user-defined variables, optionally restricted to a ring, package, or level.
Names in procedures topic
general.doc / Names in procedures
Explains how variable names behave inside Singular procedures, including scope, exporting locals, and returning values.
nashmult procedure
arcpoint.lib
Constructs a new ring (with t and truncated arc coefficients up to t^) and computes lists of locally closed sets with Nash multiplicity sequences.
nc_algebra topic
plural.doc / nc_algebra
Defines and returns a non-commutative extension of the current basering, subject to prescribed relations. Supports specifying the relations via matrices or uniform scalar/polynomial inputs.
ncalg_lib topic
plulibs.doc / ncalg_lib
This library provides constructors for selected universal enveloping algebras (G-algebras/GR-algebras) and some related quantum groups, returning the corresponding Singular rings.
ncalg.lib library
27 commands
This library provides constructors for selected universal enveloping algebras (G-algebras/GR-algebras) and some related quantum groups, returning the corresponding Singular rings.
ncalgebra topic
plural.doc / ncalgebra
Describes the deprecated ncalgebra function, which behaves like nc_algebra but changes the basering. Provides replacement instructions using nc_algebra and setring.
ncall.lib library
0 commands
Loads all noncommutative libraries.
ncdecomp_lib topic
plulibs.doc / ncdecomp_lib
This library provides algorithms for the central character decomposition of a module, i.e. a decomposition into generalized weight modules with respect to the center.
ncdecomp.lib library
5 commands
This library provides algorithms for the central character decomposition of a module, i.e. a decomposition into generalized weight modules with respect to the center.
ncdetection procedure
involut.lib
Detects classical involutions from noncommutative relations in the current ring and returns an ideal encoding the involution map.
ncExt procedure
nchomolog.lib
Compute a (right) presentation of Ext^i(coker(Ps), coker(Ph)) for a left module and a centralizing bimodule.
ncExt_R procedure
nchomolog.lib
Compute a right-module presentation of Ext^i(coker(M),R) over the current basering.
ncfactor procedure
ncfactor.lib
Compute all possible factorizations of a noncommutative polynomial in a finitely presented algebra (PLURAL or LETTERPLACE).
ncfactor_lib topic
plulibs.doc / ncfactor_lib
This library implements methods for factoring polynomials in several types of noncommutative algebras, in particular:
ncfactor.lib library
13 commands
This library implements methods for factoring polynomials in several types of noncommutative algebras, in particular:
ncfrac type
ncfrac.lib
A wrapper type for a (non-commutative) fraction in an Ore localization of a G-algebra (as in olga.lib), storing left/right numerators and denominators (lnum, lden, rnum, rden) together with the localization (loc).
ncfrac_lib topic
plulibs.doc / ncfrac_lib
This library provides an object-oriented interface to olga.lib.
ncfrac.lib library
13 commands
This library provides an object-oriented interface to olga.lib.
ncgen topic
letterplace.doc / ncgen
Describes the Singular command ncgen, which returns the i-th free non-commutative generator of a free bimodule. Includes syntax, notes, and an example.
nchilb procedure
ncHilb.lib
Compute the Hilbert series of a non-commutative algebra given by a two-sided ideal (with optional modes for special cases, multigrading, truncation, and printing).
ncHilb procedure
nchilbert.lib
Compute the first (j=1) or second (j=2) (weighted) Hilbert series of a Groebner-basis module as a bigintvec.
ncHilb_lib topic
letterplace.doc / ncHilb_lib
Computes graded and multi-graded Hilbert series of non-commutative algebras using the Letterplace approach.
ncHilb.lib library
2 commands
Computes graded and multi-graded Hilbert series of non-commutative algebras using the Letterplace approach.
nchilbert_lib topic
plulibs.doc / nchilbert_lib
This library provides procedures to compute Hilbert series, the Hilbert polynomial, and the (Hilbert) multiplicity for modules over noncommutative G-algebras (Plural).
nchilbert.lib library
6 commands
This library provides procedures to compute Hilbert series, the Hilbert polynomial, and the (Hilbert) multiplicity for modules over noncommutative G-algebras (Plural).
ncHilbertMultiplicity procedure
nchilbert.lib
Compute the (Hilbert) multiplicity of the module coker(M) (depends on chosen variable weights).
ncHilbertPolynomial procedure
nchilbert.lib
Compute the Hilbert polynomial of A^m/M (or A/I), returning a univariate ring containing the exported polynomial ncHP.
ncHilbertSeries procedure
nchilbert.lib
Returns a univariate ring containing polynomial ncHS encoding the first (j=1) or second (j=2) Hilbert series of A^m/M.
ncHom procedure
nchomolog.lib
Compute a right presentation matrix for Hom(coker(M), coker(N)) assuming N is a centralizing bimodule.
ncHom_alt procedure
nchomolog.lib
Compute a matrix representing Hom(M,N) via contravariant/covariant constructions and rightModulo reductions.
ncHom_R procedure
nchomolog.lib
Compute a right presentation matrix of Hom_R(M', R) where M' = coker(M) is assumed to be a left module.
nchomolog_lib topic
plulibs.doc / nchomolog_lib
This library provides tools for homological algebra of finitely presented modules over GR-algebras.
nchomolog.lib library
17 commands
This library provides tools for homological algebra of finitely presented modules over GR-algebras.
ncInit procedure
ncrat.lib
Initialize ncrat/ncrep infrastructure and set basering 'NCRING' using the given list of nc variable names.
ncloc type
ncloc.lib
Wraps localization data (as defined in olga.lib) and stores it as locType and locData.
ncloc_lib topic
plulibs.doc / ncloc_lib
This library introduces a new type: ncloc.
ncloc.lib library
3 commands
This library introduces a new type: ncloc.
ncmodslimgb procedure
ncModslimgb.lib
Compute a left Groebner basis of an ideal in a G-algebra over Q using modular methods (CRT and Farey reconstruction).
ncModslimgb_lib topic
plulibs.doc / ncModslimgb_lib
## ncModslimgb.lib
ncModslimgb.lib library
1 commands
## ncModslimgb.lib
ncols topic
reference.doc / ncols
Returns the number of columns of a matrix or intmat, or the number of generators of an ideal (including zeros).
ncones procedure
gfan.lib
Return the number of cones contained in a fan.
ncpreim_lib topic
plulibs.doc / ncpreim_lib
In G-algebras, the elimination of variables is more involved than in the commutative case.
ncpreim.lib library
7 commands
In G-algebras, the elimination of variables is more involved than in the commutative case.
ncrat kernel type
kernel
ncrat_lib topic
letterplace.doc / ncrat_lib
This library provides a framework for working with non-commutative rational functions (more precisely, rational expressions) and their linear (formal linear) representations.
ncrat.lib library
33 commands
This library provides a framework for working with non-commutative rational functions (more precisely, rational expressions) and their linear (formal linear) representations.
ncratAdd procedure
ncrat.lib
Add two ncrat objects (overloads the '+' operator for ncrat).
ncratDefine procedure
ncrat.lib
Construct an ncrat from a kind string and a list of expressions (validated by ncratIsValid).
ncratEvaluateAt procedure
ncrat.lib
Evaluate a noncommutative rational expression by substituting matrices for variables and return the resulting matrix.
ncratFromPoly procedure
ncrat.lib
Convert a polynomial (poly) into a noncommutative rational expression (ncrat).
ncratFromString procedure
ncrat.lib
Parse a string as an nc rational expression and return it as an ncrat.
ncratInvert procedure
ncrat.lib
Return the inverse of a noncommutative rational expression (inv(f)).
ncratMultiply procedure
ncrat.lib
Multiply two ncrat objects (equivalent to the overloaded '' operator for ncrat).
ncratPower procedure
ncrat.lib
Compute the integer power f^n of a non-commutative rational expression (supports negative exponents via inversion).
ncratPrint procedure
ncrat.lib
Print an ncrat expression (equivalent to print(f)).
ncratSPrint procedure
ncrat.lib
Convert an ncrat expression to its string representation.
ncratSubstract procedure
ncrat.lib
Subtract two ncrat expressions, returning h = f - g (equivalent to the overloaded '-' operator).
ncRelations procedure
nctools.lib
Recover the noncommutative relations of a G-algebra ring as coefficient and polynomial matrices.
ncrep kernel type
kernel
ncrepAdd procedure
ncrat.lib
Add two ncrep representations, returning an ncrep representation of their sum (equivalent to overloaded '+').
ncrepDim procedure
ncrat.lib
Return the dimension of an ncrep; returns 0 if it represents the zero-function.
ncrepEvaluate procedure
ncrat.lib
Evaluate an ncrep q=(u,Q,v) by computing -uQ^(-1)v as a matrix.
ncrepEvaluateAt procedure
ncrat.lib
Evaluate an ncrep realization q at a given scalar/matrix point, returning -uQ(point)^(-1)v as a matrix.
ncrepGet procedure
ncrat.lib
Return the linear representation (u, Q, v) of a noncommutative rational expression f.
ncrepGetRegularMinimal procedure
ncrat.lib
Return a minimal-dimension representation of a noncommutative rational expression, assuming it is regular at a given point.
ncrepGetRegularZeroMinimal procedure
ncrat.lib
Compute a minimal-dimension representation of a nc rational expression that is regular at zero.
ncrepInvert procedure
ncrat.lib
Compute the ncrep representation of the inverse element, given an ncrep representation of f.
ncrepIsDefined procedure
ncrat.lib
Tries random matrix evaluations to find a point where q.mat is invertible; returns dim, vars and a tuple of matrices.
ncrepIsDefinedDim procedure
ncrat.lib
Randomly tests whether q.mat becomes invertible at some N×N matrix substitution, returning the found point or 0.
ncrepIsRegular procedure
ncrat.lib
Tries random integer evaluations to find a point where q.mat is invertible; returns success flag and the found assignment.
ncrepMultiply procedure
ncrat.lib
Multiply two ncrep representations, returning the ncrep representation of the product (equivalent to overloaded '').
ncrepPencilCombine procedure
ncrat.lib
Combine a pencil representation list(vars,matrices) into the matrix sum Q0x0+...+Qgxg.
ncrepPencilGet procedure
ncrat.lib
Builds a linear pencil decomposition of r.mat in the given nc variables, returning list(vars-with-1, list of coefficient matrices).
ncrepPrint procedure
ncrat.lib
Print an ncrep object (same output as print(q)).
ncrepRegularMinimize procedure
ncrat.lib
Minimize an ncrep at a scalar point, returning an equivalent representation of minimal size.
ncrepRegularZeroMinimize procedure
ncrat.lib
Minimizes an ncrep realization (regular at zero) to an equivalent ncrep of minimal size.
ncrepSubstitute procedure
ncrat.lib
Substitute given matrices (or scalars) for nc variables in an ncrep representation.
ncrepSubstract procedure
ncrat.lib
Subtract two ncrep representations, returning the ncrep representation of the difference (equivalent to overloaded operator '-').
ncTensorMod procedure
nchomolog.lib
Builds the tensor-module map matrix by concatenating I_s ⊗ Psi and Phi ⊗ I_q.
nctools_lib topic
plulibs.doc / nctools_lib
General tools for computations in noncommutative algebras (in particular, G-algebras and related constructions).
nctools.lib library
27 commands
General tools for computations in noncommutative algebras (in particular, G-algebras and related constructions).
ncTor procedure
nchomolog.lib
Compute the i-th Tor module from two module presentations given by matrices (i=0 gives the tensor product).
nctors procedure
nchomolog.lib
Compute a module representing Ext^1_A(adj(M),A) using a length-2 noncommutative resolution and opposite-ring transformations.
ncVarsAdd procedure
ncrat.lib
Adds variables from a list to the noncommutative variable list (NCVARIABLES) and updates the NC ring definition.
ncVarsGet procedure
ncrat.lib
Return the noncommutative variables currently in use.
ndcond procedure
nctools.lib
Compute the ideal of non-degeneracy conditions of the current (G-)algebra basering.
negatedCone procedure
gfan.lib
Return the cone obtained by negating the given cone.
negateNcfrac procedure
ncfrac.lib
Compute the additive inverse (-1)frac of a noncommutative fraction.
negative_part procedure
deform.lib
Return indices of negative entries in an intvec; if none are negative, return intvec(1).
negativedivisor procedure
divisors.lib
Compute the negative of a divisor by interchanging its numerator and denominator ideals.
negativeformaldivisor procedure
divisors.lib
Return the negative of a formal divisor by changing the signs of all summand coefficients.
net kernel type
kernel
net procedure
nets.lib
Generate a net representation from a Singular object.
Net type
nets.lib
The class of all nets.
netBigInt procedure
nets.lib
Convert a bigint into a Net (character array) for on-screen printing.
netBigIntMat procedure
nets.lib
Convert a bigint matrix into a Net (character array) for on-screen printing.
netBigIntMatShort procedure
nets.lib
Create a Net for a bigint matrix, showing only the first digits of each entry (optionally truncated to a given length).
netCoefficientRing procedure
nets.lib
Generate a Net (visual representation) of the coefficient ring of a given ring.
netIdeal procedure
nets.lib
Convert an ideal into a Net (character-array) representation for visual on-screen printing.
netInt procedure
nets.lib
Convert an integer into a Net (character array) for on-screen printing.
netIntMat procedure
nets.lib
Convert an integer matrix into a Net (character array) for visual on-screen printing.
netIntMatShort procedure
nets.lib
Create a Net for an intmat, showing only the first digits of each entry for compact on-screen printing.
netIntVector procedure
nets.lib
Convert an intvec into a Net for visual on-screen printing.
netIntVectorShort procedure
nets.lib
Create a Net for an intvec showing only the first digits of each entry.
netList procedure
nets.lib
Convert a list into a Net for visual on-screen presentation.
netMap procedure
nets.lib
Create a Net (visual presentation) of a map for on-screen printing.
netMap2 procedure
nets.lib
Generate a Net (visual presentation) describing a map from its source ring to the basering.
netMatrix procedure
modules.lib
Prints a matrix.
netmatrix procedure
nets.lib
Convert a matrix into a Net (character array) for on-screen visual presentation.
netmatrixShort procedure
nets.lib
Convert a matrix into a Net (character array) for on-screen printing.
netModule procedure
modules.lib
Create a Net pretty-print description of a module (free/image/cokernel/subquotient), optionally showing grading and interpretation maps.
netNumber procedure
nets.lib
Convert a number into a Net (character array) for on-screen printing.
netPoly procedure
nets.lib
Convert a polynomial into a two-row Net (character-array) representation for on-screen display.
netPrimePower procedure
nets.lib
Create a Net for on-screen printing of the prime power expression n^m.
netRing procedure
nets.lib
Convert a polynomial ring into a Net for visual on-screen printing.
nets.lib library
25 commands
Nets are arrays of characters that are printed in a matrix format. They can be concatenated horizontally and vertically. When concatenating horizontally, empty rows are filled with spaces. All Singular objects can be converted to a Net by applying the command
netString procedure
nets.lib
Convert a string into a Net (character array) for visual on-screen output.
netVector procedure
modules.lib
Prints a Vector.
netvector procedure
nets.lib
Convert a vector into a Net (character array) for on-screen printing, optionally with a specified width.
netvectorShort procedure
nets.lib
Convert a vector into a short on-screen Net representation (optionally with a given width/size).
newMaxIndependSetDp procedure
primdec.lib
Compute maximal independent sets for the leading terms ideal and return var/ordering strings and the number of independent variables.
newredspec procedure
redcgs.lib
Compute a reduced specification by intersecting N with Nj, filtering/merging W and Wj, and returning the new (N,W) as a list.
News and changes topic
platform.doc / News and changes
Release notes and change log for Singular, including updated and new libraries, kernel/build-system changes, and new commands across versions.
NewTails procedure
JMSConst.lib
Constructs tails for unknown J-marked polynomials from an ideal NI using shifted coefficient variables.
newtonDiag procedure
polylib.lib
Compute the Newton diagram of a polynomial as an intmat with one exponent vector per monomial.
newtonNumber procedure
arnold.lib
Determine the Newton number of a polynomial (poly or Poly).
newtonpoly procedure
hnoether.lib
Compute the Newton polygon of a convenient bivariate polynomial, returning a list of intvec points (x,y) on the polygon.
newtonPolygon procedure
arnold.lib
Compute the Newton polygon of a polynomial and return its finite facets with normal vectors and facet vertices.
newtonPolygonNegSlopes procedure
tropicalNewton.lib
Return the negative slopes of the Newton polygon of a univariate polynomial (optionally returns a simple root when b==1).
newtonPolytope procedure
gfan.lib
Compute the convex hull (as a polytope) of all exponent vectors appearing in a polynomial.
newtonrroot procedure
decomp.lib
Computes h with h^r = f modulo vvar^l (assuming f(0)=1) using p-adic Newton iteration.
NewWeight procedure
JMBTest.lib
Return an intvec u initialized to 0 with u[n] set to 1.
NewWeight procedure
JMSConst.lib
Create an intvec u with u[n]=1 (others 0).
next_vector procedure
finvar.lib
Compute the next 1×n integer row vector in a specific recursive ordering used by finvar.lib.
nextbrother procedure
redcgs.lib
Finds and returns the next sibling ("brother") node info for a given label vector; returns [intvec(0),0] if none.
nextHodgeIdeal procedure
hodge.lib
Compute the (p+1)-th Hodge ideal of f^alpha from the p-th Hodge ideal, assuming generation level ≤ p.
nf_icis procedure
sing.lib
If i defines an isolated complete intersection singularity, returns a generic linear combination of its generators; else returns i.
nFinduni procedure
modfinduni.lib
Compute and simplify a univariate-finding transformation of an ideal using finduni and simplify.
nfmodStd procedure
nfmodstd.lib
Computes a standard basis of an ideal or module, handling algebraic number fields and delegating to modStd if no parameters.
nfmodstd.lib library
3 commands
A library for computing a Groebner (standard) basis of an ideal in a polynomial ring over an algebraic number field \(\mathbb{Q}(t)\) using modular methods, where \(t\) is algebraic over the field of rational numbers \(\mathbb{Q}\).
nfmodSyz procedure
nfmodsyz.lib
Compute the syzygy module of an ideal or module over an algebraic number field using a modular approach.
nfmodsyz.lib library
2 commands
A library for computing the syzygy module of a given submodule \(I\) of a free module over a polynomial ring with coefficients in an algebraic number field \(\mathbb{Q}(t)\), using modular methods. Here \(t\) is an algebraic number.
NFMora procedure
teachstd.lib
Compute the Mora normal form of a polynomial or vector with respect to an ideal or module, optionally using symmetric s-polynomials.
nmaxcones procedure
gfan.lib
Return the number of maximal cones in a fan.
No case or switch statement topic
tricks.doc / No case or switch statement
Singular does not provide a case or switch statement, but this document shows how to imitate one with a while (1) loop and break.
No rvalue of increments and assignments topic
tricks.doc / No rvalue of increments and assignments
Explains that increment/decrement operators and assignment expressions have no rvalue in Singular, and shows correct alternatives.
noElements procedure
ringgb.lib
Return the number of elements of the finite integer coefficient ring of a ring.
noether topic
reference.doc / noether
In standard basis computations in local rings, noether sets a cutoff monomial (w.r.t. the monomial ordering) during the computation. Setting noether to 0 resets/disables this cutoff.
noether.lib library
8 commands
A library for computing the Noether normalization of an ideal without requiring the computation of the dimension of the ideal.
noetherNormal procedure
algebra.lib
Compute a (possibly sparse random) coordinate change giving a Noether normalization for an ideal.
NoetherPosition procedure
mregular.lib
Compute an ideal defining a homogeneous linear change of coordinates giving a Noether normalization for S/i (returns -1 for (0) or (1)).
Non-commutative Algebra topic
examples.doc / Non-commutative Algebra
Links to examples for computing Gröbner bases and syzygies in non-commutative algebra.
Non-commutative algebra topic
math.doc / Non-commutative algebra
References to the mathematical background sections for non-commutative algebra, including the plural and letterplace settings.
Non-commutative Algebra tutorial
tutor.tex / Non-commutative Algebra
Entry points to the Singular documentation on non-commutative algebra, covering Groebner bases and related syzygies.
Non-commutative subsystem topic
plural.doc
nondegeneratePart procedure
arnold.lib
Determine the nondegenerate part (as Poly) of the singularity defined by N.phi.sourcegerm.value.
Nonhyp procedure
resbinomial.lib
Compute the ideal generated by the non-hyperbolic generators of expJ.
NonLinearZeroSetMain procedure
zeroset.lib
Solves univariate nonlinear polynomials in an ideal over the ground field (no multiplicities) and returns solutions plus updated field data.
nonMonomials procedure
pointid.lib
Compute the non-monomials (complement of leading monomials) of the vanishing ideal of a set of points (basering order ip).
nonnull procedure
redcgs.lib
Test via a Groebner basis whether the ideal (N,f, 1-@Cprod(W)) is the unit ideal; returns 1 if yes, else 0.
nonZeroEntry procedure
algebra.lib
Return indices and indicator vectors of non-zero entries of an indexable object (uses size() or ncols() for ideal/module).
norm procedure
hyperel.lib
Compute the norm of a(x)-b(x)y on the hyperelliptic curve y^2+h(x)y=f(x), returning a polynomial in one variable.
normal procedure
normal.lib
Computes the normalization of an affine ring, with options for decomposition, algorithms, and delta invariants.
normal.lib library
23 commands
# Normalization of Affine Rings
normalBundle procedure
schubert.lib
Compute the normal bundle on a stack at a graph.
normalC procedure
normal.lib
Computes the normalization of an affine ring through a chain of rings.
normalConductor procedure
normal.lib
Compute the conductor ideal of R/I in the basering, optionally reusing a precomputed normalization from normal().
normalForm procedure
arnold.lib
Return the normal form polynomial of a Poly (computed) or of a given NormalForm object.
normalform procedure
classify.lib
Compute Arnold's normal form polynomial for the singularity specified by a name string.
NormalForm type
arnold.lib
A type storing the results of the classification, such as the computed normal form and related information (e.g., normal form equation, exceptional hypersurface, and Arnold type).
normalFormDivisor procedure
divisors.lib
Return a normalized representative of a divisor by cancelling common components of numerator and denominator.
normalFormEquation procedure
arnold.lib
Return the normal form equation stored in a NormalForm, computing it if not yet set.
NormalFormEquation type
realclassify.lib
Type used to represent a normal form equation in this library.
normalFormEquationUpToRescaling procedure
arnold.lib
Return N.normalFormEquationUpToRescaling: a minimally-ringed polynomial right-equivalent to N.normalFormEquation via x↦ax, y↦by.
normalI procedure
reesclos.lib
Compute a list of integral closures of powers of an ideal I (I,...,I^p), with optional radical check and locNormal normalization.
normaliz procedure
normaliz.lib
Apply Normaliz to an input matrix of a given Normaliz type, with optional further matrices and integer parameters.
normaliz.lib library
37 commands
The library normaliz.lib provides an interface to use Normaliz 3.10.0 (or newer) within SINGULAR. Data are exchanged via files.
Normalization topic
examples.doc / Normalization
Explains how normalization is computed for a reduced ring R/I in Singular and how to interpret the result as a list of rings with ideals named norid. Includes two example computations.
Normalization tutorial
tutor.tex / Normalization
Describes how to compute the normalization of a reduced ring R/I in Singular and how the result is represented. Includes two example computations.
normalize procedure
polylib.lib
Normalize a polynomial so that its leading coefficient is 1.
normalizeMonoidal procedure
olga.lib
Compute a normal form of monoidal localization data by returning the unique commutative factors occurring in the given polys.
normalizeRational procedure
olga.lib
Compute a normalized form of rational localization data by removing duplicates and sorting ascending.
normalP procedure
normal.lib
Computes normalization data (module and optionally ring structure) and delta invariants for a radical ideal in positive characteristic.
normalToricRing procedure
normaliz.lib
Compute the normalization of the toric ring generated by the leading monomials of polynomials in an ideal, returning generators as an ideal.
normalToricRingFromBinomials procedure
normaliz.lib
Compute the normalization of the toric ring defined by a binomial ideal and return a new polynomial ring containing the generator ideal.
norTest procedure
normal.lib
Checks the output of normal, normalP and normalC against an expected result.
noSolution procedure
groups.lib
Return primes p<=32003 where solvability modulo p may fail: for p not in the list, 1 lies in I over (Z/p)[x1..xn] (else ERROR).
notequalScheme procedure
scheme.lib
Return 1 if two schemes are not equal, otherwise 0 (negation of equalScheme).
Notes for developers topic
platform.doc / Notes for developers
Notes on the refactoring, redesign, and modularization of Singular to support maintenance and future development.
Notes for Singular users topic
platform.doc / Notes for Singular users
Notes on changes in Singular, including coefficient rings, ring-dependent options, path names, library versioning, and new module orderings. Also outlines future benefits expected from the redesign in Singular 4.
npar procedure
findifs.lib
Searches for n among the parameters of the current basering and returns its index.
npars topic
reference.doc / npars
Returns the number of parameters of a ring.
NPos procedure
noether.lib
Compute a linear change of coordinates putting an ideal into Noether position (may return map/ideal or a status message).
NPos_test procedure
noether.lib
Test whether a nonzero monomial ideal is in Noether position and return a status flag with a variable ordering.
nres topic
reference.doc / nres
Computes a free resolution of an ideal or module, minimized from the second module on using the standard basis method. Supports stopping after a specified number of steps and honors degBound.
nres BR_PLURAL_BR topic
plural.doc / nres BR_PLURAL_BR
Describes nres, which computes a free resolution of an ideal or module, minimized from the second module on. Includes syntax, notes, and an example.
nrows topic
reference.doc / nrows
Returns the number of rows of a matrix-like object, or the minimal rank of a free module containing a given module or vector.
nrroots procedure
rootsur.lib
Return the number of real roots of a (non-parametric) polynomial using a Sturm-Habicht based count.
nrRootsDeterm procedure
rootsmr.lib
Deterministically compute the number of real roots of a 0-dimensional ideal.
nrRootsProbab procedure
rootsmr.lib
Probabilistically compute the number of real roots of a 0-dimensional ideal.
nsatiety procedure
noether.lib
Compute the satiety (saturation index) of a homogeneous ideal; returns -1 if the ideal is not homogeneous.
nsdScaleFactor procedure
tropical.lib
Compute and return the minimal scaling factor (as a poly) over a list of graphs, based on boundary x/y coordinate extents.
nselect procedure
elim.lib
Select generators (or columns) not containing variables whose indices are listed in the given intvec.
NSplaces procedure
brnoeth.lib
Update Adj_div curve data by computing all non-singular affine closed places whose degrees are listed in h.
nt_solve procedure
ntsolve.lib
Find one real solution of a 0-dimensional polynomial system using Newton iteration from given initial values.
ntsolve.lib library
3 commands
## Real Newton Solving of Polynomial Systems
NullCone procedure
rinvar.lib
Compute the ideal of the nullcone of a linear action of a reductive algebraic group using Deksens algorithm.
num_elim procedure
recover.lib
Compute an elimination ideal of I for variables specified by f using numerical witness points (Bertini) and rational reconstruction.
num_elim1 procedure
recover.lib
Compute the elimination ideal of an ideal given by witness points by projecting specified variables and applying num_radical1.
num_of_vars procedure
surfex.lib
Compute per-variable sums of exponents over all monomials occurring in an ideal; returns 0 for variables not occurring.
num_prime_decom procedure
recover.lib
Compute a prime decomposition of the radical of I using Bertini, returning a list of prime component ideals.
num_prime_decom1 procedure
recover.lib
Computes prime components of the radical of an ideal represented by witness points, using a degree bound and Veronese scaling.
num_radical_via_decom procedure
recover.lib
Computes the radical of an ideal numerically by calling num_prime_decom and intersecting the returned components (uses Bertini).
num_radical_via_randlincom procedure
recover.lib
Compute the radical of an ideal numerically via random linear combinations of Veronese images, using Bertini.
num_radical1 procedure
recover.lib
Compute the radical of an ideal from a witness point set by calling num_prime_decom1 and intersecting the prime components.
num_radical2 procedure
recover.lib
Compute (via relations from a witness set) generators for the radical of an ideal over the complex numbers.
num_vars_id procedure
surfex.lib
Return the number of ring variables that occur (with nonzero exponent) in the given ideal.
numBaseColors procedure
surfex.lib
Return the number of predefined surface colors.
number kernel type
kernel
number (coefficient)
number topic
types.doc / number
Describes numbers as elements of the coefficient (ground) ring in Singular, defined relative to a basering. Includes references to declarations, expressions, operations, and related functions.
number type
tropicalEllipticCovers.lib
Numeric type used for parameters and intermediate values.
number declarations topic
types.doc / number declarations
Declares numbers over the coefficient field of the current basering. A ring must be defined before any number declaration.
number expressions topic
types.doc / number expressions
Defines number expressions in Singular, listing valid forms and operators, with examples across different coefficient fields.
number operations topic
types.doc / number operations
Lists arithmetic and comparison operators for numbers in Singular, with notes on parsing and ring-dependent behavior. Includes a short example session.
number related functions topic
types.doc / number related functions
Overview of functions related to numbers, including parameter accessors and operations on rational and complex numbers.
number_e procedure
general.lib
Compute Euler's number e=exp(1) to n decimal digits (no rounding), returning a number in char 0 rings or a string otherwise.
number_pi procedure
general.lib
Compute pi up to n decimal digits (no rounding); returns a number in char 0 basering, otherwise a string.
numberOfConesOfDimension procedure
gfan.lib
Count the number of cones of a given dimension in a fan (optionally restricting to maximal cones).
numerAlg.lib library
4 commands
The library contains procedures to
numerator topic
reference.doc / numerator
Returns the numerator of a number expression. The result is of type number.
numerDecom.lib library
12 commands
The library provides procedures to compute
NumIrrDecom procedure
numerDecom.lib
Numerical irreducible decomposition of an ideal.
NumLocalDim procedure
numerAlg.lib
Compute the local dimension of the variety defined by an ideal at a given (approximate) point.
NumNewVar procedure
JMSConst.lib
Compute the total number of new variables from grouped Borel data and group cardinalities.
NumPrimDecom procedure
numerDecom.lib
Compute a numerical primary decomposition of an ideal using deflation of order d, returning a ring containing exported witness point sets.
nvars topic
reference.doc / nvars
Returns the number of variables of a ring.
nvars_bring procedure
polybori.lib
Return the number of variables of the ring associated with a PolyBoRi bring object.

O

EntryDescription
Objects topic
general.doc / Objects
Describes Singular objects, including their types, values, names, attributes, and how ring-dependent objects behave across rings.
old_secondary_charp procedure
finvar.lib
Compute secondary and irreducible secondary invariants in characteristic p>0 from primary invariants and a Reynolds operator.
oldsmith procedure
control.lib
Compute Smith normal form S of a module/matrix M and unimodular U,V with UMV=S, returning [S,rank,U,V].
olga_lib topic
plulibs.doc / olga_lib
Let A be a G-algebra.
olga.lib library
21 commands
Let A be a G-algebra.
omega procedure
invar.lib
Apply a determinant of a selected submatrix of partial derivatives (as differential operator) to a polynomial f.
once procedure
classify.lib
Procedure from classify.lib with no documented parameters.
oneDimBelongSemigroup procedure
cisimplicial.lib
Test if n lies in the semigroup generated by entries of v and return nonnegative coefficients with vcoeffs = n, else 0.
oneNcfrac procedure
ncfrac.lib
Create the fraction equal to 1 in the given localization.
onesVector procedure
gfan.lib
Create an intvec of length n with all entries equal to 1.
op_getitem procedure
polybori.lib
Retrieve one element or a subcollection from a bideal using 1-based indexing (single int) or a multi-index selector.
open topic
reference.doc / open
Documents the Singular command open, which opens a link. Includes syntax, type, an example, and cross-references.
openSSI procedure
ssi.lib
Open an SSI file link in mode 'read', 'write', or 'append'.
opentex procedure
latex.lib
Create a new .tex file and write a TeX/LaTeX header (default LaTeX2e) to it.
operatorAlgebra procedure
fpalgebras.lib
Construct a predefined operator algebra as a Letterplace ring with ideal I containing the defining relations.
operatorBM procedure
dmod.lib
Construct a D[s] output ring computing Ann(f^s), specialized data, and Bernstein/shift operators via Briancon–Maisonobe.
operatorModulo procedure
dmod.lib
Compute the B-operator for f from Ann(f^s) and the Bernstein–Sato polynomial b(s) using a modulo/kernel approach.
oppose topic
plural.doc / oppose
Describes the Singular command oppose, which constructs the opposite of an object in the opposite ring. Includes syntax, remarks, and an example demonstrating correctness checks.
opposite topic
plural.doc / opposite
Creates the opposite algebra of a given algebra by reversing the multiplication. Includes remarks on variable reversal and opposed orderings, with an example.
optiBase procedure
integralbasis.lib
Recursively combines segment integral-basis sets using segment slope data via optiTwoSets.
option procedure
grobcov.lib
Configure Grobner cover computation; with option ("ext",0) only generic base representations are computed (extendGC gives full).
option topic
reference.doc / option
Describes the option command for listing, setting, saving, and restoring Singular options, and documents available computation and output options.
option(warn) topic
general.doc / option(warn)
Describes the warn option, which enables warnings for constructs that may lead to bugs. Lists specific situations where warnings are issued.
optionIsSet procedure
ring.lib
Test whether a given Singular option is currently active.
optiTwoSets procedure
integralbasis.lib
Combine two degree-indexed bases and pick, for each total degree, the best valuation and corresponding product polynomial.
orbit_sums procedure
finvar.lib
Compute orbit sums of a set of degree-d monomials under the permutation group generated by a list of variable permutations.
orbit_variety procedure
finvar.lib
Compute a Groebner basis for the syzygy ideal defining the orbit variety of invariant ring generators in a new ring.
orbitConeOrbits procedure
gitfan.lib
Project a-face orbit representatives to orbit cones w.r.t. Q, erroring if a projected cone is not full-dimensional.
orbitCones procedure
gitfan.lib
Compute distinct orbit cones Q(gam0) for gam0 in AF, optionally filtering by a minimum cone dimension.
orbitConesOld procedure
gitfan.lib
Compute all distinct cones Q(gam0) for a-faces gam0 of an ideal, optionally filtering by cone dimension and face dimension.
orbitparam.lib library
5 commands
This library implements the ChevalleyRosenlicht theorem as stated in Theorem 3.1.4 of [Corwin, Greenleaf].
ord topic
reference.doc / ord
Returns the (weighted) degree of the initial term of a polynomial or vector, using the weights of the first block of the ring ordering.
ord_test procedure
ring.lib
Test whether a ring/qring ordering is global (1), local (-1), or mixed (0).
orderingpairs procedure
redcgs.lib
Builds an ordered list of critical pairs (i,j,lcm) for generators of an ideal, skipping pairs rejected by Buchberger’s 1st criterion.
OrderingV procedure
JMBTest.lib
Recursively orders the elements of V (using MinOfV with G) and returns the ordered list R.
OrderV procedure
JMSConst.lib
Recursively orders elements of V using MinimalV and appends them into accumulator list R.
ordnung procedure
hyperel.lib
Returns the maximal i such that (x-x0)^i divides the polynomial g.
ordstr topic
reference.doc / ordstr
Returns a string describing the monomial ordering of a given ring.
origin procedure
gfan.lib
Constructs the cone representing the origin in an ambient space of dimension n.
orthogonalize procedure
linalg.lib
Compute an orthogonal basis (as a matrix) for the column space of a constant matrix.
outer procedure
matrix.lib
Compute the outer (tensor) product of two matrices.

P

EntryDescription
p_search procedure
finvar.lib
Internal search routine in finvar.lib that iteratively augments an ideal with var(k)^d constraints while enumerating coefficient vectors.
p_search_random procedure
finvar.lib
Tries random linear combinations of generators (from B) to add to P so that dim drops by dif, extending CI with var(j)^d terms.
package kernel type
kernel
The data type package is used to group identifiers into collections. It is mainly used as an internal means to avoid collisions of names of identifiers in libraries with variable names defined by the user. The most important package is the toplevel package, called Top. It contains all user defined identifiers as well
package topic
types.doc / package
Describes the Singular data type package, which groups identifiers to avoid name collisions, and outlines reserved package names and related documentation links.
package declarations topic
types.doc / package declarations
Defines a package. This is only relevant in very special situations.
package related functions topic
types.doc / package related functions
Lists Singular functions related to packages, including exporting/importing identifiers, listing variables, and loading libraries or modules.
pairset procedure
teachstd.lib
Compute the pair set of an ideal/module excluding pairs removed by product or chain criterion, and return counts.
par topic
reference.doc / par
Documents the Singular function par, which returns the n-th parameter of the basering.
par2varRing procedure
standard.lib
Convert basering parameters into an extra last block of variables (dp, weight 1) and optionally map given ideals/modules to Id[i].
paraConic procedure
paraplanecurves.lib
Create a ring (as PP^1) and export ideal PARACONIC giving a rational parametrization PP^1 -> {q=0}.
Parallel computing topic
platform.doc / Parallel computing
Describes how Singular uses CPUs and threads for parallel computations and lists commands and frameworks that support parallel algorithms via modular methods or alternative algorithms.
parallel.lib library
5 commands
This library provides implementations of several parallel “skeletons” (i.e. patterns describing how parallel tasks depend on and interact with each other). It is based on the library tasks.lib and is intended both for ordinary Singular users and for authors
Parallelization with ssi links topic
examples.doc / Parallelization with ssi links
Demonstrates how to use ssi links to run competing computations in parallel and return the first result. Includes an example comparing stdhilb and stdfglm for a zero-dimensional ideal.
Parallelization with ssi links tutorial
tutor.tex / Parallelization with ssi links
Demonstrates how to use ssi links to run stdhilb and stdfglm in parallel and return the first result. Includes a worked Singular example and notes on ssi:fork versus ssi:tcp.
parallelTestAND procedure
parallel.lib
Run commands in parallel and return 1 iff all commandi evaluate to nonzero int; 0 otherwise, -1 on timeout.
parallelTestOR procedure
parallel.lib
Apply commands in parallel and return 1 if any result is nonzero, 0 if all are zero, or -1 on timeout.
parallelWaitAll procedure
parallel.lib
Wait for all parallel tasks and return a list of results of commands[i] applied to arguments[i].
parallelWaitFirst procedure
parallel.lib
Wait for the first finished parallel task(s) and return their result(s); synonymous to parallelWaitN(commands,args,1[,timeout]).
parallelWaitN procedure
parallel.lib
Run multiple tasks in parallel and wait until N of them finish (optionally with a timeout).
param procedure
hnoether.lib
Compute a parametrization from Hamburger–Noether data (optionally also return degree bounds for exact coefficients).
Parameter list topic
general.doc / Parameter list
Describes how to define the number, types, and names of procedure arguments, including optional parameters and default values.
Parameters topic
examples.doc / Parameters
Demonstrates how to deform an ideal by introducing a parameter t and compute the dimension over \mathbb{Q}(t), comparing it with specializations t=a for almost all a\in\mathbb{Q}.
Parameters tutorial
tutor.tex / Parameters
Deform an ideal by introducing a parameter t and compute the dimension over \mathbb{Q}(t). Compare with specializations t=a for almost all a\in\mathbb{Q}.
parameterSubstitute procedure
tropical.lib
Substitute the parameter t in a polynomial f by t^N (over Q(t)).
parametrizeOrbit procedure
orbitparam.lib
Compute a parametrization of the orbit of v under exp() and return orbit data (dimension, parametrization, deletable indices, parameters).
paraPlaneCurve procedure
paraplanecurves.lib
Compute a rational parametrization of a rational plane curve f=0; returns a new ring exporting ideal PARA with 3 parametrizing generators.
paraplanecurves.lib library
12 commands
Suppose \(C=\{f(x,y,z)=0\}\) is a rational plane curve, where \(f\) is homogeneous of degree \(n\) with coefficients in \(\mathbb{Q}\) and absolutely irreducible (these conditions are checked automatically).
pardeg topic
reference.doc / pardeg
Describes the Singular function pardeg, which returns the degree of a number viewed as a polynomial in the ring parameters.
parstr topic
reference.doc / parstr
Describes parstr, which returns the ring parameters as a string or the name of a specific parameter by index.
part procedure
chern.lib
Compute all partitions of integers <= n into m non-negative summands, returned as a list of lists.
PartC procedure
chern.lib
Compute the complement of an integer partition I with respect to m (returns list(0) if max(I) > m).
partial_molien procedure
finvar.lib
Compute n terms of a partial Molien series expansion, optionally continuing from a saved intermediate result.
partitions procedure
ellipticcovers.lib
Return the list of all partitions of a into n summands.
PartitionVar procedure
finitediff.lib
Partition a polynomial into terms involving variable n and terms independent of variable n.
ParToVar procedure
finitediff.lib
Substitute par(i) by var(i) in a polynomial for i=1..nvars(basering) (inverse of VarToPar; requires setinitials).
partOver procedure
chern.lib
Compute all partitions over a given partition J with summands not exceeding n.
partUnder procedure
chern.lib
Compute all partitions under (componentwise bounded by) a given partition J, returned as a list of partitions.
pause procedure
inout.lib
Interrupt execution and wait for user input, optionally displaying a custom prompt.
PBW_eqDeg procedure
central.lib
Compute PBW elements of a given degree (unit omitted; weights ignored).
PBW_maxDeg procedure
central.lib
Compute PBW elements up to a given maximal degree and return them as an ideal.
PBW_maxMonom procedure
central.lib
Compute PBW elements up to a given maximal monomial bound (unit omitted; weights ignored).
pdivi procedure
grobcov.lib
Performs pseudodivision of a parametric polynomial by a parametric ideal, returning remainder, quotients, and multiplier.
pdivi2 procedure
redcgs.lib
Pseudo-divides a polynomial by an ideal; returns (remainder r, quotient ideal q, multiplier m) with mf = r + sum(qF).
pdivisor type
divisors.lib
A polyhedral formal sum of divisors (P-divisor) with coefficients given by polyhedra sharing a fixed tail cone.
PerfectPowerTest procedure
aksaka.lib
Test whether n is a perfect power a^b with a,b>1; returns 0 if yes, 1 otherwise (may print a,b if printlevel>=1).
permcol procedure
matrix.lib
Return a copy of matrix A with columns c1 and c2 swapped.
permrow procedure
matrix.lib
Return a copy of matrix A with rows r1 and r2 swapped.
permutation type
gitfan.lib
Permutation in map representation.
permutation; type
gitfan.lib
Permutation in map representation.
permutationFromIntvec procedure
gitfan.lib
Create a permutation from an intvec specifying the images.
permutationToIntvec procedure
gitfan.lib
Convert a permutation to an intvec of images.
permute procedure
ellipticcovers.lib
Return a list containing all permutations of the input list.
permute_L procedure
brnoeth.lib
Return a permuted copy of L using permutation indices given by P (intvec or list of integers).
perron procedure
perron.lib
Compute polynomial relations between pairwise commuting polynomials in an ideal, returning a commutative ring containing ideal Relations.
perron_lib topic
plulibs.doc / perron_lib
This library provides a procedure to compute algebraic relations (algebraic dependences) for a given list of polynomials.
perron.lib library
1 commands
This library provides a procedure to compute algebraic relations (algebraic dependences) for a given list of polynomials.
PEsolve procedure
ffsolve.lib
Solve a multivariate polynomial system over a finite field; optionally only test existence of common roots.
pFactor procedure
crypto.lib
Pollard p−1 factor search: returns a nontrivial factor of n (if found) or n otherwise, using bound B and prime list P.
pfd procedure
pfd.lib
Compute a partial fraction decomposition of f/g; can batch-process lists of (f,g[,debug]) optionally in parallel.
pfd.lib library
11 commands
This library implements an algorithm based on the work of E. K. Leinartas to write rational functions in several variables as a sum of terms with “smaller” numerators and denominators.
pfdMat procedure
pfd.lib
Apply pfd to every entry of a matrix of rational functions loaded from txt/ssi, writing results (and logs) to files.
PH_ais procedure
phindex.lib
Compute the Poincare–Hopf index of a real vector field at an algebraically isolated singularity given by its component ideal.
PH_nais procedure
phindex.lib
Compute the Poincare–Hopf index for a non algebraically isolated singularity (codimension 1 complex zeros) defined by an ideal.
phindex.lib library
4 commands
This library provides procedures to compute the PoincaréHopf (PH) index of real analytic vector fields, and to compute the signature of a symmetric matrix or quadratic form using the Lagrange method.
picksFormula procedure
polymake.lib
Compute lattice area, boundary lattice points, and interior lattice points of the convex hull of a planar lattice polygon.
piecewisedegree procedure
arnold.lib
Compute the piecewise degree of a polynomial with respect to a piecewise weight given as a list.
piecewiseJet procedure
arnold.lib
Compute the piecewise d-jet of a polynomial with respect to a given piecewise weight.
piecewiseOrd procedure
arnold.lib
Determine the piecewise order (minimum piecewise degree of its monomials) of a polynomial with respect to a piecewise weight.
piecewiseWeightOfPolygon procedure
arnold.lib
Determine the piecewise weight defined by a given Newton polygon.
pIntersect procedure
bfun.lib
Compute I ∩ K[f] and return the coefficient vector of the monic generator polynomial (may return vector(0) if intersection is zero).
pIntersectSyz procedure
bfun.lib
Compute the intersection I ∩ K[f] (I a Groebner basis), returning a coefficient vector for the monic generator via syzygies.
Pipe links topic
types.doc / Pipe links
Pipe links provide bidirectional access to the stdin and stdout of an external program via a command string passed to system.
placepairinlist procedure
redcgs.lib
Insert pair into list P at the position determined by comparing pair[3] to the existing elements' [3] values.
plainInvariants procedure
curvepar.lib
Compute invariants of the branches of a plane curve V(i) and the curve's intersection/contact matrices and resolution graph.
planeCur procedure
classify_aeq.lib
Classify a simple plane curve singularity given by an ideal, returning the corresponding normal-form ideal (or 0 if not recognized).
Platform manual
platform.doc
Contents for the Platform documentation, listing sections on changes, parallel computing, versions, libraries, downloads, environment variables, and installation instructions.
plot procedure
surf.lib
Plot a plane curve or surface given by one equation using the external program surf.
plot_jupyter procedure
surf_jupyter.lib
Plot a plane curve or surface (single equation) in Jupyter via the external program surf.
plotRot procedure
surfex.lib
Plot a surface defined by p via surfex, automatically guessing 3 coordinates; optional args control plotting/processing quality.
plotRotated procedure
surfex.lib
Open surfex to draw the surface defined by p in real affine 3-space with coordinates coords, optionally setting plotting quality.
plotRotatedDirect procedure
surfex.lib
Open surfex to draw surfaces specified by varieties, passing equations directly (x,y,z) and optional plotting/quality options.
plotRotatedFromCode procedure
surfex.lib
Internal helper: runs surfex on surfex code given as a string and returns the generated output as a string.
plotRotatedList procedure
surfex.lib
Open surfex to draw varieties (ideals) as real affine surfaces in the 3 coordinates coords, optionally with a plot quality setting.
plotRotatedListFromSpecifyList procedure
surfex.lib
Create a rotated plot for varieties described by a specification list (requires characteristic 0 base ring).
plotRotatedListFromStringList procedure
surfex.lib
Generate Surfex code from a list of variety strings and plot it rotated via Surfex; returns the system command return code.
plugInNumZero procedure
resgraph.lib
Replace every occurrence of 't' in a string by the parenthesized text (num).
Plulibs topic
plulibs.doc
PLURAL topic
plural.doc / PLURAL
PLURAL is a Singular kernel extension for computations in non-commutative G- and GR-algebras. This document outlines its scope, limitations, and conventions.
PLURAL libraries topic
plulibs.doc / PLURAL libraries
Overview of libraries created for Plural, with references to the corresponding subsections. Includes notes on loading libraries and required monomial ordering.
pmat procedure
inout.lib
Format a matrix as an array-like string, optionally truncating each column to a fixed character width.
pnormalf procedure
grobcov.lib
Reduce a parametric polynomial modulo null conditions E and remove factors from the non-null conditions N.
pnormalform procedure
redcgs.lib
Reduce a polynomial modulo null conditions N and remove factors from non-null conditions W (parameter red-specification).
PocklingtonLehmer procedure
crypto.lib
Pocklington-Lehmer primality test for N; returns 'not prime' or a certificate {A, {{p,a_p},...}}.
pointid.lib library
3 commands
The CerliencoMureddu algorithm (see Marinari, Mora: A remark on a remark by Macaulay or Enhancing Lazard Structural Theorem, Bull. Iranian Math. Soc. 29 (2003), 103145) associates to each ordered set of points \(A := \{a_1,\ldots,a_s\} \subset K^n\), \(a_i :
points procedure
enumpoints.lib
Enumerate the coordinate lists of points in the zero set of a 0-dimensional homogeneous ideal.
pointsGen procedure
decodegb.lib
Generate all m-tuples over the base ring's field of size char^e (recursive cartesian product).
Polar curves topic
examples.doc / Polar curves
Defines polar curves of hypersurfaces with respect to a parameter and illustrates affine, local, and projective computations in Singular.
Polar curves tutorial
tutor.tex / Polar curves
Defines polar curves of hypersurfaces with respect to a parameter and illustrates affine, local, and projective computations in Singular using ideal quotients and saturation.
PollardRho procedure
crypto.lib
Probabilistic Pollard rho factorization: returns a list of factors of n, optionally refined to all prime factors.
pollTask procedure
tasks.lib
Poll a task for completion; returns 1 if finished (and marks it completed), otherwise 0.
polSol procedure
dmodloc.lib
Compute an ideal encoding a basis of polynomial solutions of a holonomic linear PDE system given as a Weyl-algebra ideal.
polSolFiniteRank procedure
dmodloc.lib
Compute an ideal encoding a basis of polynomial solutions of a finite-rank holonomic system in the Weyl algebra.
poly kernel type
kernel
polynomial
poly topic
types.doc / poly
Polynomials are the basic data type for the main algorithms in Singular. They are defined with respect to a basering, which determines coefficients, variables, and monomial ordering.
Poly type
arnold.lib
A wrapper type used by this library to store a polynomial together with related data needed by the classification routines.
poly type
tropicalEllipticCovers.lib
Polynomial type used for propagators, series expansions, and coefficient extraction.
poly BR_PLURAL_BR topic
plural.doc / poly BR_PLURAL_BR
Introduces polynomials and vectors as the basic data types in Plural. Explains that polynomials are defined with respect to a basering and provides an example.
poly declarations topic
types.doc / poly declarations
Describes the syntax and purpose of declaring polynomials in Singular, including defaults and an example.
poly declarations BR_PLURAL_BR topic
plural.doc / poly declarations BR_PLURAL_BR
Declares and defines a polynomial using a poly declaration. Includes syntax, default value, and a runnable example.
poly expressions topic
types.doc / poly expressions
Defines polynomial expressions in Singular, including monomials, identifiers, functions, casts, and arithmetic combinations, with examples.
poly expressions BR_PLURAL_BR topic
plural.doc / poly expressions BR_PLURAL_BR
Defines polynomial expressions in Singular, including allowed forms and operations. Includes a short example in a Weyl algebra.
poly operations topic
types.doc / poly operations
Lists the supported operations on polynomials in Singular, including arithmetic, comparisons, division/modulo, and monomial selection by index, with an example.
poly operations BR_PLURAL_BR topic
plural.doc / poly operations BR_PLURAL_BR
Lists polynomial operations and their meanings in BR_PLURAL_BR. Includes arithmetic, comparison, and indexed monomial selection.
poly related functions topic
types.doc / poly related functions
Index of functions related to polynomials, with short descriptions and cross-references to their manual entries.
poly related functions BR_PLURAL_BR topic
plural.doc / poly related functions BR_PLURAL_BR
Overview of polynomial-related functions, with brief descriptions and links to their reference entries.
poly2bpoly procedure
polybori.lib
Convert a Singular poly to a PolyBoRi bpoly by wrapping boolean_poly(p).
poly2list procedure
dmodapp.lib
Convert a polynomial into a list of pairs (lead exponent intvec, corresponding term poly) for each term of the polynomial.
poly2zdd procedure
polybori.lib
Convert a polynomial into its zero-suppressed decision diagram (ZDD) representation.
polybori.lib library
47 commands
A library for using @code{PolyBoRi} through the SINGULAR interface. It provides procedures to convert structures (polynomials, rings, ideals, and ZDDs) in both directions. In particular, it is possible to compute Boolean Gröbner bases via @ref{boolean_std}. Po
polyclass.lib library
12 commands
This library provides a ring-independent polynomial type Poly. It is used as a return type in classify2.lib, realclassify.lib, and arnold.lib. You can use +, , and == for addition, multiplication, and comparison. The key over stores the base r
PolyCompratFunc procedure
scheme.lib
Substitutes the variables of a polynomial by given rational functions and returns the resulting rational function.
polyDK procedure
integralbasis.lib
Return a polynomial of degree d in y having an ordinary multiple point at the origin of order k (optionally seeded).
polyInterpolation procedure
ffmodstd.lib
Newton interpolation: returns a polynomial fitting (d[i],e[i]) and auxiliary data; can extend a previous interpolation and choose var(n).
polylib.lib library
21 commands
Procedures for manipulating polynomials, ideals, and modules.
polymake.lib library
10 commands
Computations with polytopes and fans.
Polynomial data manual
pdata.doc
Contents for the Polynomial data documentation, listing the main sections of the document.
PolynomialRightEquivalence kernel type
kernel
polytope kernel type
kernel
In order to use convex objects in Singular, Singular uses gfanlib, a C++ library for convex geometry by Anders N. Jensen. Please check the readme file for installation instructions. The library gfan_lib provides this C++ library and an interface to it.
polytope topic
cones.doc / polytope
This entry notes that polytope is not supported in this version of Singular.
polytope topic
types.doc / polytope
Describes how Singular represents rational convex polytopes using gfanlib. Notes installation guidance and points to the gfan_lib library for details.
polytopeViaInequalities procedure
gfan.lib
Construct a polytope from linear inequalities IEx>=0 and optional equalities Ex=0, with optional assumptions via flags.
polytopeViaPoints procedure
gfan.lib
Construct a polytope by intersecting the cone generated by rows of V with the hyperplane x1=1 (optional ray-assumption flag).
polyVars procedure
dmodloc.lib
Return 1 if polynomial f uses only variables whose indices are listed in intvec v, else 0.
Porting-instructions.md doc
Porting-instructions.md
Notes on changes in Singular 4 that affect porting, including header moves, coefficient handling, and new arithmetic and ring APIs.
pos_def procedure
linalg.lib
Test whether a constant symmetric square matrix is positive definite (1 yes, 0 no, -1 unknown).
poshull procedure
arnold.lib
Compute the cone (convex hull cone) generated by the integer vectors given in a list.
positiveOrthant procedure
gfan.lib
Return the n-dimensional positive orthant as a cone.
postredgb procedure
redcgs.lib
Post-reduce each generator of an ideal with respect to the remaining generators and return the resulting ideal.
posweight procedure
spcurve.lib
Construct a new ring and deformation data from T1 generators of non-negative/positive weight for a CM codim-2 presentation matrix.
Pottier topic
math.doc / Pottier
Describes Pottier’s algorithm for computing the lattice ideal I_A by first computing a lattice basis via LLL and then saturating and eliminating an auxiliary variable.
power procedure
matrix.lib
Compute the n-th power of a square matrix (matrix or intmat), returning the same matrix type.
power_products procedure
finvar.lib
Compute exponent vectors for products of given degrees that are homogeneous of total degree d.
powerN procedure
crypto.lib
Compute m^d modulo n (with special case n=0 for unreduced power).
powerpolyX procedure
aksaka.lib
Compute a^q reduced modulo the ideal (r) and with coefficients reduced modulo n.
powersums procedure
rootsmr.lib
Compute power sums of f evaluated at the zeros of I, using a monomial basis B of basering/I.
powerX procedure
crypto.lib
Compute var(i)^q reduced modulo a standard basis ideal I.
powSumSym procedure
chern.lib
Compute power-sum expressions (Newton identities) in terms of given elementary symmetric polynomials, up to optional degree N.
PPolyH procedure
goettsche.lib
Compute the Poincaré polynomial (in z) of the Hilbert scheme of n points on a surface with Betti numbers b.
PPolyN procedure
goettsche.lib
Computes the Poincaré polynomial of the moduli space of Kronecker modules N(q; m, n).
PPolyQp procedure
goettsche.lib
Compute the Poincaré polynomial of the punctual Quot-scheme of rank r on n planar points.
PPolyS procedure
goettsche.lib
Compute the Poincaré polynomial (in z) of the n-th symmetric power of a variety with Betti numbers b.
preComp procedure
mprimdec.lib
Precomputes components of a zero-dimensional module via factorization, returning a list of (module, assoc prime/0, annihilator) and an updated check module.
Preface doc
C_CPP_StyleGuide.md
Style guide for further development of SINGULAR in C/C++, covering naming conventions, code structuring, formatting, documentation, and a BNF specification for naming rules.
Preface tutorial
tutor.tex / Preface
Preface to the Singular documentation, including licensing and copyright notices, availability of components, optional external programs, and acknowledgements of contributors and funding.
preim procedure
tropicalEllipticCovers.lib
Return the (1-based) position of x in the list O.
preimage topic
reference.doc / preimage
Describes preimage, which returns the source ring of a map or the preimage of an ideal under a given map.
preimage BR_PLURAL_BR topic
plural.doc / preimage BR_PLURAL_BR
Describes the preimage command in Plural, which returns the preimage of an ideal under a given map, including notes on kernel computation and non-commutative limitations.
preimageLattice procedure
multigrading.lib
Compute an integral basis for the preimage of a lattice B under the lattice homomorphism defined by P.
preimageLoc procedure
ring.lib
Compute the preimage of an ideal under a given map for non-global (local) orderings.
preimageNC procedure
ncpreim.lib
Compute the preimage of an ideal under a homomorphism of G-algebras, exporting the result as an ideal in the domain ring.
Prep procedure
grobcov.lib
Compute the canonical P-representation of the locally closed set V(N) V(M) for ideals in Q[a] (callable in Q[a] or Q[a][x]).
prepareAss procedure
primdec.lib
Return a list of radicals of the equidimensional components of an ideal (Eisenbud–Huneke–Vasconcelos algorithm).
prepareDcE procedure
resgraph.lib
Checks that the original object is an isolated surface singularity and prepares divisor/component data from an embedded resolution.
prepareSat procedure
mprimdec.lib
Compute the lcm (via lcm_chr) of the lead coefficients of all generators of a module.
prepEmbDiv procedure
reszeta.lib
Prepare and collect Q-irreducible exceptional divisors from embedded resolution data, optionally excluding strict transform components.
prepMat procedure
stratify.lib
Builds two lists of filtration submatrices of M determined by column weights wr, row weights ws, and step.
prepRealclassify procedure
classify.lib
Prepares real classification by computing invariants once; returns a list with modality and singularity type string.
prepSV procedure
brnoeth.lib
Preprocess data (parity check and auxiliary matrices) for the basic Skorobogatov–Vladut decoding algorithm of an AG code.
presentation procedure
modules.lib
Convert a module given as a subquotient into a cokernel presentation matrix.
presentTree procedure
resolve.lib
Pretty-prints the chart history/tree information contained in the output list of resolve().
presolve.lib library
17 commands
## Pre-Solving of Polynomial Equations
Primary decomposition topic
examples.doc / Primary decomposition
Describes the two primary decomposition algorithms available in Singular and illustrates their use on example ideals.
Primary decomposition tutorial
tutor.tex / Primary decomposition
Describes the primary decomposition algorithms available in Singular and illustrates their use with examples. Explains the structure of the returned result and related computations.
primary_char0 procedure
finvar.lib
Compute a matrix of primary invariants in characteristic 0 from a Reynolds operator and Molien series (optionally verbose).
primary_char0_no_molien procedure
finvar.lib
Compute primary invariants in characteristic 0 from a Reynolds operator, returning them and degrees with no nontrivial invariants.
primary_char0_no_molien_random procedure
finvar.lib
Computes primary invariants via random combinations using a Reynolds operator (char 0), returning a matrix of primaries and an intvec of empty degrees.
primary_char0_random procedure
finvar.lib
Compute primary invariants in characteristic 0 using the Reynolds operator and Molien series via random linear combinations.
primary_charp procedure
finvar.lib
Compute a matrix of primary invariants in characteristic p>0 from a Reynolds operator and a Molien-series ring.
primary_charp_no_molien procedure
finvar.lib
Compute primary invariants in characteristic p>0 from a Reynolds operator, returning invariants and degrees with no nontrivial invariants.
primary_charp_no_molien_random procedure
finvar.lib
Compute primary invariants in characteristic p>0 using random combinations of homogeneous invariant bases from a Reynolds operator.
primary_charp_random procedure
finvar.lib
Compute primary invariants in characteristic p>0 using random linear combinations guided by the Molien series (Reynolds operator input).
primary_charp_without procedure
finvar.lib
Compute primary invariants (as a matrix) of a finite matrix group in positive characteristic, optionally printing progress.
primary_charp_without_random procedure
finvar.lib
Compute primary invariants (as a matrix) for a finite matrix group in positive characteristic, using random combinations without Reynolds/Molien.
primary_invariants procedure
finvar.lib
Compute primary invariants of a finite matrix group; may also return Reynolds operator and Molien series depending on flags.
primary_invariants_random procedure
finvar.lib
Computes primary invariants of a finite matrix group via random combinations; may also return Reynolds operator and Molien series depending on flags.
primaryTest procedure
primdec.lib
Internal test step for primary decomposition; returns ideal(0) on failure, otherwise an ideal accumulator (prm).
primdec procedure
primdec.lib
Primary decomposition of a proper ideal, returning a list of primary components and their associated prime ideals.
primdec.lib library
31 commands
Algorithms for primary decomposition based on the ideas of
PrimdecA procedure
mprimdec.lib
Compute a (not necessarily minimal) primary decomposition of a module via a generalized Shimoyama/Yokoyama algorithm.
PrimdecB procedure
mprimdec.lib
Compute a (not necessarily minimal) primary decomposition of a pseudo-primary module w.r.t. an isolated prime ideal.
primdecEHV procedure
ehv.lib
Computes a primary decomposition of an ideal via the Eisenbud/Huneke/Vasconcelos algorithm, returning primary components with associated primes.
primdecGTZ procedure
primdec.lib
Primary decomposition (Gianni/Trager/Zacharias) returning a list of primary components and associated prime ideals.
primdecGTZE procedure
primdec.lib
Primary decomposition (Gianni/Trager/Zacharias) returning a list of pairs [primary component, associated prime].
primdecint.lib library
7 commands
A library for computing the primary decomposition of an ideal in the polynomial ring over the integers, \(\mathbb{Z}[x_1,\ldots,x_n]\).
primdecMon procedure
monomialideal.lib
Compute a minimal primary decomposition of a monomial ideal (optionally choosing among several algorithms).
primDecsAreEquivalent procedure
ehv.lib
Compare two lists of ideals for equivalence up to ordering and redundant components; returns 1 if equivalent, else 0.
primdecSY procedure
primdec.lib
Primary decomposition of an ideal via the Shimoyama/Yokoyama algorithm, returning primary components with associated primes.
primdecSYE procedure
primdec.lib
Primary decomposition of an ideal via Shimoyama–Yokoyama; returns list of [primary component, associated prime] pairs.
primdecZ procedure
primdecint.lib
Compute the primary decomposition of an ideal over ZZ, returning primary components paired with their associated primes.
primdecZM procedure
primdecint.lib
Compute a primary decomposition of a ZZ-module, returning primary components and their associated primes.
prime topic
reference.doc / prime
Describes the Singular function prime(int_expression), which returns the largest prime less than or equal to the given integer.
primeClosure procedure
normal.lib
Compute a chain of ring extensions ending in the integral closure of L[1]/ker (in its quotient field), plus the delta invariant.
primecoeffs procedure
general.lib
Compute prime factors (<= p) of all coefficients of J, returning primes found and remaining factors as intvectors.
primefactors topic
reference.doc / primefactors
Documents the Singular function primefactors, which returns the prime factorization of an integer, optionally up to a given bound on the prime factors.
primeList procedure
modstd.lib
Return an intvec of primes avoiding divisibility of any coefficient of an ideal, optionally extending a given list and using multiple cores.
primes procedure
general.lib
Return an intvec of all primes between prime(n) and m, ordered increasing if n<=m and decreasing if m<n.
primeTest procedure
modstd.lib
Test whether any cleared-denominator coefficients in an ideal become 0 modulo p; returns 1 if safe, else 0.
primitiv.lib library
3 commands
## Computing a Primitive Element
primitive procedure
primitiv.lib
Find a minimal polynomial for a primitive element of a field tower defined by successive minimal polynomials.
primitive_extra procedure
primitiv.lib
Finds a primitive element for k(a,b)/k from two minimal polynomials and returns its minpoly and an expression for a in terms of it.
primitiveSpan procedure
multigrading.lib
Compute an integer basis matrix for the minimal primitive sublattice containing the lattice spanned by the columns of V.
primL procedure
crypto.lib
Return the first primes whose cumulative product crosses q (product of first r-1 primes <= q < product of first r primes).
primList procedure
crypto.lib
Return the list of all prime numbers less than or equal to n.
primparam procedure
curvepar.lib
Compute the Hamburger–Noether matrix of a plane curve branch given by a primitive parametrization (x(t), y(t)).
primRoot procedure
symodstd.lib
Returns a k-th primitive root of unity modulo the prime p (an element of Z/pZ of order k).
primTest procedure
mprimdec.lib
Test a zero-dimensional ideal for primeness/homogeneity; returns ideal(0) on failure, otherwise a (tested) ideal.
print topic
reference.doc / print
Documents the print command, including printing expressions, Betti tables, and returning formatted output as a string.
print_bideal procedure
polybori.lib
Prints a Boolean ideal by listing each generator with an index.
print_bpoly procedure
polybori.lib
Print a Boolean polynomial contained in a bpoly object.
print_zdd procedure
polybori.lib
Prints a ZDD (via disp_zdd), prefixed by "zdd:".
printBetti procedure
modules.lib
Prints the Betti matrix of a Resolution.
printBundle procedure
tateProdCplxNegGrad.lib
Prints a bundle (prints "coker" for cokernel bundles) and its matrix data.
printf procedure
standard.lib
Formatted output to standard output according to a printf-style format string.
printf topic
reference.doc / printf
Reference entry for the Singular command printf. The provided document chunk contains only the heading.
printFirstOrderDeformation procedure
stanleyreisner.lib
Prints a FirstOrderDeformation (lambda) by displaying its source ideal and associated rule in the deformation ring.
printFreeModule procedure
modules.lib
Print a FreeModule (rank, base ring, and optionally generator degrees).
printGraph procedure
ellipticcovers.lib
Print a graph in Singular's standard graph display format.
printGraphG procedure
schubert.lib
Print a graph (graph printing procedure).
printGroup procedure
multigrading.lib
Prints the generators and relations of a group object.
printHashTable procedure
methods.lib
Print all entries of a HashTable as lines "key => value".
printHom procedure
modules.lib
Print a Homomorphism (its rules and source/target modules).
Printing of data topic
general.doc / Printing of data
Describes the procedure dbprint for optional data output and links to related commands.
printlevel topic
reference.doc / printlevel
Describes the integer variable printlevel, which controls the debug output level for dbprint relative to voice. Includes notes and an example.
printLinksDeformation procedure
stanleyreisner.lib
Print a LinksDeformation object, including its links and first/second order deformations.
printMatrix procedure
modules.lib
Print a Matrix, showing source/target generator degrees when the matrix is homogeneous.
printMethod procedure
methods.lib
Prints information from a Method object (in particular its functionClosures).
printModule procedure
modules.lib
Print a module.
printMoebius procedure
arr.lib
Displays the Möbius values of all flats in an arrposet (mainly for debugging).
printMultigradedComplex procedure
tateProdCplxNegGrad.lib
Prints a multigraded complex.
printNormalForm procedure
polyclass.lib
Print a NormalForm object together with its key characteristics and associated data.
printNormalFormEquation procedure
polyclass.lib
Print a NormalFormEquation in human-readable form (corank, inertia index, type, equation, Milnor number, modality, parameters, etc.).
printPermutation procedure
gitfan.lib
Print a permutation in two-line notation (source indices and their images).
printPoly procedure
polyclass.lib
Print routine for a polynomial of type Poly.
printPolynomialRightEquivalence procedure
polyclass.lib
Print the transformation described by a PolynomialRightEquivalence.
printPuiseux procedure
puiseuxexpansions.lib
Prints information (numerator/denominator, exponent denominator, optional minimal polynomial) for a Puiseux element.
printQPoly procedure
stanleyreisner.lib
Print a QPoly as a polynomial in its quotient ring.
printResolution procedure
modules.lib
Print a Resolution (no return value).
printRightEquivalenceChainWithPrecision procedure
polyclass.lib
Print a RightEquivalenceChainWithPrecision (source/target germs, precision, and its transformations).
printSecondOrderDeformation procedure
stanleyreisner.lib
Prints the lambda (second order deformation) data of a SecondOrderDeformation object.
printSet procedure
sets.lib
Print a set in brace format and report its number of elements.
printSheaf procedure
schubert.lib
Return Singular's standard printable string representation of a sheaf.
printStack procedure
schubert.lib
Print function used by Singular to display a stack (moduli space of stable maps).
printTask procedure
tasks.lib
Print information about a task (including command, number of arguments, and state).
printVariety procedure
schubert.lib
Print an abstract variety in Singular's standard output format.
proc kernel type
kernel
procedure
proc topic
types.doc / proc
Procedures are user-defined sequences of Singular commands that extend the command set. They can be defined interactively or loaded from libraries using LIB.
proc declaration topic
types.doc / proc declaration
Describes the syntax and purpose of declaring procedures (proc) in Singular, including optional help strings and example sections.
proc expression topic
types.doc / proc expression
Defines a new function within apply or for assigning. The syntax uses an arrow form with a variable name and a block of expressions.
Procedure definition topic
general.doc / Procedure definition
Defines the syntax and behavior of Singular procedures, including optional help strings, parameter lists, examples, and the use of static in libraries.
Procedure-specific commands topic
general.doc / Procedure-specific commands
Commands in this section are intended for use only inside procedures. They either export local objects or return results to the calling level.
Procedures topic
general.doc / Procedures
Procedures are user-defined command sequences in the Singular language. This section explains how to define, invoke, and list procedures, and points to related topics.
Procedures and libraries topic
start.doc / Procedures and libraries
Describes how to define and call procedures in Singular and how to load and use libraries, including help and example sections.
Procedures and libraries tutorial
tutor.tex / Procedures and libraries
Introduces Singular procedures and library usage, including defining a simple procedure and loading and using sing.lib. Also shows how to access help and examples for procedures and libraries.
Procedures in a library topic
general.doc / Procedures in a library
Hints and requirements for implementing procedures in a Singular library. Includes naming conventions, documentation requirements, and guidelines for printing and interactive input.
procs with different argument types topic
types.doc / procs with different argument types
Describes how to dispatch to different procedures based on argument types using branchTo, including syntax, constraints, and an example.
prodcrit procedure
teachstd.lib
Check the product criterion for a pair of polynomials/vectors; returns 1 if applicable, 2 if different components, else 0.
product procedure
general.lib
Returns the product of the selected entries of id (treated as a list if needed); empty selection yields 1.
Product orderings topic
pdata.doc / Product orderings
Defines product orderings for monomial orderings and explains how Singular combines different orderings into a product ordering, with an example.
productgroup procedure
multigrading.lib
Return a list representing the direct product group G x H by block-concatenating the matrices of G and H.
productOfProjectiveSpaces procedure
tateProdCplxNegGrad.lib
Create rings S and E for the product of projective spaces P^{c_1} x ... x P^{c_t} (coordinate ring and exterior algebra).
productVariety procedure
schubert.lib
Construct the product of two abstract varieties and return it as an abstract variety.
Programming topic
examples.doc / Programming
Index of programming-related examples and topics in Singular, with links to the corresponding sections.
Programming tutorial
tutor.tex / Programming
Overview of programming-related topics in Singular, with links to key sections such as procedures, rings, parameters, output formatting, and parallelization.
projectiveBundle procedure
schubert.lib
Create the projective bundle of a sheaf as an abstract variety (optionally choosing the projective variable name).
projectiveDimension procedure
purityfiltration.lib
Compute a shortest (left/right) projective resolution of coker(R) and its projective dimension.
projectiveSpace procedure
schubert.lib
Create the abstract variety of projective space P^n with Chow ring Q[h]/(h^(n+1)).
projectLattice procedure
multigrading.lib
Return a matrix for a Z-linear map whose kernel is the primitive lattice spanned by the columns of B.
projPoints procedure
enumpoints.lib
Enumerate projective points on the zero set of a homogeneous (0-dimensional) ideal.
propagator procedure
ellipticcovers.lib
Compute the elliptic propagator for a pair of vertices with multiplicity, or the product over all edges of a graph.
PropagatorFunction procedure
tropicalEllipticCovers.lib
Compute a list of propagator functions (per edge) for a graph G, with variant chosen by t (0..3) and optional leak list.
proximitymatrix procedure
alexpoly.lib
Compute proximity matrix and related incidence matrices (resolution graph and Enriques diagram) for a plane curve singularity.
proxymultdivisor procedure
divisors.lib
Returns the n-th power of a divisor, handling negative exponents via negation and multdivisor.
proxymultformaldivisor procedure
divisors.lib
Return the formal divisor obtained by multiplying all summand coefficients of A by n.
prune topic
reference.doc / prune
Describes the Singular command prune, which returns a module minimally embedded in a free module such that the corresponding factor modules are isomorphic.
prune_map topic
reference.doc / prune_map
Returns a minimally embedded module in a free module such that the corresponding factor modules are isomorphic, together with the associated map as a matrix.
pruneModule procedure
modules.lib
Simplifies (prunes) the presentation of a module.
prwalk procedure
rwalk.lib
Compute a standard basis of an ideal via the Random Perturbation Walk algorithm between specified orderings.
Pseudo ordering L topic
pdata.doc / Pseudo ordering L
Describes the pseudo ordering L, which sets a maximal allowed exponent for polynomials in a ring. Notes the default value and how it is stored and propagated via ring attributes and ring lists.
psigncnd procedure
signcond.lib
Formats the output list from signcnd(P, ...) into a human-readable string describing counts per sign condition.
pspol procedure
redcgs.lib
Compute the S-polynomial of f and g using gcd of leading monomials and simplified leading coefficients.
PtoCrep procedure
grobcov.lib
Convert a canonical P-representation of a locally closed set into its canonical C-representation [P,Q].
puiseux procedure
puiseuxexpansions.lib
Compute Puiseux expansions of a bivariate polynomial up to a given degree, optionally restricting to branches through the origin.
Puiseux type
puiseuxexpansions.lib
Data type for Puiseux elements.
puiseux2generators procedure
hnoether.lib
Compute generators (as an intvec) of the semigroup of values from Puiseux pair components m and n.
puiseuxExpansion procedure
tropical.lib
Compute Newton–Puiseux expansions (up to order n) of branches at the origin of a plane curve f, optionally returning a substitution string.
puiseuxexpansions.lib library
5 commands
This library implements the Newton–Puiseux algorithm to compute Puiseux expansions. It provides procedures to work with Puiseux expansions in \(K[X][Y]\), where \(K\) is the field \(\mathbb{Q}\) of rational numbers or an algebraic extension of \(\mathbb{Q}\).
puiseuxList procedure
puiseuxexpansions.lib
Compute and return a list of Puiseux expansions of PP at X=0 up to maxDeg (or singular part if maxDeg=-1).
purelist procedure
purityfiltration.lib
Check each element of a list of module presentations for purity, returning a list of 0/1 flags.
purityFiltration procedure
purityfiltration.lib
Compute the purity filtration of the module M = D^q / D^p(S^t) (i.e., coker(S)).
purityfiltration_lib topic
plulibs.doc / purityfiltration_lib
Purity is a notion with several meanings. In this library, purity refers to equidimensionality of a module (that is, a module is pure if every nonzero submodule has the same dimension as the module).
purityfiltration.lib library
16 commands
Purity is a notion with several meanings. In this library, purity refers to equidimensionality of a module (that is, a module is pure if every nonzero submodule has the same dimension as the module).
purityTriang procedure
purityfiltration.lib
Compute a triangular block matrix T such that coker(R) is isomorphic to coker(T).
pushForward procedure
multigrading.lib
Compute the finest grading on the image ring that makes a given map f homogeneous (a graded ring map).
pwalk procedure
grwalk.lib
Compute a standard basis via the perturbation walk algorithm between weighted orderings (a(v),lp) and (a(w),lp).
pyobject kernel type
kernel
The pyobject is a black box data type in Singular for handling objects from the programming language python. It needs the python support of Singular to be installed.
pyobject topic
pyobject.doc / pyobject
Describes the pyobject black box data type in Singular for handling Python objects, including basic usage, operations, and related functions.
pyobject topic
types.doc / pyobject
The pyobject type provides access to Python objects and functionality from within Singular. It requires Singular to be built with Python support.
pyobject declarations topic
pyobject.doc / pyobject declarations
Declares a pyobject and optionally initializes it with a Python object expression. The default value is None.
pyobject declarations topic
types.doc / pyobject declarations
Declares and initializes Python objects in Singular. Includes syntax, default value, and an example.
pyobject expressions topic
pyobject.doc / pyobject expressions
Describes the forms of pyobject expressions, including identifiers, functions, operations, and conversions from list, string, and int expressions.
pyobject expressions topic
types.doc / pyobject expressions
Defines valid forms of pyobject expressions in Singular and illustrates their use with a short example.
pyobject operations topic
pyobject.doc / pyobject operations
Lists supported operations for pyobject values, including arithmetic, comparison, indexing, calls, and attribute access, with examples.
pyobject operations topic
types.doc / pyobject operations
Lists the supported operations on pyobject values in Singular and demonstrates their use with a short example.
pyobject related functions topic
pyobject.doc / pyobject related functions
Documentation for functions related to pyobject, including attribute access and interaction with Python code from Singular.
pyobject related functions topic
types.doc / pyobject related functions
Overview of functions for working with Python objects in Singular, including attribute handling and executing or importing Python code.
pyobject2bideal procedure
polybori.lib
Wraps a Python object (list) into a bideal by assigning it to bid.pylist and returning the bideal.
pyobject2bpoly procedure
polybori.lib
Wrap a Python Boolean polynomial object into a Singular bpoly.
pyramid procedure
finitediff.lib
Return a predefined finite-difference pyramid approximation (as a vector) for two derivatives with respect to a given variable.
python_eval kernel type
kernel
Syntax: python_eval ( string_expression ) - Type: pyobject - Purpose: Evaluates a python expression (given as a string) and returns the result as pyobject. - Example: singular LIB("pyobject.so"); python_eval("17 + 4"); typeof(_); list ll = python_eval("range(10)");
python_eval topic
pyobject.doc / python_eval
Documents the python_eval function, which evaluates a Python expression given as a string and returns the result as a pyobject.
python_eval topic
types.doc / python_eval
Evaluates a Python expression given as a string and returns the result as a pyobject.
python_import kernel type
kernel
Syntax: python_import ( string_expression ) - Type: pyobject - Purpose: Imports python module (given as a string) in the Singular context. - Example: singular LIB("pyobject.so"); python_import("os"); name; // e. g. 'posix' sep; // pathname separator linesep; // end of line marker
python_import topic
pyobject.doc / python_import
Documents the python_import command, which imports a Python module into the Singular context.
python_import topic
types.doc / python_import
Imports a Python module (specified as a string) into the Singular context. Returns a Python object.
python_run kernel type
kernel
Syntax: python_run ( string_expression ) - Type: none - Purpose: Executes python commands (given as a string) in python context and syncs the contexts afterwards. - Example: singular LIB("pyobject.so"); python_run("def newfunc(args): return list(args)"); newfunc(1, 2, 3); // newfunc also kno
python_run topic
pyobject.doc / python_run
Documents the python_run command, which executes Python commands from a string in the python context and synchronizes contexts afterward.
python_run topic
types.doc / python_run
Runs Python commands provided as a string in the Python context and synchronizes the contexts afterward.

Q

EntryDescription
qbase procedure
rootsmr.lib
Return the monomial basis of basering/I, sorted according to the basering monomial order.
qepcad procedure
finitediff.lib
Compute constraints equivalent to f<1 for a basering polynomial using QEPCAD, returning them as a list.
qepcadsystem procedure
finitediff.lib
Return QEPCAD-computed constraints equivalent to all eigenvalues of matrices in a given list being < 1.
qhmatrix procedure
spcurve.lib
Test whether a k x (k+1) matrix is quasihomogeneous and return variable and entry weight data (or zeros).
qhmoduli.lib library
11 commands
Moduli spaces of semi-quasihomogeneous singularities.
qhspectrum procedure
sing.lib
Compute spectral numbers of a weighted homogeneous isolated singularity f with respect to weights w (in characteristic 0).
qhweight topic
reference.doc / qhweight
Computes the weight vector of the variables for a quasihomogeneous ideal. Returns an intvec of zeros if the input is not weighted homogeneous.
qmatrix_lib topic
plulibs.doc / qmatrix_lib
## Quantum matrices, quantum minors, and symmetric groups
qmatrix.lib library
5 commands
## Quantum matrices, quantum minors, and symmetric groups
qminor procedure
qmatrix.lib
Compute the quantum minor determined by row indices I and column indices J in a generic nr×nr quantum matrix.
QPoly kernel type
kernel
qrds topic
reference.doc / qrds
Computes all eigenvalues (with multiplicities) of a real matrix over the complex ground field using the numeric QR double-shift algorithm. Returns either two lists (eigenvalues and multiplicities) or 0 if the algorithm fails.
qring kernel type
kernel
Singular offers the opportunity to calculate in quotient rings (factor rings), i.e., rings modulo an ideal. The ideal has to be given as a standard basis. For a detailed description of the concept of rings and quotient rings see Rings and orderings. Beside the construction, an ob
qring topic
types.doc / qring
Describes computations in quotient (factor) rings in Singular. Notes that the defining ideal must be given as a standard basis and provides a reference for more details.
qring BR_PLURAL_BR topic
plural.doc / qring BR_PLURAL_BR
Describes how Plural supports computations in factor rings modulo two-sided ideals, and points to related commands and concepts. Includes a note on recommended options for working in qrings.
qring declaration topic
types.doc / qring declaration
Declares a quotient ring as the current basering modulo an ideal expression. Explains how operations behave on residue classes versus polynomial objects, with an example.
qring declaration BR_PLURAL_BR topic
plural.doc / qring declaration BR_PLURAL_BR
Declares a quotient ring as the basering modulo an ideal expression and sets it as the current basering. Reports an error if the ideal is not a two-sided Gröbner basis.
qring related functions BR_PLURAL_BR topic
plural.doc / qring related functions BR_PLURAL_BR
Lists functions related to qring, with brief descriptions and references to their documentation nodes.
qslimgb procedure
standard.lib
Compute a standard basis via slimgb, handling quotient rings by adding the quotient ideal to the input.
Qso3Casimir procedure
ncalg.lib
Compute Casimir (central) elements of U_q(so_3) at the n-th root of unity, optionally normalized.
quadraticSieve procedure
crypto.lib
Attempts to factor n via a quadratic sieve over [-c,c] using the first k primes from B; returns factors or reports no divisor found.
quantMat procedure
qmatrix.lib
Generate the quantum matrix ring of order n, optionally specializing q at a p-th root of unity.
quickclass procedure
classify.lib
Try to classify a polynomial singularity and return its Arnold normal form (or classification info) using Milnor invariants without coordinate change.
quit topic
reference.doc / quit
Exits Singular using the commands quit or the synonymous exit. Works from inside a procedure or from an interrupt.
quot procedure
standard.lib
Computes the quotient of two ideals or modules; optional method selector n (1..5) for same-type inputs.
quote topic
reference.doc / quote
Prevents evaluation of expressions, mainly for use with write to ssi links. A quoted expression can be evaluated later using eval.
Quotient procedure
zeroset.lib
Computes quotient q and remainder r of polynomials f and g such that f = gq + r with deg(r) < deg(g).
quotient topic
reference.doc / quotient
Describes the quotient command for computing ideal and module quotients in the current basering, including syntax, types, definitions, and an example.
quotient BR_PLURAL_BR topic
plural.doc / quotient BR_PLURAL_BR
Describes the command quotient for computing ideal and module quotients in a non-commutative setting, including usage notes and examples.
quotient1 procedure
standard.lib
Compute the (module) quotient of two submodules m1 and m2 of k^s.
quotient2 procedure
standard.lib
Compute the quotient ideal of two submodules m1 and m2 of k^s.
quotient3 procedure
standard.lib
Compute the quotient ideal of two submodules m1 and m2 of k^s (global rings only).
quotient4 procedure
standard.lib
Compute the quotient of two submodules m1 and m2 of k^s (global rings only).
quotient5 procedure
standard.lib
Compute the quotient (module quotient via homogenization) of two submodules of k^s in a global ring.
QuotientEquations procedure
qhmoduli.lib
Computes an invariant-theoretic quotient for a parametrized variety under a linear group action, returning a ring with exported ideals id and embedid.
quotientLatticeBasis procedure
gfan.lib
Compute a basis of (Z^n ∩ span(c)) modulo (Z^n ∩ lineality(c)).
quotientList procedure
standard.lib
Given a qring ringlist, ensure its quotient ideal RL[4] is a standard basis for the ordering in RL[3], optionally leaving it unchanged.
quotientMain procedure
zeroset.lib
Compute quotient and remainder of f divided by g over Q(a)[x], returning [q,r] with f=gq+r.
quotientMon procedure
monomialideal.lib
Compute the ideal quotient I:J for monomial ideals, returning a minimal monomial generating set (errors/returns -1 if not monomial).
quotMinMod procedure
mprimdec.lib
Minimizes a modulus factor list for a quotient module and returns (quotient module, reduced factors, updated modulus).
quotSheaf procedure
schubert.lib
Return the quotient of two sheaves.
quotV procedure
mondromy.lib
Compute a reduced generating set for the quotient of a free module (dimension pcvdim(0,N)) by the submodule generated by V.

R

EntryDescription
rad_con procedure
polylib.lib
Check whether a polynomial lies in the radical of an ideal.
radEHV procedure
ehv.lib
Compute the radical of an ideal using the Eisenbud–Huneke–Vasconcelos algorithm (char 0 or sufficiently large p).
radical procedure
primdec.lib
Compute the radical of an ideal (optionally equiradical), with selectable algorithm and optional facstd preprocessing.
radicalEHV procedure
primdec.lib
Computes the radical of an ideal via the Eisenbud–Huneke–Vasconcelos method.
radicalMemberShip procedure
tropical.lib
Test whether a polynomial lies in the radical of an ideal; returns 1 if yes, 0 otherwise.
radicalMon procedure
monomialideal.lib
Compute the radical of a monomial ideal and return it with a minimal monomial generating set.
radicalZ procedure
primdecint.lib
Compute the radical of an ideal with integer (ZZ) coefficients.
randcharpoly procedure
rootsmr.lib
Compute the characteristic polynomial of a pseudorandom rational univariate projection with one zero per zero of I.
randlinpoly procedure
rootsmr.lib
Generate a random linear polynomial in the ring variables with pseudorandom integer coefficients.
random topic
reference.doc / random
Describes the random function, which returns random integers or random integer matrices, and explains how to set and query the random generator seed.
random.lib library
12 commands
This library provides procedures to create random and sparse polynomials, ideals, and (integer or polynomial) matrices.
randomBinomial procedure
random.lib
Create a random binomial ideal with k homogeneous generators of degrees between u and o and bounded random coefficients.
randomCheck procedure
decodegb.lib
Generate an m×n random check matrix over GF(p^e) (in systematic form [rand | I_m]).
randomid procedure
random.lib
Return an ideal/module with k generators as random linear combinations of the generators of id with coefficients in [-b,b].
randomLast procedure
random.lib
Return maxideal(1) with its last generator replaced by a random linear combination of all variables (bounded by b, last var coeff = 1).
randommat procedure
random.lib
Create an n×m matrix with entries random linear combinations of generators of an ideal, with integer coefficients bounded by b.
randomPoint procedure
gfan.lib
Return a random point in the relative interior of a cone as a weighted sum of its rays.
randomPolyInT procedure
tropical.lib
Create a random degree-d polynomial whose coefficients are powers of the parameter t (optionally allowing zero coefficients).
RandomPolyK procedure
classify.lib
Constructs and returns a randomized polynomial derived from a chosen singularity series of type Typ.
rank topic
reference.doc / rank
Returns the rank of a matrix whose entries lie in the ground field. Two variants are available, using LU decomposition or row-echelon form.
rankSheaf procedure
schubert.lib
Compute the (positive integer) rank of a sheaf.
ratFunc type
scheme.lib
A (ring-independent) rational function, used to define maps between charts and schemes.
ratFuncCompratFunc procedure
scheme.lib
Compose a ratFunc by substituting its variables with given ratFuncs, returning F(r1,...,rn).
ratgb_lib topic
plulibs.doc / ratgb_lib
Theory: Let A be an operator algebra with @code{R = K[x1,\u2026,xN]} as a subring. The operators are usually denoted by @code{d1,\u2026,dM}.
ratgb.lib library
1 commands
Theory: Let A be an operator algebra with @code{R = K[x1,\u2026,xN]} as a subring. The operators are usually denoted by @code{d1,\u2026,dM}.
rationalCurve procedure
schubert.lib
Compute the Gromov–Witten invariant counting rational curves on a general Calabi–Yau threefold.
rationalPointConic procedure
paraplanecurves.lib
Finds a point on an irreducible conic, possibly extending the basering to a quadratic field, and returns the (new) ring.
ratrep procedure
hyperel.lib
Compute the rational representation div(a,b) of a semireduced divisor on the hyperelliptic curve y^2+h(x)y=f(x).
ratrep1 procedure
hyperel.lib
Compute the rational representation (a,b) of a semireduced divisor on the hyperelliptic curve y^2+h(x)y=f(x).
ratSol procedure
dmodloc.lib
Compute a basis of rational solutions of a holonomic Weyl algebra ideal, returned as a 2-row module (numerators/denominators).
ratstd procedure
ratgb.lib
Compute a Groebner basis of an ideal/module in the Ore localization w.r.t. the subalgebra generated by the first n variables; returns a commutative presentation ring.
rays procedure
gfan.lib
Return a bigintmat of ray generators of a cone, orthogonal to its lineality space.
rcgs procedure
redcgs.lib
Compute the Reduced CGS of an ideal, optionally restricting parameter space by given null/non-null conditions.
rcolon procedure
ncHilb.lib
Compute the right colon (via Singular system("rcolon")) of a two-sided monomial ideal by a monomial word, using a degree bound.
re2squ procedure
numerDecom.lib
Reduce an ideal to a square polynomial system (same number of polynomials as unknowns).
read topic
reference.doc / read
Documents the Singular command read, which reads data from a link (ASCII, ssi, ssi:string, or DBM). Includes syntax, behavior by link type, and an example.
read_sing_dbm procedure
makedbm.lib
Reads and prints predefined entries from the DBM link "DBM: NFlist" using read().
read_singularity_db procedure
SingularityDBM.lib
Reads the singularity database (DBM-backed) into a Singular object.
readDataFromSSI procedure
ssi.lib
Reads all expressions from an SSI file and returns them as a list.
readFromString procedure
ssi.lib
Reads/parses data from a string via ssi-r and returns the resulting expression list.
readInputTXT procedure
pfd.lib
Read a matrix of rational functions from .txt file(s) and convert to a list-of-lists of numerator/denominator polynomials, optionally saving to .ssi.
readNmzData procedure
normaliz.lib
Read a Normaliz output file (based on current filename and suffix) and return the first contained integer matrix as an intmat.
readSSI procedure
ssi.lib
Reads and returns the next expression from an SSI file via the given link.
real_solve procedure
surfex.lib
Compute all real solutions of a zero-dimensional ideal, returned as strings (grouped per solution).
real2ratstr procedure
surfex.lib
Convert a decimal number into a string encoding a rational approximation (with denominator 10^16).
realclassify procedure
realclassify.lib
Classify a real isolated hypersurface singularity of modality 0 or 1 up to stable equivalence and return its normal form data.
realclassify.lib library
9 commands
A library for classifying isolated hypersurface singularities over the reals with respect to right equivalence, based on the determinator of singularities by V. I. Arnold.
realizationDim procedure
realizationMatroids.lib
Return the dimension of the relative realization space of a tropical fan curve C in a projective plane Y=V(I); returns -1 if empty.
realizationDimPoly procedure
realizationMatroids.lib
Returns (dim, f) for the relative realization space of a tropical fan curve in trop(V(I)), or -1 if empty.
realizationMatroids.lib library
3 commands
In tropical geometry, one may ask the following: given a one-dimensional balanced polyhedral fan \(C\) that is set-theoretically contained in the tropicalization \(\operatorname{trop}(Y)\) of an algebraic variety \(Y\), does there exist a curve \(X\subseteq Y\
realLLL procedure
recover.lib
Compute an LLL-reduced lattice basis from the column vectors of a real/complex matrix.
realmorsesplit procedure
realclassify.lib
Real splitting lemma (Morse splitting): returns corank, inertia index, determinacy bound, and residual form of a polynomial.
realpoly procedure
realrad.lib
Computes the real part (product of real factors) of a polynomial f.
realrad procedure
realrad.lib
Compute the real radical of an ideal (works for ideals of arbitrary dimension).
realrad.lib library
4 commands
Algorithms for computing the real radical of an ideal over the rational numbers and over transcendental extensions of the rational numbers.
realzero procedure
realrad.lib
Compute the real radical of a zero-dimensional ideal; returns the resulting ideal or 0 if not applicable.
recbuildtree procedure
redcgs.lib
Builds/updates a CGS recursion tree node from a vertex record and an (optional) pending list P, invoking discusspolys/discussSpolys.
recover.lib library
17 commands
This library contains implementations of several algorithms from the paper listed below.
recursive_boolean_poly procedure
polybori.lib
Convert a polynomial into the recursive Boolean polynomial representation in a given (or default) Boolean ring.
recursive_from_boolean_poly procedure
polybori.lib
Recursively convert a PolyBoRi boolean polynomial to a Singular polynomial.
redcgs.lib library
83 commands
## Reduced Comprehensive Gröbner Systems
redgb procedure
redcgs.lib
Reduces each generator of F by the others and returns the resulting ideal (using pnormalform with N and W).
redleit procedure
hnoether.lib
Return the part of f consisting of monomials on or below the Newton-diagram line through points S and E.
redspec procedure
redcgs.lib
Compute a red-specification: returns (N1,W1,L1) for a segment defined by null conditions N and non-null conditions W.
redtocanspec procedure
redcgs.lib
Convert a reduced CGB specification rs into a canonicalized spec list with labeled nodes and associated ideals.
reduce topic
reference.doc / reduce
Describes the Singular command reduce, which computes normal forms of polynomials, vectors, ideals, or modules with respect to a standard basis and supports several optional behavior-modifying arguments.
reduce BR_LETTERPLACE_BR topic
letterplace.doc / reduce BR_LETTERPLACE_BR
Describes how to reduce polynomials, vectors, or ideals to their two-sided normal form with respect to a two-sided Gröbner basis. Includes options, notes, and an example.
reduce BR_PLURAL_BR topic
plural.doc / reduce BR_PLURAL_BR
Describes the reduce command for computing the left normal form of a polynomial, vector, ideal, or module with respect to a left Gröbner basis. Includes syntax variants, notes, and an example.
reduceconds procedure
redcgs.lib
Reduce and clean condition ideals in a tree/list structure using ideals N and W, possibly deleting vertices and relabeling.
ReducedScheme procedure
scheme.lib
Compute the associated reduced scheme of a given scheme.
reduceIntChain procedure
modules.lib
Reduce a chain of interpretations to a minimal chain or to at most a given number of steps.
reduceR procedure
redcgs.lib
Reduce a polynomial by an ideal across rings by mapping to @P, calling reduce, then mapping the result back.
reduction procedure
ainvar.lib
SAGBI-like reduction of p w.r.t. subalgebra generators dom, optionally dividing out maximal power of monomial q and/or using algorithm n.
ReesAlgebra procedure
reesclos.lib
Compute the Rees algebra R[It] of an ideal I, returning rings for a presentation RR/ker and the target ring with t.
reesclos.lib library
4 commands
A library to compute the integral closure of an ideal \(I\) in a polynomial ring \(R = k[x(1),\ldots,x(n)]\) using the Rees algebra \(R[It]\) of \(I\).
reference and shared (experimental) kernel type
kernel
reference and shared (experimental) topic
types.doc / countedref
Describes the experimental black-box types reference and shared in Singular for concurrent access and shared handling of object data. Includes activation instructions and usage examples.
reference and shared operations topic
types.doc / reference and shared operations
Describes how operations are forwarded by reference and shared objects, when automatic dereferencing occurs, and when explicit dereferencing is required.
reference and shared related functions topic
types.doc / reference and shared related functions
Reference and shared objects provide related functions for casting, dereferencing, and extended system support. Includes examples for def, link, and system.
reference declarations topic
types.doc / reference declarations
Describes the syntax and usage of reference declarations in Singular, including an example demonstrating assignment and type restrictions.
reference expressions topic
types.doc / reference expressions
Defines reference expressions and illustrates their behavior with a Singular example. Reference objects remain tied to the original identifier.
referencepoly procedure
hnoether.lib
Constructs a polynomial whose Newton diagram consists of the given list of lattice points.
References topic
math.doc / References
Bibliographic references related to Singular, including preprints, online sources, textbooks on computational algebraic geometry, and descriptions of algorithms.
References and history of Letterplace topic
letterplace.doc / References and history of Letterplace
Overview of the development stages of LETTERPLACE and a bibliography of related publications. Includes key contributors, milestones, and reference links.
References BR_PLURAL_BR topic
plural.doc / References BR_PLURAL_BR
Bibliographic references relevant to Plural, including textbooks and publications on algorithms and problems in non-commutative algebra.
References for decoding with Groebner bases topic
math.doc / References for decoding with Groebner bases
Bibliographic references on decoding with Gröbner bases, including cyclic codes and related techniques. Entries include authors, titles, and publication details.
regCM procedure
noether.lib
Compute the Castelnuovo–Mumford regularity of a (homogeneous) ideal; returns -1 if the ideal is not homogeneous.
regIdeal procedure
mregular.lib
Compute the Castelnuovo–Mumford regularity of a homogeneous ideal (returns -1 if not homogeneous).
regionComplex procedure
tateProdCplxNegGrad.lib
Compute the region complex T_d(I,J,K) of a multigraded complex with respect to disjoint index sets I,J,K and a vector d.
regMonCurve procedure
mregular.lib
Compute the Castelnuovo–Mumford regularity of the projective monomial curve defined by a strictly increasing integer sequence.
regularBasis procedure
arnold.lib
Compute a regular basis of F.value w.r.t. the piecewise weight from its Newton polygon; optionally restrict to on/above the polygon.
regularity topic
reference.doc / regularity
Computes the Castelnuovo–Mumford regularity of a homogeneous ideal (or module) from a minimal resolution given as input. For non-minimal resolutions, it returns only an upper bound.
reiffen procedure
dmod.lib
Create a ring containing the polynomial RC = x^p + y^q + xy^(q-1) defining a Reiffen curve.
ReJunkUseHomo procedure
numerDecom.lib
Tests whether point w lies on an i-dimensional component of V(I) (i=size(L)); exports t=1 or 0 in the returned ring.
rel_orbit_variety procedure
finvar.lib
Compute rings (with Groebner bases) defining the relative orbit variety for an invariant ideal and invariant ring generators.
relabelingindices procedure
redcgs.lib
Recursively relabels indices in the global tree/list @L, replacing a node label and propagating updated labels to its children.
relations_apply procedure
sagbi.lib
Compute relations from lead(s) and apply them via a map induced by the ideal a.
relative_orbit_variety procedure
finvar.lib
Creates a new ring and computes an ideal G defining the relative orbit variety of I using invariant generators F (1×m).
relativeInteriorPoint procedure
gfan.lib
Return a bigintmat representing a point in the relative interior of a cone.
Release Notes BR_LETTERPLACE_BR topic
letterplace.doc / Release Notes BR_LETTERPLACE_BR
Release notes for the SINGULAR:LETTERPLACE subsystem, listing new functions, libraries, and kernel/build-system changes across versions.
Relevant References topic
math.doc / Relevant References
Bibliographic references relevant to the described algorithms and topics, including Hilbert–Poincaré series, toric ideals, Gröbner bases, and integer programming.
relweight procedure
spcurve.lib
Compute max over nonzero entries of (a-weighted order of N_ij minus W_ij); errors on size/weight mismatches.
remainder procedure
zeroset.lib
Compute the remainder r of dividing polynomial f by g (f = gq + r, deg(r) < deg(g)).
remainderMain procedure
zeroset.lib
Compute remainder r of dividing f by g in Q(a)[x] (deg(r)<deg(g)); outdated, prefer mod/reduce.
remove_from_list procedure
normal.lib
Remove all occurrences of a given string from a list (only string-typed entries are compared).
removeComponent procedure
ehv.lib
Return the intersection of the primary components of an ideal having dimension >= e.
removeCone procedure
gfan.lib
Remove a cone from a fan (optionally skipping the containment check).
removepower procedure
arcpoint.lib
Replace any pure-variable power generator in an ideal by the corresponding variable, preserving the same zero set.
removeRedundantComponents procedure
ehv.lib
Remove redundant components from a primary decomposition result list by deleting entries whose first ideal contains another.
repart topic
reference.doc / repart
Returns the real part of a number over a complex ground field; otherwise returns the argument.
replace procedure
findifs.lib
Replace all occurrences of substring 'what' in string 's' by substring 'with'.
replaceInStr procedure
resgraph.lib
Replace all occurrences of a substring in a string with another substring.
Representation of mathematical objects topic
pdata.doc / Representation of mathematical objects
Explains how Singular represents ring-dependent objects such as polynomials, ideals, matrices, vectors, and modules. Clarifies internal storage, rank conventions, and the interpretation of modules as submodules or quotients.
Res procedure
modules.lib
Compute a (graded) free resolution of a module or ideal, optionally truncated to n steps.
res procedure
standard.lib
Compute a (possibly minimal) free resolution of an ideal or module using a heuristically chosen method.
res topic
reference.doc / res
Reference entry for the Singular command res.
resbinomial.lib library
35 commands
## Combinatorial algorithm of resolution of singularities
reservedName topic
reference.doc / reservedName
Documents the reservedName command, which lists reserved identifiers or tests whether a given string is reserved.
resetNmzOptions procedure
normaliz.lib
Resets Normaliz options to their default values.
resfunction procedure
resbinomial.lib
Patches an incomplete resolution function using auxiliary invariants, producing the complete resolution function.
resgraph.lib library
9 commands
## Visualization of Resolution Data
resjung.lib library
3 commands
This library provides procedures for resolving surface singularities using Jung's method. It can transform an ideal into a form where its singularities are of Hirzebruch–Jung type or quasi-ordinary, and it can compute a (not strong) resolution of the surface d
reslist procedure
resbinomial.lib
Return a list formed by element-wise subtraction L1[i]-L2[i] (requires equal list sizes).
resolution kernel type
kernel
free resolution
Resolution topic
start.doc / Resolution
Singular provides several commands to compute free resolutions. This section demonstrates res and minres, including protocol output and how to inspect modules and Betti numbers.
resolution topic
types.doc / resolution
Describes the resolution type as an intermediate representation for computations of resolutions and related invariants. Explains how to access its elements and lists related sections.
Resolution tutorial
tutor.tex / Resolution
Explains how to compute free resolutions in Singular using res and how to inspect, print, and minimize them with prot, noprot, and minres. Includes an example and interpretation of a syzygy module output.
Resolution type
modules.lib
Class of graded resolutions.
resolution type
standard.lib
A free resolution (as returned by res).
resolution BR_PLURAL_BR topic
plural.doc / resolution BR_PLURAL_BR
Describes the Singular type resolution as an intermediate representation for computations of resolutions. Notes how to access its elements and links to related sections.
resolution declarations topic
types.doc / resolution declarations
Declares a resolution variable and assigns it from a resolution expression. Includes syntax, defaults, and an example.
resolution declarations BR_PLURAL_BR topic
plural.doc / resolution declarations BR_PLURAL_BR
Declares and defines a resolution in Singular. Includes syntax, defaults, and an example using a Heisenberg algebra.
resolution expressions topic
types.doc / resolution expressions
Defines what constitutes a resolution expression in Singular and points to related documentation on type conversion and casting.
resolution expressions BR_PLURAL_BR topic
plural.doc / resolution expressions BR_PLURAL_BR
Defines what constitutes a resolution expression in Singular. Lists the permitted forms of such expressions.
Resolution of singularities topic
examples.doc / Resolution of singularities
Introduces Singular’s resolution of singularities libraries and illustrates basic functionality by resolving an A_6 surface singularity and computing intersection data for exceptional curves.
Resolution of singularities tutorial
tutor.tex / Resolution of singularities
Introduces Singular’s resolution of singularities libraries and illustrates their use by computing the intersection matrix and genera of exceptional curves for an A_6 surface singularity.
resolution related functions topic
types.doc / resolution related functions
Overview of functions related to resolutions, including Betti numbers and (minimal) free resolutions for ideals and modules.
resolution related functions BR_PLURAL_BR topic
plural.doc / resolution related functions BR_PLURAL_BR
Lists functions related to resolutions, with brief descriptions and references to their documentation nodes.
resolutiongraph procedure
alexpoly.lib
Compute the incidence/weight matrix (intmat) of the resolution graph of a plane curve singularity given by INPUT.
resolutionInLocalization procedure
graal.lib
Compute a marked free resolution of the localization IA_L of an ideal at a prime ideal L.
resolve procedure
resolve.lib
Compute a resolution of an ideal and return a list containing the final basic object ring(s) and all intermediate rings.
resolve.lib library
16 commands
## Resolution of singularities (Desingularization)
resources.lib library
4 commands
The purpose of this library is to manage the computational resources of a Singular session. The library tasks.lib, and any library built upon tasks.lib, respects these settings; i.e., they will not use more computational resources than provided via resources.l
ResTree procedure
resgraph.lib
Generate a Graphviz/Imagemagick visualization (tree of charts) for a resolution output list, optionally writing to a given filename and marking nodes.
restrictionIdeal procedure
dmodapp.lib
Compute the restriction ideal of a holonomic Weyl-algebra ideal with respect to a weight vector w.
restrictionModule procedure
dmodapp.lib
Compute the restriction module of a holonomic Weyl ideal I with respect to a weight vector w; returns a Weyl ring containing module resMod.
resultant topic
reference.doc / resultant
Computes the resultant of two polynomials with respect to a specified variable. Returns a polynomial.
reszeta.lib library
13 commands
### reszeta.lib
return topic
reference.doc / return
Describes the return statement, which returns the result(s) of a procedure and may only be used inside a procedure. Notes that parentheses are required even when no value is returned.
Return type of procedures topic
tricks.doc / Return type of procedures
Singular procedures do not require an explicit return type, so the returned type may depend on input. In such cases (and when using keepring with ring-dependent values), the result must be assigned to def.
reversal procedure
decomp.lib
Compute the reversal x^k f(1/x) of a univariate polynomial (with default k=deg(f)).
reverse procedure
rootsur.lib
Return the input list with elements in reversed order.
reynolds_molien procedure
finvar.lib
Compute Reynolds operator for a finite matrix group and (depending on characteristic/flags) the Molien series.
ReynoldsImage procedure
rinvar.lib
Compute the Reynolds image of a polynomial by averaging its images under the maps in reynoldsOp.
ReynoldsOperator procedure
rinvar.lib
Construct a ring encoding the Reynolds operator for a finite group ideal and its linear action, exporting ROelements, id, actionid and newA.
rho procedure
crypto.lib
Computes the discrete logarithm x with b^x ≡ y (mod p) using Pollard's rho method.
rHRR procedure
chern.lib
Computes the top-degree term (main ingredient) of the right-hand side of the Hirzebruch–Riemann–Roch formula from ch and td.
RiemannRochBN procedure
brillnoether.lib
Compute a vector space basis of the Riemann–Roch space L(D) for a divisor D on a projective curve C.
RiemannRochHess procedure
hess.lib
Computes a vector space basis of the Riemann–Roch space of a divisor.
Right Groebner bases and syzygies topic
examples.doc / Right Groebner bases and syzygies
Demonstrates how to compute right Gröbner bases and right syzygies in Singular:Plural by transferring computations to the opposite algebra and back.
Right Groebner bases and syzygies tutorial
tutor.tex / Right Groebner bases and syzygies
Explains how to perform right-sided Gröbner basis and syzygy computations in Singular:Plural by using left-sided functionality together with opposite algebras.
RightEquivalenceChainWithPrecision type
arnold.lib
A type representing a sequence of (right) coordinate transformations (and, in some cases, their inverses), together with precision data.
rightInverse procedure
control.lib
Compute a right inverse L of a module M such that matrix(M)matrix(L) = Id (exists only if M is a free submodule).
rightKernel procedure
control.lib
Compute the right kernel of a matrix M as the module of all vectors v with Mv = 0.
rightModulo procedure
nctools.lib
Compute a right representation of the quotient module (M+N)/N for right modules given by presentation matrices.
rightNF procedure
nctools.lib
Compute a right normal form of a poly/vector v with respect to an ideal/module M.
rightNFWeyl procedure
dmodloc.lib
Compute the right normal form of a poly/ideal modulo the principal right ideal generated by var(k) in a Weyl algebra.
rightOre procedure
olga.lib
Compute right Ore data for a tuple (s,r) with respect to a localization specified by locType and locData.
rightStd procedure
nctools.lib
Compute a right Groebner basis of an ideal or module (returns the same type as the input).
rightstd BR_LETTERPLACE_BR topic
letterplace.doc / rightstd BR_LETTERPLACE_BR
Computes a right Gröbner basis of the generators of an ideal or module. Works also in factor rings.
rightSyz procedure
nctools.lib
Compute a right syzygy module of an ideal/module (returns the same type as the input).
ring kernel type
kernel
polynomial ring
ring procedure
normaliz.lib
Creates/returns a ring object (details not provided in available documentation).
ring topic
types.doc / ring
Rings describe the properties of polynomials, ideals, etc. Most computations in Singular require a basering.
ring type
standard.lib
A polynomial ring (as returned by create_ring).
ring BR_PLURAL_BR topic
plural.doc / ring BR_PLURAL_BR
Rings describe properties of polynomials and ideals. Most computations in Plural require a basering; this section points to detailed descriptions and related subsections.
ring declarations topic
types.doc / ring declarations
Describes the syntax and options for declaring rings in Singular, including coefficient domains, variables, and term orderings.
ring declarations BR_PLURAL_BR topic
plural.doc / ring declarations BR_PLURAL_BR
Describes the syntax and options for declaring a ring and setting it as the current basering in Singular, including coefficient fields, variables, and block orderings.
ring operations topic
types.doc / ring operations
Documents available operations on rings in Singular, including ring construction and comparison. Includes guidelines for ground fields and a usage example.
ring operations BR_PLURAL_BR topic
plural.doc / ring operations BR_PLURAL_BR
Describes the + operation for constructing tensor products of two G-algebras and lists guidelines for compatible ground fields. Includes an example in Singular.
ring related functions topic
types.doc / ring related functions
List of functions related to rings, with brief descriptions and links to their reference entries.
ring related functions BR_PLURAL_BR topic
plural.doc / ring related functions BR_PLURAL_BR
Lists ring-related functions in Singular with brief descriptions and links to their reference entries.
ring_list topic
reference.doc / ring_list
Describes ring_list, which decomposes a ring/qring/coefficient ring into its component list representation and shows how to construct a new ring from such a list.
ring.lib library
32 commands
This library provides procedures to define, copy, extend, and inspect rings, and to move objects between rings via maps. It also includes helpers to query ring properties (coefficient domain, commutativity, and monomial ordering) and utilities such as tensor p
ring2bring procedure
polybori.lib
Create and return a PolyBoRi bring object whose pyring is initialized from the given ring.
ringgb.lib library
4 commands
This library provides functions related to coefficient rings, in particular vanishing polynomials and reduction modulo the ideal of vanishing polynomials.
ringlist topic
reference.doc / ringlist
Describes how to decompose a ring/qring into a list representation and how to construct a new ring from such a list. Includes details for various coefficient domains and an example.
ringlist BR_PLURAL_BR topic
plural.doc / ringlist BR_PLURAL_BR
Describes ringlist, which decomposes a ring/qring into its component data and can be used to reconstruct a modified ring via ring(list).
ringOf procedure
polyclass.lib
Return the parent ring of a Poly object.
Rings and orderings topic
general.doc / Rings and orderings
Describes the types of rings used in Singular, available coefficient domains, and the concept of the current active ring (basering). Explains what functionality is guaranteed over non-field coefficient rings.
Rings and standard bases topic
start.doc / Rings and standard bases
Introduces ring declarations in Singular and basic computations with polynomials, ideals, standard bases, and quotient vector space dimensions.
Rings and standard bases tutorial
tutor.tex / Rings and standard bases
Introduces ring declarations in Singular and shows basic computations with polynomials, ideals, standard bases, and quotient vector spaces.
Rings associated to monomial orderings topic
examples.doc / Rings associated to monomial orderings
Explains how monomial orderings in Singular determine which elements are treated as units, and how this corresponds to localizations of polynomial rings. Includes examples for global, local, and mixed orderings.
Rings associated to monomial orderings tutorial
tutor.tex / Rings associated to monomial orderings
Explains how monomial orderings in Singular determine which elements are treated as units, thereby implementing localizations of polynomial rings. Includes examples for global, local, and mixed orderings.
ringtensor procedure
ring.lib
Constructs the tensor product ring of multiple rings, combining variables and using block (product) monomial ordering.
ringweights procedure
ring.lib
Return an intvec of the variable weights of a given ring as they appear when typing the ring.
rinvar.lib library
16 commands
Implementation based on Derksen's algorithm. The library was written in the context of the diploma thesis (advisor: Prof. Gert-Martin Greuel) “Computations of moduli spaces of semiquasihomogenous singularities and an implementation in Singular”.
rJanet procedure
rstandard.lib
Compute a Janet basis for the given ideal (works for any monomial ordering).
rlift procedure
purityfiltration.lib
Compute a right lift matrix X such that N = MX (columns of N lie in the module generated by columns of M).
rm_unitcol procedure
matrix.lib
Delete unit columns (and associated rows) from a row-reduced matrix.
rm_unitrow procedure
matrix.lib
Delete unit rows (single 1, else 0) from a column-reduced matrix and remove the associated columns.
rMacaulay procedure
inout.lib
Convert Macaulay Classic text (ideal/matrix) into a Singular-readable string, optionally skipping an initial header.
rmNmzFiles procedure
normaliz.lib
Remove Normaliz-related files for the last filename set via setNmzFilename.
rmx procedure
latex.lib
Remove LaTeX auxiliary files (.aux, .log) for a given file name; may also delete the .tex or .dvi file.
rncAntiCanonicalMap procedure
paraplanecurves.lib
Compute the ideal defining the anticanonical map of a rational normal curve C ⟶ PP^(n-2).
rncItProjEven procedure
paraplanecurves.lib
Iteratively applies anticanonical maps to project a rational normal curve in even-dimensional PP^n to a conic in PP^2.
rncItProjOdd procedure
paraplanecurves.lib
Iterate anticanonical maps to compute an ideal defining an isomorphic projection of a rational normal curve (odd n) to PP^1.
rootIsolation procedure
rootisolation.lib
Isolate real roots of a zero-dimensional (assumed radical) ideal, returning boxes that may contain roots and boxes containing exactly one root.
rootisolation.lib library
12 commands
This library uses the interval arithmetic from interval.so. It introduces the new type ivmat, a matrix whose entries are intervals, implemented as newstruct. Various functions for computations with interval matrices are provided, such as Gaussian elimina
rootIsolationNoPreprocessing procedure
rootisolation.lib
Isolates roots of a zero-dimensional radical ideal inside given start box(es), returning candidate and unique root boxes.
rootIsolationPrimdec procedure
rootisolation.lib
Isolate real roots of a zero-dimensional radical ideal by first doing a GTZ primary decomposition, returning one box per solution.
rootminpoly procedure
surfex.lib
Return a (preferably real) root of the current nonzero minpoly as a complex-number string at a given precision.
rootofUnity procedure
ring.lib
Compute the minimal polynomial (as a number in the ring parameter) of the n-th primitive root of unity; requires one parameter variable.
roots procedure
zeroset.lib
Compute all distinct roots of a polynomial over QQ (or a simple QQ-extension) by returning a new ring containing the roots list and related data.
rootsMain procedure
zeroset.lib
Compute all distinct roots of a polynomial in a finite algebraic extension of QQ, possibly extending the ground field.
rootsmr.lib library
15 commands
Routines for counting the number of real roots of a multivariate polynomial system.
rootsur.lib library
17 commands
Routines to bound and count the number of real roots of a univariate polynomial, using several methods: Descartes' rule of signs, the Budan–Fourier theorem, Sturm sequences, and Sturm–Habicht sequences.
round procedure
crypto.lib
Round a rational or real number to the nearest integer.
rowred procedure
matrix.lib
Compute the (Gaussian) row-reduced form of a matrix, optionally returning the transformation matrix.
rstandard.lib library
4 commands
Computes Janet bases and border bases for ideals for any monomial ordering, using the idea of r-standard bases (as defined by V. Gerdt).
rswalk procedure
swalk.lib
Compute a SAGBI basis via the Sagbi walk (default dp→lp, or between two given weight vectors).
rsyz procedure
purityfiltration.lib
Compute a matrix X generating the right syzygy module of the row module of R, i.e. RX=0.
rtimer topic
reference.doc / rtimer
Documents rtimer, an integer that reports real (wall-clock) time. It is identical to timer except that it reports wall-clock time instead of CPU time.
Running SINGULAR under Emacs topic
general.doc / Running SINGULAR under Emacs
Describes how to start and use the Singular Emacs interface, either via ESingular or within an existing Emacs session. Includes options, Cygwin notes, and commands for starting, interrupting, and stopping Singular.
rvar topic
reference.doc / rvar
Returns the index of a ring variable if the given name/polynomial/string refers to a variable in the basering. Returns 0 otherwise and can be used as a boolean test for existence.
rwalk procedure
rwalk.lib
Compute a standard basis of an ideal using the Random Walk Groebner walk between specified orderings/weights.
rwalk.lib library
3 commands
This library provides Groebner walk conversion algorithms for computing a standard basis of an ideal using different randomized walk variants.

S

EntryDescription
sa_poly_reduce procedure
central.lib
Compute a reduction of a polynomial with respect to the subalgebra generated by the elements of an ideal (currently limited to G-algebras).
sa_reduce procedure
central.lib
Compute a subalgebra basis of the algebra generated by the elements of an ideal (currently limited to G-algebras).
sagbi procedure
sagbi.lib
Computes a SAGBI basis for the subalgebra generated by the given ideal; optional tail reduction and Groebner method selection.
sagbi.lib library
9 commands
SAGBI stands for “subalgebra bases analogous to Gröbner bases for ideals”.
sagbiAlg procedure
classify_aeq.lib
Compute a SAGBI basis of the subalgebra generated by an ideal (optionally using a user-supplied bound).
sagbiByDegree procedure
sagbiNormaliz.lib
Compute a SAGBI basis degree-by-degree up to a degree bound (or until complete), returning (basis ideal, success code).
sagbiByDegree procedure
sagbiNormaliz0.lib
Compute a SAGBI basis degree-by-degree up to a positive degree bound; returns (basis ideal, status flag).
sagbiDefIdealByDegree procedure
sagbiNormaliz.lib
Like sagbiByDegree, but also computes the defining ideal up to a given degree bound and returns retract expressions.
sagbiDefIdealByDegree procedure
sagbiNormaliz0.lib
Like sagbiByDegree for input Q with a degree bound, additionally computing the defining ideal up to Sagbi_degree_bound.
sagbiDefIdealGeneral procedure
sagbiNormaliz.lib
Like sagbiGeneral; additionally computes defining-ideal generators before stopping and returns retract expressions of SAGBI elements.
sagbiDefIdealGeneral procedure
sagbiNormaliz0.lib
Like sagbiGeneral, but also computes as many generators of the defining ideal as possible before stopping.
sagbiGeneral procedure
sagbiNormaliz.lib
Compute a (possibly partial) Sagbi basis for the subalgebra generated by an ideal, with optional round limit, sorting, and verbosity; returns (ideal, successFlag).
sagbiGeneral procedure
sagbiNormaliz0.lib
Computes (up to a given number of rounds) a Sagbi basis for the subalgebra generated by an ideal’s polynomials, returning (ideal,success).
sagbigrob.lib library
6 commands
Compute a Sagbi–Gröbner basis of an ideal in a subalgebra.
sagbiHilbControlled procedure
sagbiNormaliz.lib
Compute a Sagbi basis up to a degree bound, controlled by a given Hilbert series; returns (basis ideal, success flag).
sagbiHilbControlled procedure
sagbiNormaliz0.lib
Compute a Sagbi basis up to a degree bound, controlled by a given Hilbert series; returns (ideal basis, int success flag).
sagbiMod procedure
classify_aeq.lib
Compute a SAGBI basis for a differential module given a module ideal I and an algebra SAGBI basis G.
sagbiNF procedure
sagbi.lib
Compute SAGBI normal form (subalgebra reduction) of a poly or ideal modulo a domain ideal, with optional tail s-reduction and algorithm variant.
sagbiNormaliz.lib library
5 commands
The library sagbiNormaliz.lib provides functions for computing Sagbi bases of subalgebras \(A\) of polynomial rings over a field. It is based on normaliz.lib. The available functions compute Sagbi bases either without additional control, degree by degree,
sagbiNormaliz0.lib library
5 commands
The library sagbiNormaliz0.lib provides functions for computing SAGBI bases of subalgebras A of polynomial rings over a field. It is based on normaliz.lib.
sagbiPart procedure
sagbi.lib
Performs a specified number of SAGBI construction iterations for a subalgebra given by an ideal, with optional tail reduction and GB method.
sagbiReduce procedure
sagbi.lib
Compute the SAGBI reduction remainder(s) of a polynomial or ideal with respect to a given algebra (ideal of generators).
sagbiReduction procedure
sagbi.lib
Performs one step of subalgebra (SAGBI) reduction of a polynomial modulo a subalgebra given by an ideal, with selectable algorithm variant.
sagbiSPoly procedure
sagbi.lib
Compute SAGBI S-polynomials of the leading terms of an ideal; optionally return an extended ring exporting spolynomials and algebraicRelations.
SaitoBase procedure
VecField.lib
Compute Saito basis coordinates for a vector field so semisimple and nilpotent parts are easy to read off.
salida procedure
resbinomial.lib
Convert a chart output to a suitable ring and build the basic object (BO), returning the chart ring (as part of a list).
sameComponent procedure
teachstd.lib
Test whether two polynomials or two vectors have matching module component (vectors: via leading monomial); returns 1 or 0.
sameQ procedure
zeroset.lib
Test whether two lists are equal.
Sannfs procedure
dmod.lib
Compute the D[s]-annihilator Ann(F^s) (D-module structure) for a polynomial F, with selectable algorithm and Groebner engine.
SannfsBFCT procedure
dmod.lib
Compute a Groebner basis for Ann(f^s)+ (or with partials) in D[s], returning the output ring with anti-elimination ordering in s.
SannfsBFCTstd procedure
dmod.lib
Compute Ann(f^s) and a Groebner basis of Ann(f^s)+ in D[s], returning an output ring (degrevlex order).
SannfsBM procedure
dmod.lib
Constructs an output ring D[s] encoding the D-module structure of basering[1/f]f^s (Briancon–Maisonobe step 1); use setring to access LD.
Sannfslog procedure
dmod.lib
Construct a D[s] output ring encoding the D-module structure of basering[1/f]f^s and generators from logarithmic derivations.
SannfsLOT procedure
dmod.lib
Constructs a D[s]-ring encoding the D-module structure of basering[1/f]f^s (ideal LD in the returned ring).
SannfsOT procedure
dmod.lib
Constructs a D[s] output ring encoding the D-module structure of basering[1/f]f^s (Oaku–Takayama step 1); LD lives in that ring.
SannfsVar procedure
dmodvar.lib
Compute the annihilator/module structure ideal LD for Df^s (f the product from F) and return the corresponding D ring.
sat procedure
elim.lib
Compute the saturation of an ideal/module id with respect to an ideal j (union of id:j^k), returning a standard basis.
sat_with_exp procedure
elim.lib
Compute saturation of an ideal/module w.r.t. an ideal and return the saturated object and the saturation exponent.
sat2mod procedure
mprimdec.lib
Compute saturation of a module w.r.t. an ideal; returns a list with the saturated module and a power of the saturation element.
satiety procedure
mregular.lib
Compute the satiety (saturation index) of a homogeneous ideal; returns -1 if the ideal is not homogeneous.
satstd procedure
customstd.lib
Compute a standard basis of I while attempting partial saturation by dividing by variables from an optional ideal J.
Saturation topic
examples.doc / Saturation
Defines the saturation of an ideal with respect to another ideal and explains how to compute it in Singular, with an example involving singular points outside the origin.
Saturation tutorial
tutor.tex / Saturation
Defines saturation of ideals and describes how to compute it in Singular using sat from elim.lib, including an example for checking singular points outside the origin.
sba topic
reference.doc / sba
Documents the sba command, which computes a standard basis of an ideal using signature-based algorithms. Includes algorithm variants, options, notes, and examples.
SBelongSemigroup procedure
cisimplicial.lib
Test whether v lies in the semigroup generated by columns of A, returning nonnegative coefficients (or 0 if none).
Sca manual
sca.doc
scalarProd procedure
bfun.lib
Compute the standard scalar (dot) product of two intvecs of the same size.
scheme procedure
finitediff.lib
Compute a finite difference scheme via Groebner basis substitutions from a submodule generated by input vectors.
scheme type
scheme.lib
A scheme described by a list of charts and a list of gluing morphisms between them.
scheme.lib library
30 commands
The library implements several new classes centered around schemes.
SchemeEq procedure
JMSConst.lib
Reduces EK-polynomials to obtain equations defining the J-marked scheme.
Schoof procedure
crypto.lib
Compute the number of points of the elliptic curve y^2=x^3+ax+b over Z/N using Schoof's algorithm (N prime).
schreyer.lib library
3 commands
The library contains several procedures for computing (a part of) a Schreyer resolution (cf. [SFO]) and some helpers for derham.lib (which requires resolutions over the homogenized Weyl algebra).
schreyerSyzExt procedure
sresext.lib
Compute the Schreyer syzygy module of a module over the exterior algebra.
schubert.lib library
41 commands
This library implements classes (variety, sheaf, stack, graph) and methods for computations in intersection theory.
SchubertClass procedure
schubert.lib
Compute the Schubert class on a Grassmannian associated to a given partition.
SchurCh procedure
chern.lib
Compute the Schur polynomial for partition I in the Chern classes C (elementary symmetric polynomials).
SchurS procedure
chern.lib
Compute the Schur polynomial for a partition I in the Segre classes S (complete homogeneous symmetric polynomials).
Scontinue procedure
schreyer.lib
Extend the currently active resolution by at most len syzygy steps (in a ring returned by Sres or Ssyz).
SDLoc procedure
dmodapp.lib
Compute a ring extension containing ideal LD, a Groebner basis presenting the localization of D/I w.r.t. f^s.
search procedure
finvar.lib
Searches for polynomials (linear combinations from B) that lower dim(sP) stepwise, updating and returning P, sP, CI, and dB.
search_random procedure
finvar.lib
Tries random linear combinations of generators of B added to P until the dimension drops by dif (interactive retry/abort on failure).
secondary_and_irreducibles_no_molien procedure
finvar.lib
Compute secondary invariants and irreducible secondary invariants using a given Reynolds operator (non-modular case).
secondary_char0 procedure
finvar.lib
Compute homogeneous and irreducible homogeneous secondary invariants (char 0) from primary invariants, Reynolds operator, and Molien series.
secondary_charp procedure
finvar.lib
Compute secondary and irreducible secondary invariants in characteristic p>0 using a Reynolds operator and Molien data in Finvar::newring.
secondary_no_molien procedure
finvar.lib
Compute secondary invariants using a given Reynolds operator (non-modular case), optionally skipping degrees and controlling verbosity.
secondary_not_cohen_macaulay procedure
finvar.lib
Compute secondary invariants of a finite matrix group from given primary invariants and group generators (optionally verbose).
secondaryFan procedure
gfan.lib
Computes the secondary fan of an integer vector configuration.
secondaryPolytope procedure
polymake.lib
Compute lattice points of the secondary polytope of a marked lattice point configuration, optionally using given triangulations.
SecondOrderDeformation kernel type
kernel
segre procedure
chern.lib
Compute Segre classes up to degree N in terms of given Chern class polynomials.
SegreA procedure
chern.lib
Compute the Segre classes of the subscheme defined by a (homogeneous) ideal, returned as a list of integers.
select procedure
elim.lib
Select generators/columns of an ideal/module/matrix that contain all variables whose indices are listed in the given intvec.
select1 procedure
elim.lib
Select generators (ideal/module) or columns (matrix) that contain at least one variable whose index is listed in v.
selectcases procedure
redcgs.lib
Selects/summarizes grouped segments from buildtree cases and returns a list of selected cases.
selectKey procedure
methods.lib
Return the value stored in hash table H under key k (error if key not found).
semaphore procedure
resources.lib
Create a new semaphore initialized with n and return its index.
semiCMcod2 procedure
spcurve.lib
Construct the semiuniversal deformation for a CM codimension-2 ideal from its presentation matrix and T1 data.
semidiv procedure
hyperel.lib
Compute the semireduced divisor corresponding to div(D[1],D[2]) on the hyperelliptic curve y^2+h(x)y=f(x).
semigroup procedure
alexpoly.lib
Compute generators (as integer vectors) of the semigroup of a plane curve singularity and its conductor.
semiGroup procedure
classify_aeq.lib
Compute semigroup data (generators, conductor, semigroup) for the algebra generated by a given SAGBI basis.
Semigroup procedure
classifyci.lib
Compute the semigroup(s) of an ideal, returning a list with the semigroup for each branch.
semigroupGenerator procedure
gfan.lib
Compute a bigintmat generating (Z^n ∩ c) modulo (Z^n ∩ lineality space of c), assuming codimension-1 over lineality.
semiMod procedure
classify_aeq.lib
Compute semialgebra/semimodule generators and conductors from given SAGBI bases of an algebra and its differential module.
sep procedure
primdec.lib
Compute the separable part of a polynomial f over F_p(t1,...,tm).
separateHNE procedure
hnoether.lib
Return the number of quadratic transformations needed to separate two branches given by their HNE lists.
separator procedure
mprimdec.lib
Compute a list of separator polynomials for a list of prime ideals.
seq procedure
kskernel.lib
Finds u and v such that qu ≡ 1 (mod p) and pv ≡ 1 (mod q), returning both values.
serreRelations procedure
fpalgebras.lib
Compute the ideal of (homogeneous) Serre relations associated to a generalized Cartan matrix A in a letterplace free algebra basering.
set procedure
sets.lib
Create a Set from a list by removing duplicate elements.
Set type
sets.lib
The class of all sets.
set_is_injective procedure
crypto.lib
Test whether the input list a is injective; returns 1 if injective, 0 otherwise.
setBaseMultigrading procedure
multigrading.lib
Attach a multigrading (variable weights and optional grading group/lattice) to the basering via ring attributes.
setcores procedure
resources.lib
Set the number of available processor cores to n and return n.
SetDeg procedure
modules.lib
Set custom grading (degrees) for the variables of the current basering.
setglobalrings procedure
redcgs.lib
Define global rings @R=K[a][x], @P=K[a], and @RP=K[x,a] from the current basering (assumed of the form K[a][x]).
setinitials procedure
finitediff.lib
Sets derivative dependence order and constructs/sets a new basering (optionally including extra parameters).
setLetterplaceAttributes procedure
freegb.lib
Return a ring derived from R with letterplace-specific attributes (e.g., isLetterplaceRing=lV, maxExp=1) set.
setLinearForms procedure
gfan.lib
Stores the given linear forms (intvec) inside a cone or polytope object.
setModuleGrading procedure
multigrading.lib
Attach a multigrading (generator multiweights) matrix to a module or vector and return the modified object.
setMultiplicity procedure
gfan.lib
Store an integer multiplicity in a cone or polytope object.
setNmzDataPath procedure
normaliz.lib
Set Normaliz::nmz_data_path to control the directory used for data exchange files with Normaliz.
setNmzExecPath procedure
normaliz.lib
Set and store the path to the Normaliz executable (Normaliz::nmz_exec_path).
setNmzFilename procedure
normaliz.lib
Set the base filename used for Normaliz data exchange and toggle keeping/deleting the created exchange files.
setNmzOption procedure
normaliz.lib
Activate/deactivate a predefined Normaliz option by name (or set the thread limit for option "threads").
Setring procedure
classify.lib
Builds and returns a Singular ring declaration string 'ring =0,(x(1..c)),(c,ds);'.
setring topic
reference.doc / setring
Changes the current basering to another already defined ring. In procedures, basering changes are local unless the ring is moved up a nesting level with keepring.
sets.lib library
18 commands
This library implements the type Set and basic methods for working with sets.
setUniformizingParameter procedure
tropicalNewton.lib
Set and export the global uniformizingParameter to the given number p.
Sfunction procedure
tropicalEllipticCovers.lib
Compute the S-function 2sinh(z/2,k)/z as a polynomial using a Taylor expansion up to k terms.
SGB procedure
sagbigrob.lib
Compute an ideal SB for I inside the subalgebra A (given by a finite SAGBI basis).
SGGS procedure
sagbigrob.lib
Compute and return a list of polynomials associated to containment checks of lead(I[i]) in the lead ideal of a SAGBI basis of A.
SGNF procedure
sagbigrob.lib
Compute the normal form of a polynomial f w.r.t. an ideal I in the subalgebra given by a SAGBI basis A.
ShanksMestre procedure
crypto.lib
Computes the number of points on the elliptic curve y^2=x^3+ax+b over Z/q using the Shanks–Mestre baby-step–giant-step method.
shared declarations topic
types.doc / shared declarations
Defines a shared object. Includes syntax, defaults, and an example.
shared expressions topic
types.doc / shared expressions
Defines what a shared expression is in Singular and illustrates shared references with an example.
sheaf type
schubert.lib
An abstract sheaf represented by a variety and a polynomial giving its Chern character.
sheafCoh procedure
sheafcoh.lib
Compute the cohomology table (as an intmat) of twists F(l)..F(h) for the coherent sheaf on P^n associated to coker(M).
sheafCoh_w procedure
sheafcoh.lib
Compute an intmat of sheaf cohomology h^i(F(t)) for coker(M) on P^n over twists t=l..h, after setting grading w.
sheafcoh.lib library
18 commands
Procedures for computing sheaf cohomology.
sheafCohBGG procedure
sheafcoh.lib
Compute an intmat of cohomology dimensions h^i(F(d)) for twists d=l..h of the sheaf on P^n associated to coker(M) via BGG/Tate.
sheafCohBGG2 procedure
sheafcoh.lib
Compute an intmat of sheaf cohomology dimensions h^i(F(d)) for d in [l..h] via an optimized BGG/Tate resolution method.
sheafCohBGGregul procedure
sheafcoh.lib
Compute an intmat of cohomology h^i(F(d)) for d=l..h of the sheaf on P^n associated to coker(M) via the BGG/Tate method.
sheafCohBGGregul_w procedure
sheafcoh.lib
Compute an intmat of sheaf cohomology h^i(F(d)) for d=l..h via BGG/Tate, assigning degree vector w to M.
sheafCohBGGsres procedure
sresext.lib
Compute an intmat table of cohomology of twists of the sheaf on P^n associated to coker(M) for twists in range l..h.
shift procedure
tateProdCplxNegGrad.lib
Compute the shifted multigraded complex A[i] (odd shifts negate differentials).
short topic
reference.doc / short
Documents the ring-local variable short, which controls how monomials are printed and accepted as input.
shorten procedure
tropical.lib
Scale a and b from a 3-entry list so max(|a|,|b|) <= c, returning the scaled values as strings.
shortid procedure
presolve.lib
Filter an ideal/module by keeping generators with at most n terms; optionally also return indices of kept generators.
show procedure
inout.lib
Display an object (or a named object from a given ring) in compact format together with additional information.
showBO procedure
resolve.lib
Pretty-print a resolve.lib basic object (BO) describing ambient space, variety ideal, exceptional divisors, and related data.
showDataTypes procedure
resolve.lib
Pretty-prints an extended help text describing data types used in resolve.lib (no return value).
showgrades procedure
purityfiltration.lib
Return the grade numbers for modules represented by the matrices in a list.
showNmzOptions procedure
normaliz.lib
Return the string of currently activated Normaliz options (for use as a Normaliz call parameter).
showNuminvs procedure
normaliz.lib
Print the numerical invariants stored in Num_Invs.
showrecursive procedure
inout.lib
Display a basering object recursively as a polynomial in variables from p, with coefficients in the remaining variables.
sign procedure
rootsur.lib
Return the sign of a numeric value as -1, 0, or 1 (errors if x contains parameters).
signatureBrieskorn procedure
surfacesignature.lib
Compute the signature of the Brieskorn singularity x^a1 + y^a2 + z^a3.
signatureL procedure
phindex.lib
Compute the signature of a symmetric (nonzero) matrix via Lagrange reduction; optionally return (sig,+,-) as intvec.
signatureLqf procedure
phindex.lib
Compute the signature of a real quadratic form using Lagrange reduction; optionally return signature with counts of positive/negative squares.
signatureNemethi procedure
surfacesignature.lib
Compute the signature of the surface singularity z^N + f(x,y)=0, via resolution and/or spectral pairs.
signaturePuiseux procedure
surfacesignature.lib
Compute the signature of the surface singularity defined by z^N + f(x,y) = 0.
signcnd procedure
signcond.lib
Compute the sign conditions realized by polynomials in P on the real variety V(I), returning conditions and their multiplicities.
signcond.lib library
3 commands
Routines to determine the number of solutions of a multivariate polynomial system that satisfy a given sign configuration.
SignumLeadcoef procedure
mathml.lib
Returns 1 if the leading coefficient of a is negative (by string check), otherwise 0.
simpleBeilinsonBundle procedure
tateProdCplxNegGrad.lib
Computes the basic Beilinson bundle wedge^a U_w (pullback from the w-th projective factor) over the current basering.
simplePrune procedure
modules.lib
Simplify (prune) a module.
simplesolver procedure
ffsolve.lib
Solve a polynomial system over a finite field by an exhausting-search method; returns a list of solution ideals.
simplex topic
reference.doc / simplex
Describes the Singular command simplex, which runs the simplex algorithm on a tableau given as a matrix and parameters. Documents assumptions, output format, and an example.
simplexOrbitRepresentativesG25.sing code
simplexOrbitRepresentativesG25.sing
Defines a Singular list of integer vectors representing simplex orbit representatives for G25.
simplexOut procedure
solve.lib
Print the solution computed by simplex in a nice, human-readable format.
simplexSymmetryGroupG25.sing code
simplexSymmetryGroupG25.sing
Singular source file defining simplexSymmetryGroup as a list of permutations constructed from integer vectors.
simplify topic
reference.doc / simplify
Describes the simplify command, which returns a simplified version of its first argument according to rules selected by an integer flag.
SimplifyIdeal procedure
rinvar.lib
Simplify an ideal, attempting to reduce the number of variables.
simplifyMinpoly procedure
reszeta.lib
Internal helper to simplify a minimal polynomial by rescaling the variable and clearing denominators.
simplifynewadded procedure
redcgs.lib
Simplifies a newly added subtree in the global structure @L by merging nodes with equal ideals and cleaning sibling links.
simplifyRat procedure
dmodloc.lib
Simplify a rational function given as a 2-component vector [num, den].
simpqcoeffs procedure
redcgs.lib
Divide two polynomials by the gcd of their coefficient contents and return the simplified pair as an ideal.
sing.lib library
19 commands
### Invariants of Singularities
sing4ti2.lib library
3 commands
Communication interface to 4ti2.
singcard.tex tex
singcard.tex
Common macros and layout settings for Singular reference cards, including configurable paper size, folding guides, fonts, and three-column formatting macros.
singclass kernel type
kernel
singseries kernel type
kernel
Singular 3 and Singular 4 topic
platform.doc / Singular 3 and Singular 4
This section describes new features and changes between Singular 3-1-7 and Singular 4. for both users and developers.
Singular Tutorial tutorial
tutor.tex
Entry link and logo image for the Singular Tutorial.
Singular2bertini procedure
numerDecom.lib
Write a Bertini-compatible start solution file named "start" from a list of complex solution vectors.
singularity procedure
classify.lib
Look up a named singularity in the classify database and return its normal form polynomial and corank for given indices/parameters.
Singularity Theory topic
examples.doc / Singularity Theory
Index of examples related to singularity theory in Singular. Links cover invariants, critical points, deformations, classifications, and resolutions.
Singularity Theory tutorial
tutor.tex / Singularity Theory
Entry page for the Singularity Theory section, listing available topics and their corresponding nodes.
SingularityDBM.lib library
5 commands
Library SingularityDBM.lib provides access to a database (DBM) of singularities used by the Arnold-Classifier.
sinh procedure
tropicalEllipticCovers.lib
Returns the power series expansion of the hyperbolic sine sinh(t) up to n terms.
size topic
reference.doc / size
Documents the size function, which returns an integer whose meaning depends on the type of its argument. Includes syntax variants, type, purpose by argument type, and examples.
size_bideal procedure
polybori.lib
Return the number of elements in the internal Python list representation of a Boolean ideal.
size_pyobject procedure
polybori.lib
Return the Python len(obj) of a given pyobject as an int.
sizeHashTable procedure
methods.lib
Return the number of keys stored in a HashTable.
sizeSet procedure
sets.lib
Return the number of elements in a Set.
skewmat procedure
matrix.lib
Create an n×n skew-symmetric matrix, filled with elements from a given ideal (default maxideal(1)).
SL procedure
invar.lib
Set the current group to SL_n and initialize globals group, groupideal, SLrep, and reynolds (basering becomes group).
sleep procedure
general.lib
Pause execution for a given number of seconds by invoking the system sleep command.
slim Groebner bases topic
examples.doc / slim Groebner bases
Describes the Singular command slimgb for computing Gröbner bases while keeping intermediate polynomials short with small coefficients, and provides an example comparing it to std.
slim Groebner bases tutorial
tutor.tex / slim Groebner bases
Documentation for slimgb, an algorithm for computing Groebner bases while keeping polynomials short with small coefficients, including an example and a reference for further details.
slimgb topic
reference.doc / slimgb
Computes a (slim) Gröbner basis of an ideal or module with respect to the global monomial ordering of the current basering.
slimgb BR_PLURAL_BR topic
plural.doc / slimgb BR_PLURAL_BR
Describes slimgb, which computes a left Gröbner basis for left ideals or modules in the current basering. Includes notes on options, protocol messages, limitations, and examples.
slocus procedure
sing.lib
Compute the ideal of the singular locus of an ideal (not supported for quotient rings or integer coefficient rings).
SLreynolds procedure
invar.lib
Applies the Reynolds operator to a polynomial; for SL_n groups it uses the omega-process.
smatrix kernel type
kernel
An experimental type: Objects of type smatrix are (sparse) matrices with polynomial entries. Like polynomials they can only be defined or accessed with respect to a basering.
smatrix topic
types.doc / smatrix
Documents the experimental Singular type smatrix, a sparse matrix type with polynomial entries defined over a basering, including conversions, operations, functions, and access methods.
smith procedure
jacobson.lib
Compute the Smith normal form of a matrix over a 1-variable polynomial ring, optionally returning unimodular transformation matrices.
smithNormalForm procedure
multigrading.lib
Compute the Smith normal form D of an integer matrix A; optionally also return P,D,Q with D = PAQ.
smpStd procedure
symodstd.lib
Compute a standard basis of an ideal modulo p (via variants of symmStd/homog/fglm) and return [basis, p].
SNF procedure
stdmodule.lib
Compute the normal form of a vector with respect to a free module G over the subalgebra A (finite SAGBI basis).
SolowayStrassen procedure
crypto.lib
Probabilistic Solovay–Strassen primality test with k rounds; returns 1 if n is (probable) prime, else 0.
solutionsMod2 procedure
crypto.lib
Compute a basis (as an intmat) of the solution space of the linear system defined by a bigintmat over GF(2).
solve procedure
solve.lib
Compute all complex roots of a 0-dimensional ideal via triangular sets, optionally with multiplicities and precision/verbosity control.
solve_IP procedure
intprog.lib
Solve integer programming problem(s) for given A, bx (b or initial x), cost vector c, and chosen algorithm, optionally with a positive row-space vector.
solve.lib library
12 commands
### Complex Solving of Polynomial Systems (solve.lib)
solvelinearpart procedure
presolve.lib
Compute (interreduced) generators of the degree<=1 part of an ideal/module in (reduced) triangular form.
solveTInitialFormPar procedure
tropical.lib
Displays complex numerical approximations of the solution set of a zero-dimensional ideal (after substituting t=1).
Solving systems of polynomial equations topic
examples.doc / Solving systems of polynomial equations
Introduces a symbolic-numerical approach to solving zero-dimensional systems of complex polynomial equations and demonstrates relevant Singular commands and libraries.
Solving systems of polynomial equations tutorial
tutor.tex / Solving systems of polynomial equations
This section describes a symbolic-numerical approach to solving polynomial systems with finitely many complex solutions. It outlines preprocessing goals and demonstrates related Singular commands.
sort procedure
general.lib
Sorts ideals/modules/matrices by leading terms (optionally w.r.t. a given ordering) or sorts lists/intvecs; returns sorted object and permutation.
sort_of_invariant_basis procedure
finvar.lib
Builds a linearly independent set of Reynolds images of degree-d monomials, discarding those reducing to 0 modulo sP.
sortandmap procedure
presolve.lib
Create a new ring with variables sorted by complexity in id and specified block orderings, and export IMAG=imap(basering,id) in that ring.
sortbylab procedure
redcgs.lib
Sorts a list by label order using lesslab and returns the sorted list.
sortedBases procedure
tateProdCplxNegGrad.lib
Compute a list where entry k contains the sorted monomials of multidegree ke_i in the current multigraded ring.
sorter procedure
kskernel.lib
Reorders an integer matrix by iteratively applying minim(M,n) for n=1..nrows(M).
sortideal procedure
redcgs.lib
Returns a reordered copy of an ideal, sorting its generators using lesspol().
sortier procedure
ainvar.lib
Return the given ideal/module with generators sorted by leading terms, starting with the smallest.
sortIntvec procedure
dmodapp.lib
Sort an intvec in non-increasing order and return the sorted vector with a permutation mapping back to the original.
sortSegments procedure
integralbasis.lib
Sort a list of segments in ascending order by their slope (segment[i][2]).
sortvars procedure
presolve.lib
Sort basering variables by complexity with respect to an object, optionally in variable blocks with per-block order direction.
sortvec topic
reference.doc / sortvec
Computes a permutation vector that orders an ideal or module by initial terms in ascending order.
Source procedure
modules.lib
Return the source FreeModule of a Matrix.
source procedure
modules.lib
Return the source Module of a Homomorphism.
Source code debugger topic
general.doc / Source code debugger
Describes Singular’s experimental source code debugger (sdb), how to enable it, and the available commands and breakpoint handling.
spaceCur procedure
classify_aeq.lib
Compute the type of a simple space curve singularity, returning an identifying ideal from the Gibson–Hobbs list.
spadd procedure
gmssing.lib
Add two spectra given as list(ideal values, intvec multiplicities) and return the summed spectrum.
span procedure
gfan.lib
Compute unique irredundant linear equations (span) of a cone.
sparseHomogIdeal procedure
random.lib
Create an ideal with k random homogeneous generators of random degree, with configurable sparsity and coefficient bounds.
sparseid procedure
random.lib
Create an ideal with k random sparse generators with degrees between u and o, with p% zero terms and coefficients in [1,b].
sparseInterpolation procedure
ffmodstd.lib
Reconstructs a sparse polynomial from a value sequence La using a Berlekamp–Massey minimal polynomial and prime-power substitutions.
sparsemat procedure
random.lib
Create an n×m integer matrix with a given sparsity and random nonzero entries in the range 1..b.
sparsematrix procedure
random.lib
Create an n×m matrix with random sparse polynomial entries (degrees between u and o) and controlled sparsity.
sparsepoly procedure
random.lib
Create a random sparse polynomial with terms only in degrees u..o and random coefficients, with sparsity controlled by p.
sparsetriag procedure
random.lib
Create an n×m lower triangular integer matrix with 1s on the diagonal and random sparse entries below.
spcurve.lib library
9 commands
### Deformations and invariants of CM codimension 2 singularities
Special characters topic
general.doc / Special characters
Lists characters and operators with special meanings in Singular, including their uses in expressions, comments, and procedures.
spectralNeg procedure
reszeta.lib
Compute the negative spectral numbers (in (-1,0]) from a resolution list (output of resolve).
spectrum procedure
gmssing.lib
Compute the singularity spectrum (spectral numbers and their multiplicities) of a polynomial t.
spectrum.lib library
1 commands
## Singularity Spectrum for Nondegenerate Singularities
spectrumnd procedure
spectrum.lib
Compute the spectrum (spectral numbers and multiplicities) of a nondegenerate isolated singularity f at 0.
spgamma procedure
gmssing.lib
Compute the gamma invariant of a given spectrum.
spgeomgenus procedure
gmssing.lib
Compute the geometrical genus of a spectrum given as a list.
sPiece procedure
stanleyreisner.lib
Create a SecondOrderDeformation.
spissemicont procedure
gmssing.lib
Test whether the sum of spectral multiplicities is nonnegative on all unit intervals (half-open by default, open if opt is given).
split procedure
inout.lib
Split a string into lines of fixed length (default: pagewidth), inserting line breaks suitable for use with lprint.
splitBox procedure
interval.lib
Split a box into two smaller boxes so that the intersection of borders does not contain zeros of a given ideal.
splitPolygon procedure
polymake.lib
Splits marked lattice points of a convex lattice polygon into clockwise vertices, non-vertex facet points, and interior points (with original indices).
splitring procedure
primitiv.lib
Create a new ring where a primitive element defined by an irreducible univariate polynomial is adjoined; optionally map objects to it.
splitspec procedure
redcgs.lib
Splits a specification (N,W) using a reduced form of fi, returning two redspec results and the splitting condition.
splitting procedure
mprimdec.lib
Splits a zero-dimensional module into components, returning a list of component data and an updated check module.
spmilnor procedure
gmssing.lib
Compute the Milnor number (mu) of a given spectrum list sp.
spmul procedure
gmssing.lib
Compute a scalar multiple or linear combination of spectra with integer coefficients.
spnf procedure
linalg.lib
Normalize a sparse list representation of an ideal by sorting generators and merging duplicates, returning unique generators with multiplicities.
SPOLY procedure
sagbigrob.lib
Compute the ideal of S-polynomials of an ideal I in the subalgebra A (given by a finite SAGBI basis).
spoly procedure
teachstd.lib
Compute the (optionally symmetric) s-polynomial of two polynomials or vectors.
sppairs procedure
gmssing.lib
Compute the spectral pairs (V- and weight-filtration indices and multiplicities) of a polynomial t.
sppnf procedure
gmssing.lib
Normalize a spectrum list by lexicographically ordering pairs (a[i],w[i]) and combining equal entries with multiplicities.
sppprint procedure
gmssing.lib
Format a spectral pairs list as a string.
spprint procedure
linalg.lib
Format a spectrum list into a printable string of (value,multiplicity) pairs.
sprintf procedure
standard.lib
Formats values according to a control string and returns the resulting text as a string.
sprintf topic
reference.doc / sprintf
Reference entry for the Singular function sprintf.
spsemicont procedure
gmssing.lib
Compute bounds on multiplicities for which spectra sp0 can occur semicontinuously in a deformation with spectrum sp.
spsub procedure
gmssing.lib
Compute the difference of two spectra sp1 and sp2.
spTestSB procedure
symodstd.lib
Randomly picks an admissible prime p and tests whether J mod p is a standard basis of I mod p.
sqfrNorm procedure
zeroset.lib
Compute the norm in Q[x] of a squarefree polynomial f in Q(a)[x], returning norm, shifted polynomial, and shift integer.
sqfrNormMain procedure
zeroset.lib
Compute the squarefree norm in Q[x] of a squarefree polynomial f in Q(a)[x], returning (norm, transformed poly, shift).
sqrfree topic
reference.doc / sqrfree
Describes sqrfree, which computes the squarefree factors of a polynomial, optionally including multiplicities, and documents its return types and usage modes.
squarefree procedure
hnoether.lib
Returns a squarefree divisor of a bivariate polynomial (usually the greatest), in a 2-variable basering.
squareRoot procedure
crypto.lib
Compute a square root of a modulo a prime p (in Z/p), assuming Jacobi(a,p)=1 or p=2.
sRes procedure
modules.lib
Compute a (graded) resolution of a module or ideal using Schreyer’s method (sres), optionally truncated to n steps.
Sres procedure
schreyer.lib
Compute a Schreyer resolution of a module up to a given length and return it as a ring.
sres topic
reference.doc / sres
Computes a free resolution of an ideal or module using Schreyer's method. If a nonzero step bound is given, the computation stops after that many steps and returns the corresponding syzygy modules.
sresExt procedure
sresext.lib
Compute the minimal free resolution of a module over an exterior algebra up to cohomological degree p.
sresext.lib library
4 commands
Procedures for computing Schreyer resolutions of modules over the exterior algebra, and related constructions.
Ssi file links topic
types.doc / Ssi file links
Ssi file links allow storing data in a file using the ssi format. Unlike ASCII links, reading from an ssi link returns expressions one at a time.
Ssi links topic
types.doc / Ssi links
Describes Ssi (simple Singular interface) links for fast data exchange between Singular processes via files or TCP sockets, including ring-dependent behavior when reading.
Ssi tcp links topic
types.doc / Ssi tcp links
Ssi tcp links enable data exchange between two processes on the same or different computers. They can be opened in four modes: tcp, connect, launch, and fork.
ssi.lib library
9 commands
This library provides helper functions for managing SSI files in Singular.
Ssyz procedure
schreyer.lib
Helper for computing the Schreyer resolution of a module M of length 1.
StabEqn procedure
qhmoduli.lib
Compute stabilizer equations (isometry group) of a polynomial, returning rings for stabilizer (stabid) and action (actionid).
StabEqnId procedure
qhmoduli.lib
Compute rings with equations for the isometry-group stabilizer of an ideal and its induced action.
stabilizer procedure
autgradalg.lib
Compute the stabilizer of an ideal with respect to the graded automorphism action; returns a ring and exports Jexported and stabExported.
StabOrder procedure
qhmoduli.lib
Compute the order (vector space dimension) of the stabilizer group of a quasihomogeneous polynomial.
stack type
schubert.lib
An algebraic stack, used in particular for moduli spaces of stable maps.
stackNets procedure
nets.lib
Vertically concatenates two Nets, aligning them at the left column.
staircase procedure
graphics.lib
Return Mathematica input (as a string) to display the staircase diagram of a 2-variable ideal (from leading exponents).
standard procedure
teachstd.lib
Compute a standard basis of an ideal or module using generalized Mora/Buchberger algorithm; optional symmetric S-polynomial.
Standard bases topic
math.doc / Standard bases
Defines standard bases for submodules of R^r and lists key properties such as normal forms, ideal membership, and Hilbert function behavior.
standard.lib library
22 commands
This section documents procedures from standard.lib that are always loaded at start-up.
stanleyreisner.lib library
11 commands
This library implements graded pieces (in a fixed degree) of the cotangent modules T^1 and T^2 for a Stanley-Reisner ring. Graded pieces of homomorphisms are represented by lists of integers.
startNmz procedure
normaliz.lib
Reads stored Normaliz exec/data paths from files written by writeNmzPaths() and prints the paths that are set.
StartOrderingV procedure
JMBTest.lib
Compute and return an ordered list R from inputs V and G using OrderingV (as in [BCLR]).
StartOrderingV procedure
JMSConst.lib
Orders polynomials in G using V by delegating to OrderV (as in [BCLR]).
startTasks procedure
tasks.lib
Starts one or more tasks (sets state to 'started'); only tasks in state 'created' or 'stopped' can be started.
Startup sequence topic
general.doc / Startup sequence
Describes the steps Singular performs at startup, including loading standard libraries, locating and executing .singularrc, and running commands and files specified on the command line.
status topic
reference.doc / status
Describes the status command for querying and comparing the state of links, and for polling a list of links with a timeout.
std topic
reference.doc / std
Describes the std command, which computes a standard (Gröbner) basis for an ideal or module with respect to the basering ordering, including Hilbert-driven variants and options.
std BR_LETTERPLACE_BR topic
letterplace.doc / std BR_LETTERPLACE_BR
Describes the command std for ideals or modules in BR_LETTERPLACE_BR. std is an alias for twostd.
std BR_PLURAL_BR topic
plural.doc / std BR_PLURAL_BR
Describes std for computing left Gröbner bases of ideals or modules in the current basering, with an optional incremental generator. Includes notes on monitoring progress and an example.
std_for_pd procedure
surfex.lib
Replace ideals in a primdec list by standard bases and attach dim() and mult() for prime (and optionally primary) components.
std_primdecGTZ procedure
surfex.lib
Computes a primary decomposition via primdecGTZ and returns std_for_pd applied to it (options/format as in std_for_pd).
stdfglm procedure
standard.lib
Compute a standard basis via fglm from a given (default "dp") ordering to the basering ordering, using groebner/std/slimgb.
stdfglm topic
reference.doc / stdfglm
Reference entry for the Singular command stdfglm.
stdhilb procedure
standard.lib
Compute a Groebner basis via the Hilbert-driven algorithm for an ideal/module, optionally using method strings and/or variable weights.
stdhilb topic
reference.doc / stdhilb
Reference entry for the Singular command stdhilb. This section currently contains only the heading.
stdlocus procedure
grobcov.lib
Compute irreducible locus components via standard Groebner basis elimination and prime decomposition (no taxonomy/holes).
stdmodule.lib library
9 commands
Compute standard bases of submodules of a free module over a polynomial subalgebra with respect to the natural grading.
stopTask procedure
tasks.lib
Stop a started task and set its state to 'stopped' (discarding intermediate results).
storeActionOnOrbitConeIndices procedure
gitfan.lib
Write the action on orbit cone indices (given as intvec-encoded permutations) to a file in Singular-readable format.
storeOrbitConeOrbits procedure
gitfan.lib
Write a list of lists of cones to a file in Singular-readable format.
strand procedure
tateProdCplxNegGrad.lib
Compute the strand of a multigraded complex with respect to an index set J and a vector c.
strataList procedure
stratify.lib
Compute a list of locally closed strata from a minorRadList, tracking closed ideal and open-set polynomials through recursion.
stratify procedure
stratify.lib
Compute a stratification into locally closed sets determined by rank/minor conditions derived from M and filtrations given by wr, ws, step.
stratify.lib library
7 commands
Algorithmic stratification for unipotent group actions.
strictTransform procedure
scheme.lib
Return the strict transform of a subscheme Y under a blow-up map pi.
string kernel type
kernel
string
string procedure
pfd.lib
Create or return a string value (no further details available from provided inputs).
string topic
types.doc / string
Describes Singular string variables, constants, concatenation, and typical uses for output and runtime command construction.
string type
tropicalEllipticCovers.lib
String type, e.g., for output intended for LaTeX files.
string declarations topic
types.doc / string declarations
Describes how to declare and initialize string variables in Singular, including syntax, defaults, and an example.
string expressions topic
types.doc / string expressions
Defines what constitutes a string expression in Singular and shows examples of substrings and character extraction.
string operations topic
types.doc / string operations
Overview of available operations on strings in Singular, including concatenation, comparison, and indexing for characters and substrings.
string related functions topic
types.doc / string related functions
Overview of functions related to strings, including commands for inspection, formatting, and accessing ring-related names and settings.
string type cast topic
types.doc / string type cast
Describes the string(...) type cast in Singular, which converts expressions of various types to strings and concatenates the results.
string_of_vars procedure
surfex.lib
Return a comma-separated string listing all variables that occur in the given ideal.
StringF procedure
kskernel.lib
Builds and exports the global string F containing an expression in variables T(i) with non-resolved brackets.
StringS procedure
kskernel.lib
Constructs and exports a string S (with additional exported lists u and l) computed from integers p and q.
stripHNE procedure
hnoether.lib
Strip a develop/HNE expansion list by zeroing its polynomial component(s) at index 4 to save memory.
sturm procedure
rootsur.lib
Count the number of real roots of a univariate rational polynomial p in the interval (a,b].
sturmha procedure
rootsur.lib
Count real roots of a univariate polynomial in the open interval (a,b) using a Sturm-Habicht sequence.
sturmhaseq procedure
rootsur.lib
Compute the non-zero polynomials of the Sturm-Habicht (subresultant) sequence of a univariate polynomial.
sturmquery procedure
rootsmr.lib
Compute the Sturm query of a polynomial h on the variety V(I), given a Groebner basis I and monomial basis B of r/I.
sturmseq procedure
rootsur.lib
Compute the Sturm (remainder) sequence of a univariate polynomial p.
sublists procedure
combinat.lib
Return the list of all sublists (power set) of a given list.
submat procedure
matrix.lib
Return the submatrix of A consisting of the rows r and columns c.
subquotient procedure
modules.lib
Constructs and returns the module given by a generator matrix with a relation matrix (a subquotient).
subrInterred procedure
polylib.lib
Interreduce generators of sm only w.r.t. variables listed in iv, viewing sm as a k[t]-submodule generated by mon.
subset procedure
grobcov.lib
Test whether all elements of J occur in K; returns 1 if yes (or if J is empty), otherwise 0.
subset procedure
redcgs.lib
Test whether all elements of J occur in K; returns 1 if yes, otherwise 0.
subset_sum01 procedure
crypto.lib
Solve a 0/1 subset-sum for a knapsack list, returning the first binary indicator list (or 0 if none).
subset_sum02 procedure
crypto.lib
Greedy subset-sum attempt; returns a binary position list for chosen elements, or 0 if no solution is found.
subst topic
reference.doc / subst
Substitute one or more ring or parameter variables by polynomials. Multiple substitutions are performed sequentially, not simultaneously.
subst BR_LETTERPLACE_BR topic
letterplace.doc / subst BR_LETTERPLACE_BR
Describes the subst command for substituting ring and parameter variables by polynomials in polynomials, vectors, ideals, and modules. Includes notes on sequential substitutions and non-commutative bimodule generators.
subst BR_PLURAL_BR topic
plural.doc / subst BR_PLURAL_BR
Describes the subst command, which substitutes a ring variable by a polynomial. Includes syntax variants, return types, and an example.
substAll procedure
recover.lib
Substitute all ring variables in polynomial v by corresponding elements of list p.
substitute procedure
polylib.lib
Substitute ring variables in a mappable basering object by given polynomials, either by pairs or via variable/replacement ideals.
sufficientlyPositiveMultidegree procedure
tateProdCplxNegGrad.lib
Compute an intvec multidegree that is sufficiently positive for the cokernel of a multigraded module M.
sum procedure
general.lib
Compute the sum of all entries of an object (or selected indices via an intvec), returning a type depending on the entries.
sum_of_powers procedure
chern.lib
Compute the sum of k-th powers of the polynomial entries of a list (returns 0 if k is negative).
sumlist procedure
resbinomial.lib
Return a list whose entries are the componentwise sums of two equal-length lists.
summandsFac procedure
integralbasis.lib
Compute all nonnegative integer coefficient vectors expressing degTotal as a sum of multiples of degrees in degPolySet.
sumofquotients procedure
schubert.lib
Prepare a command for parallel execution based on the given stack/context and input list.
super_increasing_knapsack procedure
crypto.lib
Generate a super-increasing knapsack list of length ksize.
superCommutative procedure
nctools.lib
Create a super-commutative (GR) qring over the current basering by imposing alternating relations on variables b..e and modding out squares (+Q).
SuperCommutative procedure
nctools.lib
Deprecated wrapper for superCommutative; forwards its arguments unchanged.
surf_jupyter.lib library
1 commands
This library provides procedures for plotting plane curves and surfaces with Surf in Jupyter.
surf.lib library
2 commands
This library provides procedures for plotting plane curves and surfaces with Surf.
surfacesignature.lib library
3 commands
A library for computing the signature of an irreducible surface singularity.
surfEqn procedure
surfex.lib
Create a surfex/surf-compatible string representation of a curve/surface polynomial using specified coordinates.
surfEqnDir procedure
surfex.lib
Return string conversion of the 2nd list element (args[1]) with global short temporarily forced to 0.
surfer procedure
surf.lib
Plot an algebraic surface given by one equation using the external program 'surfer'.
surfex.lib library
28 commands
Procedures for visualizing and rotating surfaces.
surfex.lib library
29 commands
This library provides an interface to the external program surfex.
swalk procedure
swalk.lib
Compute a SAGBI basis of a subalgebra using the SAGBI walk algorithm between specified (a(v),lp) orderings.
swalk.lib library
2 commands
A library for computing a SAGBI basis of a subalgebra using the SAGBI walk algorithm.
swap procedure
classify.lib
Swap two inputs and return them in reverse order.
switchRingsAndComputeInitialIdeal procedure
tropicalNewton.lib
Switches to a new ring and computes/exports the (saturated standard basis and) initial ideal of I w.r.t. w, returning the new ring.
sym_gauss procedure
linalg.lib
Diagonalize a constant symmetric square matrix using the symmetric Gauss algorithm.
symExt procedure
tateProdCplxNegGrad.lib
Compute the differential R(M_0) -> R(M_1) associated to a presentation matrix m, returning a matrix over S.
SymGroup procedure
qmatrix.lib
Generate S(n) as an intmat where each row is a permutation of 1..n.
symm procedure
chern.lib
Compute the elementary symmetric polynomials in the entries of a list, optionally truncated to the first n.
symmat procedure
matrix.lib
Create a symmetric n×n matrix, filled from an ideal (default maxideal(1)); missing entries are set to 0.
symmetricBasis procedure
matrix.lib
Compute a basis of the k-th symmetric power of an n-dimensional vector space.
symmetricPower procedure
matrix.lib
Compute the k-th symmetric power of a module/matrix A.
symmetricPowerSheaf procedure
schubert.lib
Compute the n-th symmetric power of a sheaf.
symmfunc procedure
rootsmr.lib
Compute symmetric functions of polynomial roots from a list of their power sums.
symmStd procedure
symodstd.lib
Compute a standard basis of an ideal invariant under a variable permutation, using a root-of-unity variable transformation.
symNsym procedure
chern.lib
Decomposes f into a symmetric part (in terms of elementary symmetric functions from c) and a non-symmetric remainder.
syModStd procedure
symodstd.lib
Compute a standard basis of an ideal over Q via modular methods using invariance under a variable permutation sigma.
symodstd.lib library
10 commands
A library for computing the Groebner basis (standard basis) of an ideal in a polynomial ring over the rational numbers that is invariant under certain permutations of the variables, using symmetry and modular methods.
sympower procedure
invar.lib
Compute the matrix for the induced action on the d-th symmetric power of the representation given by m.
symsignature procedure
rootsmr.lib
Compute the signature (positive minus negative index) of a symmetric matrix.
syndrome procedure
decodegb.lib
Compute the syndrome htranspose(c) for a row-vector codeword c using check matrix h.
sys_code procedure
brnoeth.lib
Compute a systematic (standard-form) code equivalent to the one given by a constant matrix, returning generator, parity-check matrices and a permutation.
sysBin procedure
decodegb.lib
Constructs and returns a ring containing the ideal 'bin' (Bin system) derived from a cyclic code defining set Q.
sysCRHT procedure
decodegb.lib
Constructs and returns the ring containing the Cooper-Reed-Heleseth-Truong decoding ideal 'crht' (optionally with extra constraints).
sysCRHTMindist procedure
decodegb.lib
Constructs and returns the ring containing the Cooper–Reed–Heleseth–Truong/Sala ideal 'crht_md' for a cyclic code minimum-distance test.
sysFL procedure
decodegb.lib
Constructs the Fitzgerald–Lax polynomial system (as an ideal) for decoding from a parity check matrix and received word.
sysNewton procedure
decodegb.lib
Construct a ring containing the ideal 'newton' of generalized Newton identities for decoding a cyclic code (optionally in triangular form).
sysQE procedure
decodegb.lib
Construct a decoding system of quadratic equations from a parity-check matrix and received word, returning a work ring containing ideal 'qe'.
system topic
reference.doc / system
Documents the system interface to internal data and the operating system. Lists available system commands, their arguments, return types, notes, and an example.
System dependent limitations topic
tricks.doc / System dependent limitations
Describes system-dependent limitations of Singular ports, focusing on which platforms support dynamic modules.
System variables topic
reference.doc / System variables
Index of Singular system variables and their documentation nodes.
systemOfParametersOfLocalization procedure
graal.lib
Compute a system of parameters for the localization A_L of A at L.
systhreads.lib library
12 commands
This library implements basic functionality for shared objects in a multi-threaded system, such as channels, shared tables and lists, and synchronization variables.
SYZ procedure
sagbigrob.lib
Compute a list of pairwise syzygy vectors between generators of an ideal G.
syz topic
reference.doc / syz
Computes the first syzygy (module of relations) of the generators of an ideal or module. Optionally selects the Gröbner basis algorithm and controls whether a standard basis is returned.
syz BR_LETTERPLACE_BR topic
letterplace.doc / syz BR_LETTERPLACE_BR
Describes the command syz in the letterplace context, which computes the first syzygy bimodule of an ideal or module. Notes the effect of option(returnSB) and provides an example.
syz BR_PLURAL_BR topic
plural.doc / syz BR_PLURAL_BR
Describes syz for computing the first syzygy module (relations among generators) of an ideal or module in Plural.
Syzygies and resolutions topic
math.doc / Syzygies and resolutions
Defines syzygy modules, free resolutions, and graded Betti numbers/regularity, with Singular examples. Notes dependence on generators and existence bounds via the Hilbert Syzygy Theorem.
Syzygies and resolutions BR_PLURAL_BR topic
plural.doc / Syzygies and resolutions BR_PLURAL_BR
Defines left and right syzygies and free resolutions over GR-/G-algebras, with remarks on Singular/Plural commands. Includes the generalized Hilbert syzygy theorem and an example computation.

T

EntryDescription
T_1 procedure
sing.lib
Compute the T_1-module (1st order deformations) of an ideal/poly; with a second arg, also return normal bundle generators and their relations.
T_12 procedure
sing.lib
Compute T_1 and T_2 modules (1st order deformations and obstructions) for R=P/i; optional arg returns extended data.
T_2 procedure
sing.lib
Compute the T_2 module of an ideal; with a second argument, return a list of T_2 and related intermediate modules/ideals.
T_Transform procedure
hnoether.lib
Applies the substitution f(x,y) -> f(y, xy^Q) and returns f(y, xy^Q)/y^(NQ) in the current ring.
T1 procedure
stanleyreisner.lib
Compute first order deformations (T^1) for an ideal.
T1 and T2 topic
examples.doc / T1 and T2
Describes the meaning of T^1 and T^2 for an ideal and how to compute them in Singular, with three worked examples. Also shows how to encode a Hilbert series as a polynomial and how to call T_1, T_2, and T_12 with two arguments.
T1 and T2 tutorial
tutor.tex / T1 and T2
Describes the Singular procedures for computing the deformation modules T^1 and T^2 of an ideal, and provides three worked examples. Includes notes on Hilbert series and extended output options.
T1_Transform procedure
hnoether.lib
Applies the coordinate change y := y + dx^Q to a polynomial f (with x,y the ring variables).
T2 procedure
stanleyreisner.lib
Compute second order deformations (T^2) for an ideal.
T2_Transform procedure
hnoether.lib
Compute T2 transform of a polynomial and return the transformed polynomial and updated d (either d or 1/d).
tab procedure
inout.lib
Return a string consisting of n spaces (space tabs).
tail procedure
teachstd.lib
Return the tail of f, computed as f - lead(f) (result is a poly).
tangentcone procedure
sing.lib
Compute the tangent cone ideal of a given ideal (works for any monomial ordering).
tangentGens procedure
orbitparam.lib
Compute the orbit dimension and tangent-space generators at v for the exp() action, plus coefficients and zeroable coordinates.
Target procedure
modules.lib
Return the target FreeModule of a Matrix.
target procedure
modules.lib
Return the target module of a homomorphism.
task kernel type
kernel
tasks.lib library
14 commands
This library provides a parallel framework based on tasks. It introduces a new Singular type @code{task}; an object of this type represents a command (given as a string) applied to a list of arguments. Tasks can be computed in parallel via the procedures in th
tateProdCplxNegGrad.lib library
28 commands
In this library, Tate resolutions are used to compute sheaf cohomology of coherent sheaves on products of projective spaces. The algorithms work for arbitrary products. Computations are carried out over the multigraded Cox ring and the corresponding exterior a
tateResolution procedure
tateProdCplxNegGrad.lib
Compute the Tate resolution of coker(M) for a multigraded module M, returning (E, tate) with tate a multigradedcomplex.
tau_es procedure
equising.lib
Return the codimension of the mu-constant stratum in the semi-universal deformation base of a plane curve singularity.
tau_es2 procedure
alexpoly.lib
Compute the equisingular Tjurina number (codimension of the mu-constant stratum) of a plane curve singularity.
tdCf procedure
chern.lib
Compute Todd class coefficients (as rationals) of a line bundle up to degree n.
tDetropicalise procedure
tropical.lib
Detropicalise a tropical linear polynomial (or list of them) to a polynomial over Q(t) with Laurent monomials in t.
tdFactor procedure
chern.lib
Compute the Todd class of a line bundle with Chern root t, truncated to degree n.
tdProj procedure
chern.lib
Compute the coefficients (as rationals) of the Todd class of the tangent bundle of complex projective space of dimension n.
tdTerms procedure
chern.lib
Compute the Todd class terms (as polynomials) of a line bundle with Chern root f up to degree n.
teach_lpGkDim procedure
fpaprops.lib
Compute the Gelfand–Kirillov dimension of A/ for an ideal G in a letterplace ring (-1 denotes +infinity).
teach_lpKDim procedure
fpadim.lib
Compute the K-dimension of the factor algebra A/ in a Letterplace basering (deprecated; use vdim(G) instead).
teach_lpKDimCheck procedure
fpadim.lib
Deprecated teaching procedure: checks whether K-dimension of A/ is finite (returns 1 if infinite, 0 otherwise).
teach_lpSickleDim procedure
fpadim.lib
Deprecated teaching procedure: computes the K-dimension and mistletoes of K/ in a Letterplace ring.
teachstd.lib library
14 commands
This library provides procedures used in teaching and experimenting with standard basis computations, including auxiliary routines (ecart, tails, S-polynomials, criteria, and pair management) and procedures to compute standard bases.
template_lib topic
general.doc / template_lib
This library provides a simple template for a Singular library, including basic example procedures and an info string.
template.lib library
3 commands
This library provides a simple template for a Singular library, including basic example procedures and an info string.
tensor topic
reference.doc / tensor
Computes the tensor (Kronecker) product of two matrices, modules, or sparse matrices. The result has the same type as the first argument.
tensorBundle procedure
tateProdCplxNegGrad.lib
Computes the tensor product of two bundles.
tensorFreemodMod procedure
modules.lib
Computes the tensor product of a FreeModule and a Module.
tensorFreeModule procedure
modules.lib
Computes the tensor product of two free modules.
tensorMaps procedure
nchomolog.lib
Return the Kronecker/tensor product matrix built from matrices M and N.
tensorMatrix procedure
modules.lib
Computes the tensor product of two matrices.
tensorMod procedure
homolog.lib
Compute a presentation matrix A for coker(A)=tensorprod(coker(Phi),coker(Psi)).
tensorModFreemod procedure
modules.lib
Computes the tensor product of a module and a free module.
tensorModule procedure
modules.lib
Computes the tensor product of two modules.
tensorProduct procedure
modules.lib
Computes a tensor product.
tensorSheaf procedure
schubert.lib
Compute the tensor product of two sheaves.
Term orderings topic
general.doc / Term orderings
Overview of term (monomial) orderings in Singular and how they are specified in ring declarations. Lists global, local, matrix, product, and module orderings, including extra weight vectors.
terms procedure
arnold.lib
Return the list of terms (monomials with coefficients) of a polynomial.
termsOnPolygon procedure
arnold.lib
Return the sum of terms of a polynomial whose exponent points lie on a given Newton polygon.
TernCompare procedure
JMBTest.lib
Compare two terns A and B using lex on A[1]/B[1] and, if needed, J-marked data from G; returns -1/0/1.
TernComparer procedure
JMSConst.lib
Compare two terns using lex order on first entry and, if needed, the associated J-marked polynomials from G.
Terns procedure
JMBTest.lib
Builds a list of position triples [1,c,k] for k=1..size(G[c]) from a list of J-marked polynomials.
Terns procedure
JMSConst.lib
Builds a list of triples [1,c,k] for k=1..size(G[c]) from a list of J-marked polynomials.
testbimoduleslib procedure
bimodules.lib
Runs internal consistency tests/examples for procedures in bimodules.lib.
testdmodapp procedure
dmodapp.lib
Runs the example/test suite for procedures in dmodapp.lib.
testdmodlib procedure
dmod.lib
Runs internal consistency tests by executing example blocks for procedures in dmod.lib.
testdmodvarlib procedure
dmodvar.lib
Run example/tests for procedures in dmodvar.lib (e.g. makeMalgrange, bfctVarIn, bfctVarAnn, SannfsVar).
testFraction procedure
olga.lib
Tests whether a vector represents a fraction in a specified localization; throws an error if checks fail.
TestGRRes procedure
gradedModules.lib
Compute/test and print a graded resolution of an input ideal, including betti numbers and ordered/transposed complexes.
testit procedure
mprimdec.lib
Internal test routine for a module decomposition list (e.g. from GTZmod), performing consistency checks and pausing on errors.
TestJMark procedure
JMBTest.lib
Test whether a degree-grouped list of J-marked polynomials forms a J-marked basis (returns 1 true / 0 false).
testLift procedure
freegb.lib
Assemble the lifted submodule/ideal from a lift matrix T with respect to generators of M (inverse of lift).
testLocData procedure
olga.lib
Validate that locType/locData specifies a denominator set; throws an error if locStatus checks fail.
testMultigradingLib procedure
multigrading.lib
Runs the bundled example tests/demonstrations for procedures in multigrading.lib.
testncdecomplib procedure
ncdecomp.lib
Runs the ncdecomp.lib example tests (CentralQuot, CentralSaturation, CenCharDec, IntersectWithSub).
testNCfac procedure
ncfactor.lib
Check whether factorizations in a list multiply to the same element or to a given polynomial in the first Weyl algebra.
testNcfrac procedure
ncfrac.lib
Execute a series of internal testing procedures for ncfrac.lib.
testNcfracExamples procedure
ncfrac.lib
Execute the examples of all procedures in the ncfrac.lib library.
testNcloc procedure
ncloc.lib
Execute a series of internal testing procedures for ncloc.lib.
testNclocExamples procedure
ncloc.lib
Execute the examples of all procedures in the ncloc.lib library.
testOlga procedure
olga.lib
Execute a series of internal testing procedures for olga.lib.
testOlgaExamples procedure
olga.lib
Execute the examples of all procedures in the olga.lib library.
testParametrization procedure
paraplanecurves.lib
Test whether the ideal PARA in a given ring defines a parametrization of the plane curve {f=0}.
testPointConic procedure
paraplanecurves.lib
Test whether the matrix 'point' in ring r lies on the conic defined by p.
testPolyBox procedure
interval.lib
Tests whether an ideal has no zero, a unique zero, or inconclusive within a given interval box.
testPrimary procedure
primdec.lib
Checks whether the intersection of ideals in a primary decomposition list equals a given ideal.
testPrimaryE procedure
primdec.lib
Test whether the intersection of the ideals in a primary decomposition list equals a given ideal.
testPurityfiltrationLib procedure
purityfiltration.lib
Runs the built-in example tests for functions in purityfiltration.lib.
testreducible procedure
hnoether.lib
Tests whether the Newton diagram of f has points below the line from (0,n) to (m,0).
testSyz procedure
freegb.lib
Test whether a given module S is a syzygy bimodule of an ideal M by substituting generators and returning the resulting relations.
testZero procedure
ringgb.lib
Test whether a polynomial is zero as a function; returns 1 or a counterexample list [f(value), x1, ..., xn].
tetrahedronGroup procedure
fpalgebras.lib
Constructs a Letterplace free-algebra ring for one of 5 generalized tetrahedron group examples and exports its defining ideal I.
tex procedure
latex.lib
Compile a LaTeX file via system call (default 'latex2e'), normalizing filename by stripping leading '>>' and adding '.tex'.
texcoef procedure
findifs.lib
Convert a Singular number into a TeX-formatted string (uses \frac for nontrivial denominators).
texdemo procedure
latex.lib
Generate the LaTeX2e demo file texlibdemo.tex documenting latex.lib features (optionally setting the random seed).
texDrawBasic procedure
tropical.lib
Wrap a list of texdraw command strings into a complete LaTeX texdraw environment string.
texDrawNewtonSubdivision procedure
tropical.lib
Return TeXdraw code for the Newton subdivision of a tropical plane curve given by the tropicalCurve output.
texDrawTriangulation procedure
tropical.lib
Return TeXdraw code (without environment) for drawing a triangulation of a marked lattice polygon.
texDrawTropical procedure
tropical.lib
Return TeXdraw code (as a string) for the tropical plane curve encoded by the tropicalCurve output.
texfactorize procedure
latex.lib
Factorizes a polynomial and formats it as a LaTeX product; returns the TeX string if fname is empty, else appends to .tex.
texmap procedure
latex.lib
Typeset a Singular map from @r1 to @r2 in TeX, returning a string or appending it to a .tex file.
texMatrix procedure
tropical.lib
Return a TeX string representing a given matrix.
texname procedure
latex.lib
Transform a string into a LaTeX-friendly form; either return it (fname="") or append it to a .tex file.
texNumber procedure
tropical.lib
Return a TeX string for the leading coefficient of a polynomial, formatted as a fraction via \tfrac when needed.
texobj procedure
latex.lib
Convert objects to LaTeX; return the LaTeX string if fname="", otherwise append it to a .tex file.
texpoly procedure
latex.lib
Convert a polynomial/number (or ideal) to LaTeX; return the TeX string for fname="" or append it to a .tex file.
texPolynomial procedure
tropical.lib
Convert a polynomial into a TeX command string representing it.
texproc procedure
latex.lib
Render a named procedure as LaTeX verbatim; return it if fname is empty, otherwise append it to a .tex file.
texring procedure
latex.lib
Convert a ring (or qring) to a LaTeX/TeX representation, returning it or appending it to a .tex file.
The online help system topic
general.doc / The online help system
Describes how to use Singular’s online help system, including available help browsers, configuration options, and troubleshooting. Also introduces Info-based help browsers and their navigation commands.
The SINGULAR language topic
general.doc / The SINGULAR language
Introduces the basic concepts of the Singular language, including expressions, commands, and control structures, and outlines key notational conventions and related reference sections.
The SINGULAR prompt topic
general.doc / The SINGULAR prompt
Explains the main and continuation prompts in Singular and when Singular waits for additional input before returning to the regular prompt.
thread kernel type
kernel
threadExecFile procedure
systhreads.lib
Read and execute the contents of a file in the given thread.
threadExecString procedure
systhreads.lib
Execute Singular code given as a string in the specified thread.
threadLoadLib procedure
systhreads.lib
Load a Singular library into a given thread using load(libname, "with").
threadpool kernel type
kernel
threadPoolExecFile procedure
systhreads.lib
Execute the Singular code contained in a file by submitting it as a task to a thread pool.
threadPoolExecString procedure
systhreads.lib
Submit a string of Singular code to a thread pool for eval+execute via threadPoolExec.
threadPoolLoadLib procedure
systhreads.lib
Load a Singular library in a given thread pool via threadPoolExec.
three_elements procedure
crypto.lib
Extend an injective knapsack by repeatedly inserting three computed elements (three-elements method).
timeFactorize procedure
general.lib
Factorize a polynomial, optionally aborting after a given number of seconds and treating it as irreducible if unfinished.
timeNormal procedure
normal.lib
Benchmark wrapper that runs selected normality-related procedures on an ideal and prints timing information based on option strings.
timer topic
reference.doc / timer
Documents the global variable timer, which controls command timing output and provides CPU time since Singular startup. Includes defaults, command-line options, Windows95/98 limitations, and examples.
timeStd procedure
general.lib
Compute std(i) with an optional time limit; on timeout returns the input ideal.
timestep procedure
finitediff.lib
Split a polynomial matrix into highest t-degree part and remaining lower t-levels, returning the pair (M1,M2) with M1-M2=M.
tInitialForm procedure
tropical.lib
Compute the t-initial form of f w.r.t. weight vector w and evaluate it at t=1.
tInitialFormPar procedure
tropical.lib
Compute the t-initial form of f w.r.t. weight (1,w) and evaluate at t=1.
tInitialFormParMax procedure
tropical.lib
Compute the t-initial form of f(t,x) with maximal weighted order (1,w), then evaluate at t=1.
tInitialIdeal procedure
tropical.lib
Compute the t-initial ideal of an ideal i with respect to a weight vector w.
Tjurina procedure
sing.lib
Compute the Tjurina module/ideal of an ICIS and optionally return the Tjurina number, deformation basis, and related data.
tjurina procedure
sing.lib
Compute the Tjurina number of an input ideal or polynomial; returns -1 if the input is not an ICIS.
tmatrix procedure
gmssing.lib
Compute Gauss-Manin/Brieskorn lattice t-matrix data, returning matrices and bases (A0,A1,T,M) for a given polynomial.
todd procedure
chern.lib
Compute the first (optionally n) terms of the Todd class from a list of Chern class polynomials.
toddE procedure
chern.lib
Computes the highest relevant term of the Todd class from a list of Chern class polynomials.
toddPoly procedure
chern.lib
Compute the polynomial in t corresponding to the Todd class from a list of td(i) polynomials.
tolessvars procedure
presolve.lib
Create a ring with only the variables occurring in id and store the image of id as IMAG in that ring.
Top tutorial
tutor.tex / Top
Top-level navigation for the Singular tutorial, listing the main sections.
Top 20 Emacs commands topic
general.doc / Top 20 Emacs commands
List of 20 commonly used commands for the Singular Emacs interface, grouped by task. Includes starting/stopping, editing, loading files/demos, help, and customization.
topChernClass procedure
schubert.lib
Compute the top Chern class of a sheaf.
Topics page
Integrated manual, tutorial, wiki, and topic pages.
Tor procedure
homolog.lib
Compute Tor_k(coker(M), coker(N)) for modules given by presentations M and N.
Toric ideals topic
math.doc / Toric ideals
Defines toric ideals associated with an integer matrix and outlines how to compute generators via a lattice basis and saturation. References LLL computation and related algorithm sections.
Toric ideals and integer programming topic
math.doc / Toric ideals and integer programming
Entry points to the documentation sections on toric ideals, integer programming, and relevant references.
toric_ideal procedure
toric.lib
Compute a standard basis of the toric ideal defined by an integer matrix A using a chosen algorithm.
toric_std procedure
toric.lib
Compute a standard basis of a (supposed) toric ideal using a specialized Buchberger algorithm.
toric.lib library
2 commands
## Standard Basis of Toric Ideals
toricRingFromBinomials procedure
normaliz.lib
Compute the toric ring K[N] associated to a binomial ideal and return it as a newly created polynomial ring (with exported ideal I).
torus procedure
invar.lib
Set the current group to an n-dimensional torus by defining group, groupideal and reynolds, and switching the basering to group.
torusInvariants procedure
normaliz.lib
Compute monomial generators of the invariant ring of a diagonal torus action given by an integer matrix.
torusrep procedure
invar.lib
Build the diagonal matrix over 'group' representing the torus action with the given weight vectors.
torusreynolds procedure
invar.lib
Applies the Reynolds operator to f for a torus or finite group action.
totalChernClass procedure
schubert.lib
Compute the total Chern class of a sheaf as a polynomial.
totalmultiplicities procedure
alexpoly.lib
Compute resolution incidence graph and total/strict multiplicities of branches along exceptional divisors for a plane curve singularity.
totalSegreClass procedure
schubert.lib
Compute the total Segre class of a sheaf as a polynomial.
trace topic
reference.doc / trace
Computes the trace of an intmat or a matrix. The return type depends on the argument type.
TRACE var topic
reference.doc / TRACE var
Describes the integer variable TRACE, which controls the debugging level in Singular. Lists available TRACE levels and provides a short example.
tracemult procedure
rootsmr.lib
Compute the trace of multiplication by f on r/I with respect to the monomial basis B (faster than matmult+trace).
Tracing of procedures topic
general.doc / Tracing of procedures
Describes how to use the TRACE variable to report procedure execution, including line numbers and interactive line-by-line tracing.
tradblwup procedure
resbinomial.lib
Internal helper: appends to each intvec in blwhist[1..n] either Y (if j equals some a[i] with a[i]!=Y) or 0.
tradtoideal procedure
resbinomial.lib
Translate an intvec describing a blowing-up center into its defining ideal (or return J2 if a==0).
transformation.lib library
1 commands
The image of a map defined by a matrix is computed up to a specified degree. This can be useful, in particular in Singularity theory, when working with right equivalence.
transformationsAfterSplit procedure
arnold.lib
Return the right-equivalence transformation chain (up to a determinacy bound) used after splitting off the degenerate part to reach a NNB germ.
transformationsBeforeSplit procedure
arnold.lib
Return the (possibly inverted) coordinate transformations applied before the Morse split, up to the determinacy filtration.
transpose topic
reference.doc / transpose
Documents the Singular function transpose, which transposes matrices (including integer, sparse, and module matrices) and returns the corresponding transposed type.
transWithPrecision procedure
transformation.lib
Compute the image of a polynomial under a transformation given by a 1xn matrix, truncated to a specified degree.
trapezoid procedure
finitediff.lib
Return a predefined trapezoid finite-difference approximation combining two derivatives along a given variable.
tree procedure
redcgs.lib
Searches list L for an entry whose first component equals lab; returns the matching entry with its index or a default.
triagmatrix procedure
random.lib
Create an n×m lower triangular matrix with 1s on the diagonal and random polynomial entries below, with sparsity/degree controls.
triang_solve procedure
solve.lib
Solve a list of triangular systems over char 0 by switching to a complex ring and storing the computed roots in rlist.
triang.lib library
4 commands
Decomposes zero-dimensional ideals into triangular sets using several algorithms.
triangL procedure
triang.lib
Decomposes a zero-dimensional ideal given by a reduced lex Groebner basis into a list of triangular systems (Lazard algorithm).
triangL_solve procedure
solve.lib
Compute all complex roots of a zero-dimensional ideal via Lazard triangular system; returns a ring containing list rlist of roots.
triangle procedure
jacobson.lib
Computes a Groebner-basis-based triangularization/reduction process for a matrix using engine(...,B).
triangLf_solve procedure
solve.lib
Compute all complex roots of a zero-dimensional ideal via a factorizing Lazard triangular system; returns a ring containing rlist.
triangLfak procedure
triang.lib
Compute Lazard triangular decomposition with factorization from a reduced lex Gröbner basis of a zero-dimensional ideal.
triangM procedure
triang.lib
Decomposes a zero-dimensional lex Gröbner basis into a list of triangular systems; optionally factorizes polynomials when i=2.
triangM_solve procedure
solve.lib
Compute all complex roots of a zero-dimensional ideal via Moeller triangular decomposition, returning a complex coefficient ring with rlist.
triangMH procedure
triang.lib
Compute a triangular decomposition of a zero-dimensional ideal given by a reduced lex Gröbner basis (optionally with factorization).
triangularGroup procedure
fpalgebras.lib
Construct a Letterplace ring for a chosen triangular (generalized tetrahedron) group example, with relations stored in ideal I.
triangulations procedure
polymake.lib
Compute (regular) triangulations of a marked polytope given by lattice points; returns triangles as index triples into the input list.
Tricks and pitfalls manual
tricks.doc
Table of contents for the “Tricks and pitfalls” document, listing the main sections and their corresponding nodes.
triMNewton procedure
ntsolve.lib
Triangular Newton iteration to improve a numeric approximation of a common zero of a triangular polynomial system.
TropCovandMaps procedure
tropicalEllipticCovers.lib
Create a LaTeX/PDF drawing of all curled pearl-chain covers and corresponding stable maps (floor diagrams) for fixed vertex order and degree partition.
tropical.lib library
45 commands
### Computations in Tropical Geometry
Tropicalcover procedure
tropicalEllipticCovers.lib
Compute a list of matrices encoding tropical covers of an elliptic curve for a given graph, vertex order, and cover type.
tropicalCurve procedure
tropical.lib
Compute the vertex/edge graph of a tropical plane curve and Newton subdivision data from a tropical polynomial (list of linear forms or polynomial in Q(t)[x,y]).
tropicalEllipticCovers.lib library
16 commands
We implement formulas to compute numbers of covers of (abstract) elliptic curves, with and without tangency conditions, and of the surface ExP1.
tropicalise procedure
tropical.lib
Compute the tropicalisation of a polynomial as a list of linear forms, using t-valuation (min by default, max if option given).
tropicaliseSet procedure
tropical.lib
Tropicalises each generator of an ideal and returns the results as a list.
tropicalJInvariant procedure
tropical.lib
Compute the weighted lattice length of the unique loop of a genus-1 tropical plane curve (tropical j-invariant), else return -1.
tropicalLifting procedure
tropical.lib
Lift a tropical point given by weight w to a Puiseux-series solution of ideal i up to order ord, with optional flags.
tropicalLinkNewton procedure
tropicalNewton.lib
Compute generators of all rays of the tropical variety of an ideal (constant coefficient case), returning them as a matrix.
tropicalNewton.lib library
8 commands
This library contains algorithms for computing
tropicalPointNewton procedure
tropicalNewton.lib
Compute one tropical point of an ideal via Newton polygon analysis and random generic hyperplane substitutions.
tropicalSubst procedure
tropical.lib
Tropicalises f after substituting variables by given polynomials and replacing parameter t by t^(1/N) in them.
tropicalVariety procedure
tropical.lib
Compute the tropical variety (as a fan) of a polynomial or homogeneous ideal w.r.t. the trivial or a p-adic valuation.
tropicalVarietyNewton procedure
tropicalNewton.lib
Compute the tropical variety via Newton polygons; returns a list of matrices representing all tropical points.
trunc procedure
lejeune.lib
Compute the i-th truncation data for f, producing a new ring and storing a list of equation/inequation ideals in result.
truncate procedure
sheafcoh.lib
Return a presentation module for the truncation of coker(phi) at degree d.
truncateCoker procedure
tateProdCplxNegGrad.lib
Return a presentation module for the truncation of coker(M) at multidegree c.
truncateFast procedure
sheafcoh.lib
Fast experimental computation of a presentation matrix for the degree-d truncation of coker(M) for a graded module.
truncateM procedure
tateProdCplxNegGrad.lib
Return the multigraded truncation M_{>= c} of a multigraded module M.
truncdec procedure
surfex.lib
Truncate a decimal number to a given number of digits and return it as a string.
tschirnhaus procedure
classify.lib
Compute a Tschirnhaus shift in variable x to eliminate the x^(deg-1) term, returning the transformed polynomial and the applied map.
tst_cyclic procedure
tst.lib
Constructs the cyclic-n benchmark ideal in n variables (cyclic sums plus product(x_i)-1).
tst_findif procedure
findifs.lib
Runs the built-in examples/tests for the findifs.lib library (no arguments).
tst_FullIdeal procedure
tst.lib
Constructs and returns an ideal formed by summing generators of maxideal(i) for each variable i in the current basering.
tst_GetTimer procedure
tst.lib
Return timer ticks of elapsed CPU time since the last call to tst_Init.
tst_groebnerTest procedure
tst.lib
Tests whether groebner(i) and std(i) produce equal results (by reductions and leading ideals), optionally printing output, returns 1/0.
tst_hom_cyclic procedure
tst.lib
Constructs and returns a modified cyclic ideal based on tst_cyclic(n), adjusting the n-th generator.
tst_ignore procedure
tst.lib
Write system-dependent data as a prefixed comment line (optionally with keyword/hostname) to stdout or a writable link.
tst_init procedure
tst.lib
Initialize tst status output; optionally set the status output file.
tst_InitTimer procedure
tst.lib
Initialize the tst timer for subsequent tst_StopTimer/tst_ReportTimer calls, optionally setting ticks-per-second resolution.
tst_ncfactor procedure
ncfactor.lib
Run internal tests for ncfactor.lib static and non-static functions to verify the library works correctly.
tst_next_ring procedure
tst.lib
Iterate to the next generated ring description string; returns "" when no further rings are available.
tst_OutTimer procedure
tst.lib
Report a timer tick value to tst-output, optionally prefixed by a given label.
tst_PrintStats procedure
tst.lib
Prints per-entry size and leading term for an indexed object id, and the total sum of sizes.
tst_ReportTimer procedure
tst.lib
Stop a previously initialized tst timer and report the elapsed time to tst-output, optionally prefixed.
tst_rgen_generate_block procedure
tst.lib
Constructs and returns a block ordering string based on a simple ordering code, number of variables, and optional extra weights.
tst_rgen_generate_blocks procedure
tst.lib
Generate a list of blocks by combining each simple ordering with each extra weight via tst_rgen_generate_block.
tst_rgen_generate_product_orderings procedure
tst.lib
Generate product (block) monomial ordering strings by combining block orderings from tst_rgen_generate_blocks according to products.
tst_rgen_init procedure
tst.lib
Initialize and export global random generator configuration lists/index variables for tst.lib.
tst_rgen_init_matrix procedure
tst.lib
Create an n x n integer identity matrix (diagonal entries set to 1).
tst_rgen_init_weights procedure
tst.lib
Initialize a weight intvec of length n with entries 1..n.
tst_status procedure
tst.lib
Write current memory usage and CPU time to tst-output; reports elapsed time since last call or since Singular start-up.
tst_stdEqual procedure
tst.lib
Test whether two ideals define equal standard bases via reduced SB equality, mutual reduction to zero, and equal leading ideals.
tst_StopTimer procedure
tst.lib
Stop the timer started by tst_InitTimer and return elapsed CPU time in timer ticks.
tst_system procedure
tst.lib
Run a shell command via system("sh", ...) and return its combined stdout/stderr as a string.
tst_test_res procedure
tst.lib
Test consistency of various resolutions of a homogeneous ideal using betti tables and list/resolution conversions.
tst_TestAdd procedure
tst.lib
Internal test routine performing repeated add/multiply updates on an ideal (or derived module) and printing size/lead statistics.
tst_TestMult procedure
tst.lib
Repeatedly multiplies generators of an ideal (or derived module) by selected generators, printing size/lead stats and returning the result.
tst.lib library
25 commands
This library provides procedures for running automatic tst tests in Singular. It includes helpers to execute shell commands, write test status information, measure run times, and run a few standard algebraic test cases.
tstfpadim procedure
fpadim.lib
Runs the example/test suite bundled with fpadim.lib (invokes multiple predefined examples).
tstfpalgebras procedure
fpalgebras.lib
Runs a suite of example tests from fpalgebras.lib (e.g., operatorAlgebra, Serre/Adem relations, and various group examples).
tstfpaprops procedure
fpaprops.lib
Runs the fpaprops.lib example tests (lpNoetherian, lpIsSemiPrime, lpIsPrime, lpGlDimBound, lpGkDim, lpSubstitute, lpCalcSubstDegBound).
tstfreegb procedure
freegb.lib
Runs internal example-based tests/demonstrations for procedures in freegb.lib (letterplace/free Gröbner basis utilities).
tstjacobson procedure
jacobson.lib
Run consistency tests for procedures in jacobson.lib (divideUnits, smith, jacobson).
tutor-titlepage.tex tex
tutor-titlepage.tex
Title page for the Singular tutorial, including authorship, contributors, and contact information.
twalk procedure
grwalk.lib
Compute a standard basis using the Tran algorithm for an ordering (a(w),lp) (default uses a(1,0,...,0)).
twist procedure
tateProdCplxNegGrad.lib
Twist a multigraded module by an intvec, returning the module with updated grading.
twostd BR_LETTERPLACE_BR topic
letterplace.doc / twostd BR_LETTERPLACE_BR
Describes twostd, which computes a two-sided Gröbner basis for a two-sided ideal generated by the given input. Includes syntax, type, purpose, an example, and related references.
twostd BR_PLURAL_BR topic
plural.doc / twostd BR_PLURAL_BR
Describes twostd, which computes a two-sided Gröbner basis for a two-sided ideal generated by the input.
type topic
reference.doc / type
Describes the Singular command type and its syntax. Shows how to print a variable’s name, level, type, and value, with a short example.
Type conversion and casting topic
general.doc / Type conversion and casting
Describes implicit type conversions during assignments, operators, and functions, and lists all supported conversions. Also explains explicit type casting syntax with examples.
type2arr procedure
arr.lib
Converts general input to an arrangement (arr) by attempting to cast it using arrAdd.
type2bideal procedure
polybori.lib
Convert an ideal/list/Python list-like input into a polybori bideal (or boolean_ideal for Singular ideals).
typeof topic
reference.doc / typeof
Returns the type of an expression as a string. For expression lists, it returns the type of the first list element.
Types page
Library-defined and kernel types.
Typesetting of help and info strings topic
general.doc / Typesetting of help and info strings
Explains how Singular library info strings and procedure help strings are parsed and converted to texinfo. Lists recognized patterns and supported texinfo markup elements with examples.

U

EntryDescription
u procedure
finitediff.lib
Return the vector gen(pos(D,@derivatives)) multiplied by the monomial defined by optional exponent data.
U_D_O procedure
linalg.lib
Compute P,U,D,O with PA = UDO for a constant invertible matrix A; returns list [P,U,D,O] or [-1] if singular.
unbounded_knapsack procedure
crypto.lib
Compute dynamic-programming maximum achievable profit for each capacity up to a given limit (unbounded knapsack).
union procedure
scheme.lib
Compute the scheme-theoretic union of two compatible schemes.
union procedure
sets.lib
Compute the union of two sets.
unique procedure
finvar.lib
Test whether the last element of a list is unique among its preceding elements.
uniquePoint procedure
gfan.lib
Return a unique point in a cone that is stable under reflections at coordinate hyperplanes.
unitmat procedure
matrix.lib
Return the n×n unit (identity) matrix over the current basering.
unitMatrix procedure
rootisolation.lib
Create an n×n unit interval (identity-like) matrix.
unitMatrix2 procedure
interval.lib
Return the n×n unit (identity) matrix as an interval matrix.
univariate topic
reference.doc / univariate
Describes the Singular function univariate, which tests whether a polynomial is univariate and returns information about its variable.
univarpoly procedure
rootsmr.lib
Construct a univariate polynomial in the first basering variable from a list of coefficients.
Unix installation instructions topic
platform.doc / Unix installation instructions
Instructions for installing Singular on Unix systems, either by using prebuilt binaries or building from source, including required packages and optional components.
updatePairs procedure
teachstd.lib
Enlarge a pairset by adding pairs (f,h) for f in an ideal/module, skipping those removed by product or chain criterion.
UpOneMatrix procedure
nctools.lib
Compute an n x n integer matrix with 1s in the upper triangle.
UpperMonomials procedure
qhmoduli.lib
Compute the upper monomials of the Milnor algebra of a quasihomogeneous polynomial.
ures_solve procedure
solve.lib
Find complex roots of a 0-dimensional quadratic ideal using sparse or Macaulay resultants; returns roots list or a complex ring with SOL.
uressolve topic
reference.doc / uressolve
Computes all complex roots of a zero-dimensional ideal using a resultant method and Laguerre's algorithm. The result is returned as a list.
Usage of brackets topic
tricks.doc / Usage of brackets
Explains the mandatory use of curly brackets for statement bodies and parentheses in procedure return statements in Singular, with examples of incorrect and correct syntax.
Usage of commas topic
tricks.doc / Usage of commas
Explains how commas work in Singular: they separate list elements and evaluate to a list, so they cannot combine multiple expressions into one.
UseBertini procedure
numerDecom.lib
Writes a Bertini input file for the given ideal and runs Bertini to compute solutions of the homotopy.
Used environment variables topic
platform.doc / Used environment variables
Lists the environment variables Singular uses to locate executables, libraries, modules, and documentation, including their defaults. Notes how to print the effective paths and applicability to libSingular.
User defined types topic
types.doc / User defined types
Describes user defined types as fixed-size, non-empty lists with named elements and predefined element types. Notes ring-dependence and provides links to related sections.
usercard.tex tex
usercard.tex
Quick reference card for Singular 3-0, listing common commands and concepts for interactive use. Covers starting/stopping, help, rings, orderings, data types, options, I/O, mappings, and core algorithms.

V

EntryDescription
val procedure
tropicalNewton.lib
Return the valuation of a nonzero ground-field element with respect to the globally set uniformizingParameter.
valuations procedure
normaliz.lib
Procedure valuations from normaliz.lib (no further documentation available).
valueOf procedure
polyclass.lib
Return the underlying Singular poly stored in the Poly object's value field.
valvars procedure
presolve.lib
Computes a valuation-based complexity ordering of variables w.r.t. an input poly/ideal/vector/module and returns permutations and valuation data.
vandermonde topic
reference.doc / vandermonde
Computes the unique polynomial of a given degree with prescribed values at specified points by solving a transposed Vandermonde system. Requires the rational ground field and numeric input ideals with specific constraints.
vanishId procedure
decodegb.lib
Construct the vanishing ideal of a finite set of points (given as a list of matrices).
var topic
reference.doc / var
var(n) returns the n-th ring variable as a polynomial.
variables topic
reference.doc / variables
Describes the Singular function variables, which returns the list of all ring variables on which the given argument depends.
variablesSorted procedure
central.lib
Return an ideal generated by algebra variables sorted with Cartan variables first (heuristic for center computations).
variablesStandard procedure
central.lib
Return the ideal generated by the algebra variables in their natural order.
varieties procedure
paraplanecurves.lib
Procedure varieties from paraplanecurves.lib (no further interface details available).
variety type
schubert.lib
An abstract variety represented by its dimension and its Chow ring.
varMat procedure
arr.lib
Builds a column matrix containing the ring variables specified by indices in an intvec.
varNum procedure
arr.lib
Return the index of a basering variable (by name string or ring variable poly), or 0 if not present.
vars2pars procedure
dmodloc.lib
Return a new ring where the variables indexed by v in the current commutative basering are converted into parameters.
varsigns procedure
rootsur.lib
Return the number of sign changes in a list (zeros do not count as changes).
varstr topic
reference.doc / varstr
Describes the Singular function varstr, which returns ring variable names as a string or the name of the n-th ring variable.
VarToPar procedure
finitediff.lib
Substitute each variable var(i) in a polynomial by the corresponding parameter par(i) in the current basering.
VConst procedure
JMBTest.lib
Compute and return the list V of Vm-monomial/position data from G up to bound c (CR algorithm variant).
VConst procedure
JMSConst.lib
Compute and return the list V encoding Vm multiplication monomials and their positions for input list G up to bound c.
vdim topic
reference.doc / vdim
Computes the vector space dimension of a ring or free module modulo the ideal or module generated by the initial terms of given generators. Returns -1 if the ideal or module is not zero-dimensional.
vdim BR_LETTERPLACE_BR topic
letterplace.doc / vdim BR_LETTERPLACE_BR
Computes the vector space dimension over the ground field of a ring modulo the ideal generated by the leading terms of given generators. Returns -1 if the ideal is not finite-dimensional.
vdim BR_PLURAL_BR topic
plural.doc / vdim BR_PLURAL_BR
Describes vdim for computing the vector space dimension of a factor module defined by leading terms of generators, returning -1 if infinite. Includes notes for the non-commutative case and an example.
vec2poly procedure
bfun.lib
Construct an univariate polynomial in the i-th ring variable from coefficients given by a vector or intvec.
VecField kernel type
kernel
VecField.lib library
10 commands
Implements a class VecField, represented by a vector.
vecFieldToMatrix procedure
VecField.lib
Return the matrix of a vector field restricted to span(W) with respect to the basis given by W.
vector kernel type
kernel
module element
vector topic
types.doc / vector
Describes vectors in Singular as elements of a free module over the basering, including their representation and related documentation sections.
Vector type
modules.lib
An element of a Module.
vector declarations topic
types.doc / vector declarations
Defines a vector of polynomials, i.e., an element of a free module. Provides syntax, default value, and an example.
vector expressions topic
types.doc / vector expressions
Defines what constitutes a vector expression in Singular and provides an example illustrating ordering effects.
vector operations topic
types.doc / vector operations
Reference for basic vector operations in Singular, including arithmetic, comparisons, and indexing, with a short example.
vector related functions topic
types.doc / vector related functions
List of Singular functions related to vectors, with brief descriptions and cross-references to their manual entries.
verbatim_tex procedure
control.lib
Write a string to a link/file wrapped in a LaTeX verbatim environment.
verify procedure
rootsmr.lib
Checks whether polynomial p splits the points of V(I) using basis B; returns 1 iff verification succeeds.
veronese procedure
recover.lib
Compute the ideal giving the image of a point p under the degree d Veronese embedding.
versal procedure
deform.lib
Compute a miniversal deformation of an isolated singularity ideal, optionally bounded by degree and with configurable/interactive parameters.
Version schema for Singular topic
platform.doc / Version schema for Singular
Describes the Singular version numbering scheme and how to distinguish official releases from development builds.
Version string topic
general.doc / Version string
A version string is part of a library header. It defines the library version number and is displayed when the library is loaded.
version.texi.in doc
version.texi.in
vertices procedure
gfan.lib
Compute the vertices of a polytope modulo its lineality space.
verticesOfNP procedure
arnold.lib
Return the vertices of a Newton polygon (given in the format returned by newtonPolygon).
vfilt procedure
gmssing.lib
Compute the V-filtration on H''/sH'' for a polynomial with an isolated critical point at 0.
Vfiltration procedure
hodge.lib
Compute R-generators for the V-filtration on R_f f^s, truncated up to degree p in partial_t, returning a ring containing Vfilt.
view procedure
control.lib
Formatted output for matrices/modules and lists thereof (shows full entries); otherwise prints like print.
viewMathml procedure
mathml.lib
Wrap a MathML string into an HTML file and open it in a browser for viewing.
visualize procedure
finitediff.lib
Translate a finite difference scheme polynomial into indexed-notation string as used in the literature.
VmConstructor procedure
JMSConst.lib
Constructs and degree-orders V-constants from G using parameter c (and r) and returns the ordered list.
voice topic
reference.doc / voice
Documents the variable voice, which shows the nesting level of procedures. Includes an example and related references.
vStd procedure
classifyMapGerms.lib
Compute a standard basis of M+N+maxideal(bound)A^r and return generators plus their reduced echelon form.
vwfilt procedure
gmssing.lib
Compute weighted V-filtration and spectral pair data for t on H''/sH'' (mixed Hodge structure invariants).

W

EntryDescription
waitall topic
reference.doc / waitall
Waits for a list of open links to finish (be ready to read), optionally with a timeout in milliseconds. Returns an integer indicating timeout, readiness, or EOF/crash state.
waitAllTasks procedure
tasks.lib
Wait for all given tasks to complete; sets their state to 'completed' and returns nothing.
waitfirst topic
reference.doc / waitfirst
Waits for the first of several open links to finish (become readable), optionally with a timeout. Returns a status code indicating readiness, timeout, or EOF/crash conditions.
waitTasks procedure
tasks.lib
Wait for N tasks in a list to complete (optionally with timeout) and return an ordered list of indices of successfully completed tasks.
warkedModule kernel type
kernel
warkedModule_print procedure
graal.lib
Prints a worked module representation over Q^0[Y] and K[Y], including generators, standard basis, and weights.
warkedPreimageStd procedure
graal.lib
Compute (via lifting) standard bases and transformation matrices for a warkedModule, filling stdmodQ0y/stdmodKy and qQ0y/qKy.
watchdog procedure
general.lib
Wait for the result of command cmd for at most i seconds.
wedge topic
reference.doc / wedge
Computes the n-th exterior power of a matrix.
weierstr.lib library
4 commands
This library provides procedures related to the Weierstrass theorems, in particular Weierstrass division and Weierstrass preparation, for polynomials with respect to the last variable.
Weierstrass procedure
brnoeth.lib
Compute the Weierstrass semigroup at a rational place CURVE[3][P] up to m and corresponding rational functions.
weierstrDiv procedure
weierstr.lib
Perform Weierstrass division of g by f up to total degree d (returns quotient jet, remainder jet, and iteration count).
weierstrPrep procedure
weierstr.lib
Compute Weierstrass preparation of f in the last variable up to total degree d, returning unit, Weierstrass polynomial, and iteration count.
weight topic
reference.doc / weight
Computes an "optimal" weight vector for an ideal or module to speed up the standard basis algorithm. If the input is weighted homogeneous, it finds a corresponding weight vector.
weightedRing procedure
nctools.lib
Create a new ring with weighted ordering so the relations satisfy the G-algebra ordering condition.
weightKB procedure
standard.lib
Compute the weighted degree-d part of a monomial vector-space basis modulo an ideal/module, using weights given by wim.
weightKB topic
reference.doc / weightKB
Reference entry for the Singular command or topic "weightKB".
weightVectorToOrderMatrix procedure
tropical.lib
Construct an order matrix of full rank for a weighted degree ordering from a non-zero weight vector.
Weyl procedure
nctools.lib
Create a Weyl algebra structure on the current basering (requires an even number of variables; supports two variable-pairing conventions).
WeylClosure procedure
dmodloc.lib
Compute the Weyl closure of a left ideal in the Weyl algebra (intersection of its rational Weyl extension with W).
WeylClosure1 procedure
dmodloc.lib
Compute the Weyl closure of the principal left ideal generated by an operator in the first Weyl algebra.
whichvariable procedure
rootsur.lib
Return the variable of a univariate monomial; otherwise return 0 (requires p to be a monomial).
while topic
reference.doc / while
Describes the while control structure for repeated conditional execution of a block. Includes syntax, behavior, and an example with break.
Windows installation instructions topic
platform.doc / Windows installation instructions
Instructions for installing Singular on Windows via Cygwin or the Windows Subsystem for Linux (WSL) with Ubuntu.
WitSet procedure
numerDecom.lib
Compute witness point sets W(0..d) (and generic linear polynomials L) for i-dimensional components of V(I).
WitSupSet procedure
numerDecom.lib
Compute witness point super sets for components of V(I) by dimension, along with generic linear polynomials and a square system.
WLCGS procedure
grobcov.lib
Compute a comprehensive Gröbner system (full representation) for a parametric ideal using WLemma.
WLemma procedure
grobcov.lib
Compute (lpp,B,S) from Wibmer's Lemma: reduced specialized Groebner basis B of F over a segment S in V(A), with S in P/C-representation.
WPred procedure
redcgs.lib
Returns the factor of f obtained by removing all prime-power factors that lie in the ideal W.
Wred procedure
redcgs.lib
Remove from f all irreducible factors that occur (up to sign) among the generators of W.
write topic
reference.doc / write
Describes the write command, which writes data to various link types (ASCII, ssi, ssi:string, and DBM). Includes syntax variants, behavior notes, and examples.
writeBertiniInput procedure
recover.lib
Write/overwrite a Bertini input file named "input" using the polynomials in an ideal as functions.
writeDataToSSI procedure
ssi.lib
Write a list of expressions/objects to an SSI file at the given path.
writeNmzData procedure
normaliz.lib
Write one or more (matrix,type) sections to a Normaliz .in input file for the currently set Normaliz filename.
writeNmzPaths procedure
normaliz.lib
Write Normaliz executable and data directory paths to nmz_sing_exec.path and nmz_sing_data.path in the current directory.
writeSSI procedure
ssi.lib
Write each expression from a list to an SSI file via the given link.
writeToString procedure
ssi.lib
Convert an arbitrary Singular value to its string representation using system("ssi", d).
Writing procedures and libraries topic
examples.doc / Writing procedures and libraries
Explains how to extend Singular by writing procedures and libraries, with examples and contribution requirements. Includes sample procedures and notes on dynamic modules.
Writing procedures and libraries tutorial
tutor.tex / Writing procedures and libraries
How to extend Singular by writing procedures and organizing them in libraries. Includes contribution requirements and several example procedures, including one that creates a new ring and returns ring-dependent data.
WSemigroup procedure
curvepar.lib
Compute the Weierstrass semigroup of a parametrized space curve up to a given bound b0.
wurzel procedure
aksaka.lib
Compute the square root of a nonnegative number (requires basering characteristic 0).
WW procedure
redcgs.lib
Compute the product ∏_i (W[i])^(lambda[i]); returns 1 if W is empty.

X

EntryDescription
xchange procedure
findifs.lib
Exchange occurrences of two substrings a and b within the string where.
xdvi procedure
latex.lib
Display a DVI file (fname.dvi) by calling xdvi or a specified viewer program.
XLsolve procedure
ffsolve.lib
Solve a polynomial system over a finite field using XL-style linearization, returning a list of root ideals.

Z

EntryDescription
zdd kernel type
kernel
zdd_check procedure
polybori.lib
Recursively checks structural equality of two ZDDs and returns 1 if equal, else 0.
zdd2bset procedure
polybori.lib
Convert a ZDD into a PolyBoRi Boolean set (bset).
zdd2poly procedure
polybori.lib
Convert a zero-suppressed decision diagram (zdd) into its polynomial representation.
zero procedure
modules.lib
Return the n×m zero matrix (with nongraded free modules for source and target).
zero_decomp procedure
primdec.lib
Compute zero-dimensional primary components and radicals (or associated primes) for a lex standard basis ideal, with optional filtering by an ideal.
zerodec procedure
primdec.lib
Compute a zero-dimensional primary decomposition of an ideal, returning a list of primary ideals.
zeroMod procedure
mprimdec.lib
Compute a minimal primary decomposition list of a zero-dimensional module, optionally skipping components containing a given module.
zeroNcfrac procedure
ncfrac.lib
Return the zero fraction in the given noncommutative localization.
zeroOpt procedure
mprimdec.lib
Compute a minimal primary decomposition of a zero-dimensional module, optionally ignoring components containing a given module.
zeroRad procedure
primdec.lib
Compute the radical of a zero-dimensional ideal.
zeroRadical procedure
assprimeszerodim.lib
Computes the radical of a zero-dimensional ideal over Q; optionally skips a final verification test.
zeroReduce procedure
ringgb.lib
Compute the reduced normal form of a polynomial modulo zero polynomials, optionally printing intermediate steps.
zeroreduct procedure
realrad.lib
Compute a zero-dimensional ideal j with i ⊆ j ⊆ i_Iso (Zariski closure of real isolated points of i).
zeroSet procedure
zeroset.lib
Compute the zero set of a zero-dimensional ideal over Q (or a simple algebraic extension) and return a ring exporting theZeroset, newA, id.
zeroset.lib library
21 commands
Algorithms for computing the zero-set of a zero-dimensional ideal in \(\mathbb{Q}(a)[x_1,\ldots,x_n]\), as well as roots and factorization of univariate polynomials over \(\mathbb{Q}(a)[t]\), where \(a\) is an algebraic number.
zeroSetMain procedure
zeroset.lib
Compute the zero-set of a zero-dimensional ideal over Q (or a simple algebraic extension), optionally using primary decomposition.
zeroSetMainWork procedure
zeroset.lib
Compute the zero-set (without multiplicities) of a zero-dimensional ideal in a finite ground-field extension.
zetaDL procedure
reszeta.lib
Computes the Denef–Loeser zeta function for a 2-dimensional hypersurface singularity.
ZZsolve procedure
ffsolve.lib
Solve a multivariate polynomial system over a finite field by mapping to a univariate polynomial over an extension.

#

EntryDescription
~ (break point) topic
reference.doc / ~
Sets a break point in a sequence of commands. When reached, Singular prompts for interactive input and continues after an empty line.