translating programs from Macaulay

Macaulay 2 aims to provide all of the functionality of Macaulay, but the names of the functions are not the same, and there are other differences. One major difference is the introduction of the notion of module, whereas in Macaulay, the pervasive concept was the matrix.

Here is a list of old Macaulay functions, together with pointers to functions in Macaulay 2 that might be used to replace them.

  • Macaulay commands:
  • . -- not available
  • ac -- such destructive changes are not allowed
  • add -- +
  • ar --
  • args --
  • betti -- betti
  • binoms --
  • cache_mem --
  • calc --
  • cat --
  • cdir --
  • ce --
  • characteristic -- char
  • chcalc --
  • codim -- codim
  • coef --
  • col_degree --
  • col_degs --
  • commands --
  • compress -- compress
  • concat -- |,||
  • continue --
  • contract -- contract
  • copy --
  • degree -- degree
  • determinants -- minors
  • diag --
  • diff -- diff
  • dshift --
  • dsum -- ++
  • echo --
  • edit --
  • edit_map --
  • elim -- selectInSubring
  • endmon --
  • ev -- substitute,RingMap
  • exit -- quit
  • fetch -- substitute
  • flatten -- flatten
  • forcestd -- forceGB
  • help -- help
  • help_file --
  • hilb -- hilbertSeries,hilbertPolynomial,hilbertFunction,poincare
  • hilb_numer -- hilbertSeries
  • homog -- homogenize
  • hulb --
  • ideal -- ideal, matrix
  • iden -- id
  • if -- if
  • imap -- map
  • in -- leadTermMatrix
  • incoef --
  • incr_set --
  • inpart --
  • int --
  • intersect -- intersect
  • is_zero -- ==
  • jacob -- jacobian
  • jump --
  • k-basis -- basis
  • k_basis -- basis
  • keep --
  • kill --
  • koszul -- koszul
  • lift -- //
  • lift_std -- gb
  • listvars -- listUserSymbols
  • mat -- matrix
  • max -- max
  • mc --
  • min -- min
  • modulo -- modulo
  • monitor --
  • monitoring --
  • monoms --
  • monprimes --
  • mr --
  • mult -- *
  • ncols -- use numgens source m
  • nres -- resolution
  • nrows -- use numgens target m
  • numinfo --
  • nvars -- use numgens R
  • outer -- **
  • path -- path
  • pc --
  • pfaff -- pfaffians
  • pmap --
  • poly --
  • power -- ^
  • pr --
  • pres --
  • present_ring --
  • pring --
  • prmat --
  • putchange --
  • putmat --
  • putstd --
  • qring --
  • quit --
  • quotient --
  • random --
  • reduce --
  • res --
  • reset --
  • ring --
  • ring-from-rows --
  • ring_from_cols --
  • ring_from_rows --
  • ring_sum --
  • rings --
  • rmap --
  • row_degree --
  • row_degs --
  • sat -- saturate
  • set --
  • set_value --
  • setcoldegs --
  • setdegs --
  • setring --
  • shout --
  • size --
  • smult -- *
  • space -- engineMemory
  • spairs --
  • spare --
  • sparse --
  • standard -- gb
  • std --
  • std_minimal --
  • stdpart --
  • sub --
  • submat -- submatrix
  • subtract -- -
  • syz -- syz,kernel
  • tensor --
  • to-ring --
  • tr --
  • trace -- trace
  • transpose -- transpose
  • truncate -- truncate
  • type --
  • version -- version
  • wedge -- minors,exteriorPower
  • Macaulay scripts from 'scriptsde':
  • <adj_of_cat --
  • <adjoin_fractions --
  • <adjoint --
  • <analytic_spread --
  • <annihilated --
  • <annihilator -- ann
  • <annihilator1 -- ann
  • <annihilator2 -- ann
  • <binomial -- binomial
  • <ceiling --
  • <changelog --
  • <codim --
  • <cohomology --
  • <cohomology1 --
  • <column_vector --
  • <complement --
  • <copyring --
  • <cotan --
  • <cotan_bihom --
  • <curve_on_cubic --
  • <diagonal_submodule --
  • <diff --
  • <double_dual --
  • <double_dual1 --
  • <dual_variety --
  • <empty_array --
  • <equality --
  • <ext --
  • <ext(-,r) --
  • <extend_ring --
  • <from_bigraded --
  • <from_div_powers --
  • <generic_mat -- genericMatrix
  • <getvars --
  • <hom --
  • <hom_and_map --
  • <hom_is_0 --
  • <homology --
  • <i_in_j --
  • <ideal --
  • <idempotent --
  • <idencoldegs --
  • <idenrowdegs --
  • <interchange --
  • <interchange_permutation --
  • <inverse --
  • <is_zero --
  • <k3carpet --
  • <kernel --
  • <kernel_and_map --
  • <kosz_hom1 --
  • <kosz_hom2 --
  • <l_i_in_j --
  • <l_intersect --
  • <l_res --
  • <lex_seg_ideal --
  • <macaulayrep --
  • <map_from_col --
  • <minpres --
  • <module_iso --
  • <monomial_curve --
  • <mult_ideals --
  • <nbyn_commuting --
  • <normal_sheaf --
  • <nres --
  • <nzd --
  • <orbit_equations --
  • <permutation --
  • <perp --
  • <points --
  • <powers --
  • <project_from_product --
  • <projective_plane --
  • <prune -- prune
  • <prune_and_map --
  • <push_forward -- pushforward
  • <push_forward1 -- pushforward1
  • <quotient1 -- quotient
  • <radical -- radical
  • <random_element --
  • <random_int --
  • <random_map --
  • <random_mat --
  • <rank_prob --
  • <rat_nor_curve --
  • <rat_nor_osc_locus --
  • <rational_surface --
  • <rational_surface1 --
  • <reduce_syzygy_1 --
  • <regular_sequence --
  • <regular_sequence1 --
  • <regularity -- regularity
  • <remove_low_dim --
  • <remove_low_dim_id --
  • <remove_lowest_dim --
  • <representatives --
  • <representatives_old --
  • <res -- resolution
  • <res_and_dim -- resolution,pdim
  • <ring --
  • <sagbi --
  • <sagbi_step --
  • <sat -- saturate
  • <sat1 -- saturate
  • <scroll --
  • <select --
  • <shout_list --
  • <sort_by_degree --
  • <stack -- matrix,map
  • <submat_by_degs --
  • <subring -- kernel
  • <sym --
  • <sym_cokernel --
  • <template_for_scripts --
  • <to_div_powers --
  • <tor -- Tor
  • <unmixed_radical -- radical
  • <unmixed_radical1 -- radical
  • <unmixed_radical2 -- radical
  • <wedge_cokernel --
  • <x_to_last -- newCoordinateSystem
  • <zeromat --
  • Macaulay scripts from 'scriptsmj':
  • <2BYN --
  • <add_matrix_to_array --
  • <check_complex --
  • <check_exact --
  • <comp_to_array --
  • <eagon_northcott --
  • <extract_matrix --
  • <homology_of_array --
  • <jordan0 --
  • <koszul_complex --
  • <lift --
  • <lift_arrays --
  • <mc --
  • <nilpotent0 --
  • <pres --
  • <smult_complex --
  • <splice_resns --
  • Macaulay scripts from 'scriptsms':
  • <block_map --
  • <blowup --
  • <blowup0 --
  • <generic_skew_mat -- genericSkewMatrix
  • <generic_sym_mat -- genericSymmetricMatrix
  • <hilb_fcn --
  • <inhomog_std --
  • <l_dual0 --
  • <l_from_dual -- fromDual
  • <l_homog0 --
  • <l_min0 --
  • <l_minimal --
  • <l_minimal0 --
  • <l_tangentcone --
  • <l_to_dual -- toDual
  • <line_bundle_image --
  • <normal_cone --
  • <proj_bundle --
  • <rmap --
  • <symmetric_algebra --
  • Go to main index.

    Go to concepts index.