next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc > The Macaulay2 language > methods

methods -- list methods

Description

Synopsis

i1 : methods BettiTally

o1 = {0 => (**, BettiTally, BettiTally)        }
     {1 => (*, QQ, BettiTally)                 }
     {2 => (*, ZZ, BettiTally)                 }
     {3 => (++, BettiTally, BettiTally)        }
     {4 => (==, BettiTally, BettiTally)        }
     {5 => (^, Ring, BettiTally)               }
     {6 => (betti, BettiTally)                 }
     {7 => (codim, BettiTally)                 }
     {8 => (degree, BettiTally)                }
     {9 => (dual, BettiTally)                  }
     {10 => (hilbertPolynomial, ZZ, BettiTally)}
     {11 => (hilbertSeries, ZZ, BettiTally)    }
     {12 => (lift, BettiTally, ZZ)             }
     {13 => (mathML, BettiTally)               }
     {14 => (multigraded, BettiTally)          }
     {15 => (net, BettiTally)                  }
     {16 => (pdim, BettiTally)                 }
     {17 => (poincare, BettiTally)             }
     {18 => (regularity, BettiTally)           }
     {19 => (SPACE, BettiTally, Array)         }
     {20 => (SPACE, BettiTally, ZZ)            }
     {21 => (texMath, BettiTally)              }

o1 : NumberedVerticalList
i2 : methods resolution

o2 = {0 => (resolution, Ideal)        }
     {1 => (resolution, Matrix)       }
     {2 => (resolution, Module)       }
     {3 => (resolution, MonomialIdeal)}

o2 : NumberedVerticalList
i3 : methods symbol @@

o3 = {0 => ((@@, =), Thing, Thing)     }
     {1 => ((@@, =), Type, Type)       }
     {2 => (@@, Expression, Expression)}
     {3 => (@@, Expression, Holder)    }
     {4 => (@@, Expression, Thing)     }
     {5 => (@@, Function, Function)    }
     {6 => (@@, Holder, Expression)    }
     {7 => (@@, Holder, Holder)        }
     {8 => (@@, Thing, Expression)     }
     {9 => (@@, Thing, Thing)          }

o3 : NumberedVerticalList

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 = {0 => (++, GradedModule, Module)}
     {1 => (++, Module, GradedModule)}
     {2 => (++, Module, Module)      }

o4 : NumberedVerticalList

Synopsis

  • Usage:
    methods(X,Y)
  • Inputs:
  • Outputs:
i5 : methods( Matrix, Matrix )

o5 = {0 => (%, Matrix, Matrix)                                   }
     {1 => (**, Matrix, Matrix)                                  }
     {2 => (*, Matrix, Matrix)                                   }
     {3 => (++, Matrix, Matrix)                                  }
     {4 => (+, Matrix, Matrix)                                   }
     {5 => (-*Function*-, Matrix, Matrix)                        }
     {6 => (-*Function*-, Matrix, Matrix)                        }
     {7 => (-*Function*-, Matrix, Matrix)                        }
     {8 => (-*Function*-, Matrix, Matrix, List)                  }
     {9 => (-, Matrix, Matrix)                                   }
     {10 => (//, Matrix, Matrix)                                 }
     {11 => (==, Matrix, Matrix)                                 }
     {12 => (\\, Matrix, Matrix)                                 }
     {13 => (|, Matrix, Matrix)                                  }
     {14 => (||, Matrix, Matrix)                                 }
     {15 => (basisPolyhedron, Matrix, Matrix)                    }
     {16 => (computeFacetsFromRayData, Matrix, Matrix)           }
     {17 => (computeRaysFromFacetData, Matrix, Matrix)           }
     {18 => (coneFromHData, Matrix, Matrix)                      }
     {19 => (coneFromMinimalHData, Matrix, Matrix)               }
     {20 => (coneFromMinimalVData, Matrix, Matrix)               }
     {21 => (coneFromVData, Matrix, Matrix)                      }
     {22 => (contract', Matrix, Matrix)                          }
     {23 => (contract, Matrix, Matrix)                           }
     {24 => (convexHull, Matrix, Matrix)                         }
     {25 => (convexHull, Matrix, Matrix, Matrix)                 }
     {26 => (diagInvariants, Matrix, Matrix, Ring)               }
     {27 => (diff', Matrix, Matrix)                              }
     {28 => (diff, Matrix, Matrix)                               }
     {29 => (fan, Matrix, Matrix, List)                          }
     {30 => (fan, Matrix, Matrix, Sequence)                      }
     {31 => (fourierMotzkin, Matrix, Matrix)                     }
     {32 => (fourierMotzkinWrapper, Matrix, Matrix)              }
     {33 => (Hom, Matrix, Matrix)                                }
     {34 => (homology, Matrix, Matrix)                           }
     {35 => (intersection, Matrix, Matrix)                       }
     {36 => (intersection, Matrix, Matrix, Matrix, Matrix)       }
     {37 => (jacobianDual, Matrix, Matrix, Matrix)               }
     {38 => (makeRaysUniqueAndPrimitive, Matrix, Matrix)         }
     {39 => (markedGB, Matrix, Matrix)                           }
     {40 => (modulo, Matrix, Matrix)                             }
     {41 => (pointInSameDirection, Matrix, Matrix, Matrix)       }
     {42 => (polyhedralComplex, Matrix, Matrix, List)            }
     {43 => (polyhedralComplex, Matrix, Matrix, Matrix, List)    }
     {44 => (polyhedronFromHData, Matrix, Matrix)                }
     {45 => (polyhedronFromHData, Matrix, Matrix, Matrix, Matrix)}
     {46 => (quotient', Matrix, Matrix)                          }
     {47 => (quotient, Matrix, Matrix)                           }
     {48 => (quotientRemainder', Matrix, Matrix)                 }
     {49 => (quotientRemainder, Matrix, Matrix)                  }
     {50 => (rayCorrespondenceMap, Matrix, Matrix)               }
     {51 => (rayCorrespondenceMap, Matrix, Matrix, Matrix)       }
     {52 => (regularSubdivision, Matrix, Matrix)                 }
     {53 => (remainder', Matrix, Matrix)                         }
     {54 => (remainder, Matrix, Matrix)                          }
     {55 => (scalarProduct, Matrix, Matrix)                      }
     {56 => (solve, Matrix, Matrix)                              }
     {57 => (spanSmoothCone, Matrix, Matrix)                     }
     {58 => (spanSmoothCone, Matrix, Matrix, ZZ)                 }
     {59 => (subquotient, Matrix, Matrix)                        }
     {60 => (subquotient, Module, Matrix, Matrix)                }
     {61 => (substitute, Matrix, Matrix)                         }
     {62 => (tensor, Matrix, Matrix)                             }
     {63 => (truncationPolyhedron, Matrix, Matrix)               }
     {64 => (writeFMInput, File, Matrix, Matrix)                 }

o5 : NumberedVerticalList
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.

See also

Ways to use methods :

For the programmer

The object methods is a method function with a single argument.