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

peek'(ZZ,Thing) -- examine contents of an object

Synopsis

Description

i1 : s = factor 112

      4
o1 = 2 7

o1 : Expression of class Product
i2 : peek s

              4
o2 = Product{2 , 7}
i3 : peek'_2 s

o3 = Product{Power{2, 4}, Power{7, 1}}

Some types of things have the notion of depth modified slightly to make the entire structure visible at depth 1, as in the following example, which also shows how to use wrap with the output from peek.

i4 : wrap_80 peek help resolution

o4 = DIV{HEADER1{"resolution", " -- ", "projective resolution"},
     DIV1{HEADER2{"Synopsis"}, UL{LI{DIV1{TO2{Macaulay2 :: using functions with
     optional inputs, "Optional inputs"}, ":", UL{LI{SPAN{TO2{Macaulay2 ::
     resolution(..., DegreeLimit => ...), "DegreeLimit => ..."}, ", ",
     LATER{--Function[../../../../Macaulay2/m2/document.m2:850:117-850:145]--}}},
     LI{SPAN{TO2{Macaulay2 :: resolution(..., HardDegreeLimit => ...),
     "HardDegreeLimit => ..."}, ", ",
     LATER{--Function[../../../../Macaulay2/m2/document.m2:850:117-850:145]--}}},
     LI{SPAN{TO2{Macaulay2 :: resolution(..., LengthLimit => ...), "LengthLimit =>
     ..."}, ", ", LATER{--Function[../../../../Macaulay2/m2/document.m2:850:117-850:
     145]--}}}, LI{SPAN{TO2{Macaulay2 :: resolution(..., PairLimit => ...),
     "PairLimit => ..."}, ", ",
     LATER{--Function[../../../../Macaulay2/m2/document.m2:850:117-850:145]--}}},
     LI{SPAN{TO2{Macaulay2 :: resolution(..., SortStrategy => ...), "SortStrategy =>
     ..."}, ", ", LATER{--Function[../../../../Macaulay2/m2/document.m2:850:117-850:
     145]--}}}, LI{SPAN{TO2{Macaulay2 :: resolution(..., StopBeforeComputation =>
     ...), "StopBeforeComputation => ..."}, ", ",
     LATER{--Function[../../../../Macaulay2/m2/document.m2:850:117-850:145]--}}},
     LI{SPAN{TO2{Macaulay2 :: resolution(..., Strategy => ...), "Strategy => ..."},
     ", ", LATER{--Function[../../../../Macaulay2/m2/document.m2:850:117-850:145
     ]--}}}, LI{SPAN{TO2{Macaulay2 :: resolution(..., SyzygyLimit => ...),
     "SyzygyLimit => ..."}, ", ",
     LATER{--Function[../../../../Macaulay2/m2/document.m2:850:117-850:145
     ]--}}}}}}}}, DIV1{HEADER2{"Description"}, DIV{COMMENT{"file://",
     "/home/dan/src/M2/Macaulay2/packages/Macaulay2/doc10.m2", ":", "29"}}},
     DIV{class => waystouse, HEADER2{"Ways to use ", TT{"resolution"}, " :"},
     UL{LI{TOH{Macaulay2 :: resolution(Ideal)}}, LI{SPAN{"resolution(MonomialIdeal)",
     ", see ", TOH{Macaulay2 :: resolution(Ideal)}}}, LI{TOH{Macaulay2 ::
     resolution(Matrix)}}, LI{TOH{Macaulay2 :: resolution(Module)}}}}}

See also