Repository navigation
New GitHub Contributors and Package Authors
- Emily Berghofer @emily-berghofer made their first contribution in #4679
- Agustina Cagliero
- Woody Cohen
- Erin Connelly @erinconnelly96 made their first contribution in #4726
- Lorenzo De Biase
- Angelo El Saliby @AngeloElSaliby made their first contribution in #4775
- Giulia Gaggero
- Yeongrak Kim @Yeongrak-Kim made their first contribution in #4785
- Sam Knight
- Matthias Köppe @mkoeppe made their first contribution in #4317
- Lisa Nicklasson
- Peder Thompson
- Miao Wang @shankerwangmiao made their first contribution in #4685
- Weijia Wang
- Thomas Westerbäck
ChangeLog
- new packages:
- CanonicalMaps, a package by Gregory G. Smith and Mike Stillman for canonical and standard maps for modules, has been added.
- ComprehensiveGBs, a package by Agustina Cagliero, Oliver Clarke, Woody Cohen, Lorenzo De Biase, Angelo El Saliby, Giulia Gaggero, Sam Knight, and Weijia Wang for computing comprehensive Gröbner bases (CGBs), has been added.
- CotangentCohomology, a package by Nathan Ilten for arborescent resolutions and cotangent cohomology, has been added.
- HilbertSchemeStrata, a package by Frank Schreyer for computing strata of Hilbert schemes, as used in Schreyer's Introduction to Algebraic Geometry, has been added.
- HookPieri, a package by Keller VandeBogert for Pieri maps, straightening, and finite hook algebras, has been added.
- KacMoody, a package by Keller VandeBogert for computing with symmetrizable Kac-Moody algebras and their representations, including roots, Weyl groups, characters, tensor product decompositions, and Kostant homology, has been added.
- KoszulFiltrations, a package by Emily Berghofer, Lisa Nicklasson, Peder Thompson, and Thomas Westerbäck for computing with Koszul filtrations, has been added.
-
NongeneralTypeSurfacesInP4, a package by Hirotachi Abo, Kristian Ranestad, and Frank-Olaf Schreyer for constructing smooth non-general type surfaces in
$\mathbb{P}^4$ , has been added. - PALPInterface, a package by Mike Stillman providing an interface to the PALP software for lattice polytopes, has been added. PALP is now built and installed with Macaulay2 if it is not found on the system.
- improved packages:
- A1BrouwerDegrees has been updated to version 2.1, fixing a bug in getAnisotropicPart for forms over the rational numbers and computing square classes modulo primes of arbitrary size.
- AdjunctionForSurfaces has been updated to version 1.0 with documentation fixes.
-
CoincidentRootLoci has been updated to version 0.1.4 for compatibility with the renaming of
RationalMapin Cremona. Its parametrizations are now of type LegacyRationalMap. - Complexes has been updated to version 1.1 and is no longer in beta.
-
Bertini has been updated to version 2.1.2.4, fixing a crash in makeB'InputFile when
PathVariableis given butSetParameterGroupis not. - CotangentSchubert has been updated to version 0.81 with changes from code review.
-
Cremona has been updated to version 5.3.0. Its
RationalMaptype andrationalMapmethod have been renamed to LegacyRationalMap and legacyRationalMap. -
Elimination has been updated to version 1.0.1. discriminant now returns zero instead of raising an error for polynomials whose derivative is identically zero, such as
x^3+2overZZ/3. - ForeignFunctions has been updated to version 0.9. foreignFunction and foreignSymbol now accept null as their first argument, which is the same as omitting it.
- GameTheory has been updated to version 1.1, adding a reference to the accompanying paper and speeding up an example.
- GeometricDecomposability has been updated to version 1.4.4. findLexCompatiblyGVDOrders no longer sometimes returns an empty list when a compatible lexicographic order exists.
- GradedLieAlgebras has been updated to version 3.1, installing its method for computing the center of a Lie algebra on the new center function.
- Graphs has been updated to version 0.3.5, adding the method stronglyConnectedComponents for computing the strongly connected components of a digraph.
- InvariantRing has been updated to version 2.6, which introduces the new type PermutationAction with the faster orbit sum method for computing invariants. This version also simplifies inputs for permutationMatrix, a minor breaking change.
- K3Surfaces has been updated to version 1.2 for compatibility with the renaming of rational map types in Cremona and MultiprojectiveVarieties, and embedded K3 surfaces now have improved display, including in WebApp mode.
-
LanguageServer has been updated to version 0.2. The
M2-language-serverprogram now has--helpand--versionoptions and a manual page, and it now looks for theM2executable in its own directory before searching the path. - LieAlgebraRepresentations has been updated to version 1.02. It is now much faster at computing characters, weight diagrams, tensor products, and Killing forms. character now gives the correct virtual character of a non-dominant weight with every strategy, and LieAlgebraModuleFromWeights now raises an error for weights that are not invariant under the Weyl group. The Cartan matrices of rank-0 Lie algebras have also been fixed.
- MatrixFactorizations has been updated to version 0.2. It now preserves internal degrees through Hom, tensor products, constructors, and direct sums, and computes boundary maps, homotopies, and homology correctly for higher-period factorizations.
-
MultiprojectiveVarieties has been updated to version 2.7.2. Its
MultirationalMaptype andmultirationalMapmethod have been renamed to RationalMap and rationalMap, andtoRationalMapto toLegacyRationalMap. The new operator RationalMap @@ RationalMap gives the virtual composition of rational maps, and projective varieties and rational maps now have improved display, including texMath methods for WebApp mode. -
NumericalAlgebraicGeometry has been updated to version 1.25, fixing refine with
Software => BERTINI. - PackageCitations has been updated to version 0.2. cite now uses a package's HomePage whenever it is set and no longer warns when a package that is not distributed with Macaulay2 has none.
-
Padic has been updated to version 0.3, adding texMath and mathML methods so that
$p$ -adic fields display properly in WebApp mode. -
Parametrization has been updated to version 0.7, removing
legendreSymbol, which is now part of Core. - PencilsOfQuadrics has been updated to version 1.1, adding printing methods and fixing bugs.
- PositivityToricBundles has been updated to version 1.10, fixing a bug in isGloballyGenerated and separatesJets along with minor cleanups.
-
PushForward has been updated to version 0.7. New methods such as Hom(RingMap,Module,Module), End(RingMap,Module), and
Ext^ZZ(RingMap,Module,Module)(missing documentation) compute Hom, End, and Ext over a noncommutative ring, such as an exterior algebra, as modules over the source of a finite ring map, along with homomorphism'(RingMap,Matrix), yonedaExtension'(RingMap,Complex), and yonedaMap'(RingMap,ComplexMap) for identifying their elements. It also has new pushforward and pushforward' methods for moving elements between a module and its push-forward, and pushFwd and isModuleFinite now support skew commutative polynomial rings and handle towers of rings better. -
ReflexivePolytopesDB has been updated to version 1.1. It now connects to the Kreuzer-Skarke database using HTTPS, and kreuzerSkarke now works around incomplete responses from the server for large values of
$h^{1,1}$ and requires theLimitoption to be a positive integer. - RInterface has been updated to version 0.4. Loading it no longer replaces Macaulay2's signal handlers with R's, so computations may be interrupted as usual.
- SCMAlgebras has been updated to version 1.2, fixing a bug in isSCM and adding the type PrimaryDataList and the function getPrimaryData for storing primary decomposition data, which may be passed to filterIdeal to avoid recomputing it.
- SpecialFanoFourfolds has been updated to version 2.8.1, adding example for retrieving fourfolds saved with store(HodgeSpecialFourfold,String), texTables for generating summary tables of collections of fourfolds, localExamplesArchive for managing the local archive of examples, and updatePackage for updating it and related packages. It also improves parameterCount and the display of fourfolds and related objects, including in WebApp mode.
- Style has been updated to version 1.2, adding the client-side search used by the search bar in the HTML documentation.
- TerraciniLoci has been updated to version 0.7. terraciniLocus is now much faster in many cases, and it now raises an error when asked for the rth Terracini locus of an ideal with r > 2, which requires a parametrization.
- ToricTopology has been updated to version 1.2.1 with improved and expanded documentation.
- The email addresses and home pages listed for package authors have been updated throughout the packages distributed with Macaulay2, replacing outdated contact information and removing dead links. If you are a package author, please confirm that your contact information is correct and open an issue or pull request if anything needs to be changed.
- functionality added or improved:
- The search bar in the HTML documentation now searches the documentation itself rather than sending queries to Google.
- The new method center computes the center of a ring, and centerMap the inclusion of the center into the ring. Currently, commutative rings and rings with skew commuting variables, such as exterior algebras, are supported. The methods for graphs and Lie algebras from the Graphs and GradedLieAlgebras packages are now installed on the same function.
- The new function isSkewAffineRing checks whether a ring is an affine ring containing skew commuting variables.
- There is a new strategy for computing the kernel of a ring map whose target is skew commutative.
- The legendreSymbol function has been added to Core. It replaces the much slower version previously exported by Parametrization.
- pushForward now accepts more ring maps, removing the error not implemented yet: unexpected degree map of ring map in many cases.
- Pruning a quotient of a skew commutative polynomial ring now gives a correctly configured ring, and the monoid(...,SkewCommutative=>...) option is now validated.
- New methods mutableMatrix(Number), mutableMatrix(RingElement), and similar have been added for constructing
$1 \times 1$ mutable matrices. Mutable matrices are now displayed with their ring and size, like ordinary matrices, and rank now raises an error when it is not implemented for a mutable matrix instead of returning -1. -
GF and
ZZ/nnow return the same ring when called again with the same arguments, even when n is not prime. - runLengthEncode has been rewritten. Repeated entries are now encoded before consecutive ones, and a range is only encoded if it has at least three entries.
- roots now accepts univariate polynomials in multivariate polynomial rings.
- The new function pullbackDegrees replaces the degree map of a homogeneous ring map with the identity by regrading its source.
- partition now accepts an optional function to apply to each element as it is grouped, and the list or tally may now be given before the function.
- Appending elements to a MutableList is now much faster, as its underlying storage grows geometrically rather than being reallocated on every change.
- functionality changed in a way that could break code:
-
matrix(Vector) no longer requires the source to be generated in degree 0, so the result is homogeneous of degree 0 when possible. For example,
matrix {{x*M_0, x^2*M_0}}andM/{x*M_0, x^2*M_0}are now homogeneous whenM = (QQ[x])^1. - coefficient now raises an error if the monomial and the polynomial do not belong to the same ring.
- In the GeometricDecomposability package, the
SquarefreeOnlyoption of findOneStepGVD has been renamed to OnlySquarefree. - In the PushForward package, pushFwd now returns only the push-forward module when given a ring or a ring map, instead of a sequence. Use pushFwdGens for its generators and pushforward for mapping elements into it. The
NoPruneoption has been replaced by MinimalGenerators, soNoPrune => trueis nowMinimalGenerators => false. - In the MultiprojectiveVarieties package,
MultirationalMaphas been renamed to RationalMap,multirationalMapto rationalMap, andtoRationalMapto toLegacyRationalMap. TheRationalMaptype andrationalMapmethod previously exported by Cremona are now LegacyRationalMap and legacyRationalMap. - Functions that iterate over a MutableList, such as apply, scan, and for loops, now work with a snapshot of its entries, so modifying the list during the iteration no longer affects which entries are visited.
-
matrix(Vector) no longer requires the source to be generated in degree 0, so the result is homogeneous of degree 0 when possible. For example,
- bugs fixed:
- Gröbner bases computed using a Hilbert hint are no longer sometimes incomplete.
- Gröbner bases computed with the F4 algorithm no longer occasionally contain incorrect generators.
- GLex blocks following another block in a MonomialOrder now have the correct weights.
- Subtracting sparse mutable matrices now gives the correct result and no longer crashes on empty columns.
- sort and rsort no longer ignore errors raised by the comparison method.
- lift now works from a fraction field to its base or coefficient ring.
- Elements of fraction fields now have a canonical numerator and denominator, so equal fractions such as
1/2*yandy/2now compare as identical. Fractions whose denominator is a unit are also simplified, so for example1/ais nowbinQQ[a,b]/(a*b-1)and can be lifted to it. - inverse(Matrix) now raises an error for singular matrices over RR and CC instead of returning a zero matrix.
- Substituting zero for a variable appearing in the denominator of a Laurent polynomial now raises an error.
- roots no longer crashes on elements of fraction fields, nor coefficients over inexact fields, and factor now works correctly over fraction fields.
- Hom no longer returns a cached result computed with different options.
-
Quotients of matrices over ZZ,
ZZ/n, and inexact fields now have the expected source and target, rather than other free modules of the same rank. - code now works for functions defined in multi-line input at the prompt.
- Attempting to close stdio or stderr now raises an error instead of breaking the session.
- Local file paths containing URL fragments (
#...) are now handled correctly when generating links, and errors from realpath are now reported.
- Emacs updates:
- The Macaulay2 major mode no longer registers itself with Eglot or lsp-mode automatically. Add
(with-eval-after-load 'eglot (M2-register-eglot))or(with-eval-after-load 'lsp-mode (M2-register-lsp))to your Emacs configuration to use the LanguageServer. - The
M2-language-serverprogram is now found next to the M2-exe executable before searching the path, and the new M2-language-server-command variable may be set to run a custom or remote language server. - Changing M2-exe after the Macaulay2 major mode has loaded now affects the command used to start new Macaulay2 sessions.
- The Emacs package can now also be installed with
package-installfrom the Macaulay2 Emacs package archive, which also hosts ob-M2. - The presentation frame opened by M2-demo (M-F12) now shows the current Macaulay2 session, or another chosen with a prefix argument, instead of requiring a session named M2.
- The Macaulay2 major mode no longer registers itself with Eglot or lsp-mode automatically. Add
Full Changelog: release-1.26.06...release-1.26.11