next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

methods -- list methods

Description

Synopsis

i1 : methods BettiTally

o1 = {(**, BettiTally, BettiTally)       }
     {(*, QQ, BettiTally)                }
     {(*, ZZ, BettiTally)                }
     {(++, BettiTally, BettiTally)       }
     {(==, BettiTally, BettiTally)       }
     {(betti, BettiTally)                }
     {(codim, BettiTally)                }
     {(degree, BettiTally)               }
     {(dual, BettiTally)                 }
     {(hilbertPolynomial, ZZ, BettiTally)}
     {(hilbertSeries, ZZ, BettiTally)    }
     {(lift, BettiTally, ZZ)             }
     {(mathML, BettiTally)               }
     {(net, BettiTally)                  }
     {(pdim, BettiTally)                 }
     {(poincare, BettiTally)             }
     {(regularity, BettiTally)           }
     {(SPACE, BettiTally, Array)         }
     {(SPACE, BettiTally, ZZ)            }
     {(tex, BettiTally)                  }
     {(texMath, BettiTally)              }

o1 : VerticalList
i2 : methods resolution

o2 = {(resolution, Ideal)        }
     {(resolution, Matrix)       }
     {(resolution, Module)       }
     {(resolution, MonomialIdeal)}

o2 : VerticalList
i3 : methods symbol @@

o3 = {((@@, =), Thing, Thing) }
     {((@@, =), Type, Type)   }
     {(@@, Function, Function)}
     {(@@, Thing, Thing)      }

o3 : VerticalList

Synopsis

  • Usage:
    methods(s,X)
  • Inputs:
  • Outputs:
    • a vertical list of those methods associated with the operator s and the type X
i4 : methods( symbol ++, Module)

o4 = {(++, GradedModule, Module)}
     {(++, Module, GradedModule)}
     {(++, Module, Module)      }

o4 : VerticalList

Synopsis

i5 : methods( Matrix, Matrix )

o5 = {(%, Matrix, Matrix)                  }
     {(**, Matrix, Matrix)                 }
     {(*, Matrix, Matrix)                  }
     {(++, Matrix, Matrix)                 }
     {(+, Matrix, Matrix)                  }
     {(-, Matrix, Matrix)                  }
     {(//, Matrix, Matrix)                 }
     {(==, Matrix, Matrix)                 }
     {(|, Matrix, Matrix)                  }
     {(||, Matrix, Matrix)                 }
     {(contract', Matrix, Matrix)          }
     {(contract, Matrix, Matrix)           }
     {(diff', Matrix, Matrix)              }
     {(diff, Matrix, Matrix)               }
     {(homology, Matrix, Matrix)           }
     {(markedGB, Matrix, Matrix)           }
     {(modulo, Matrix, Matrix)             }
     {(quotient', Matrix, Matrix)          }
     {(quotient, Matrix, Matrix)           }
     {(quotientRemainder', Matrix, Matrix) }
     {(quotientRemainder, Matrix, Matrix)  }
     {(remainder', Matrix, Matrix)         }
     {(remainder, Matrix, Matrix)          }
     {(solve, Matrix, Matrix)              }
     {(subquotient, Matrix, Matrix)        }
     {(subquotient, Module, Matrix, Matrix)}
     {(substitute, Matrix, Matrix)         }

o5 : VerticalList
This function operates by examining those types that are values of global symbols for keys that appear to be storing references to methods. Types that don't appear as values of global variables will not be examined, so perhaps not all methods will be found.

Ways to use methods :