Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > methods
next | previous | forward | backward | up | index | toc

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)                                 }
     {22 => (truncate, BettiTally, InfiniteNumber, InfiniteNumber)}
     {23 => (truncate, BettiTally, InfiniteNumber, ZZ)            }
     {24 => (truncate, BettiTally, ZZ, InfiniteNumber)            }
     {25 => (truncate, BettiTally, ZZ, ZZ)                        }

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 => (checkDegrees, Matrix, Matrix)                       }
     {17 => (computeFacetsFromRayData, Matrix, Matrix)           }
     {18 => (computeRaysFromFacetData, Matrix, Matrix)           }
     {19 => (coneFromHData, Matrix, Matrix)                      }
     {20 => (coneFromMinimalHData, Matrix, Matrix)               }
     {21 => (coneFromMinimalVData, Matrix, Matrix)               }
     {22 => (coneFromVData, Matrix, Matrix)                      }
     {23 => (connectingExtMap, Matrix, Matrix, Module)           }
     {24 => (connectingExtMap, Module, Matrix, Matrix)           }
     {25 => (connectingTorMap, Matrix, Matrix, Module)           }
     {26 => (connectingTorMap, Module, Matrix, Matrix)           }
     {27 => (contract', Matrix, Matrix)                          }
     {28 => (contract, Matrix, Matrix)                           }
     {29 => (convexHull, Matrix, Matrix)                         }
     {30 => (convexHull, Matrix, Matrix, Matrix)                 }
     {31 => (diagInvariants, Matrix, Matrix, Ring)               }
     {32 => (diff', Matrix, Matrix)                              }
     {33 => (diff, Matrix, Matrix)                               }
     {34 => (fan, Matrix, Matrix, List)                          }
     {35 => (fan, Matrix, Matrix, Sequence)                      }
     {36 => (fourierMotzkin, Matrix, Matrix)                     }
     {37 => (fourierMotzkinWrapper, Matrix, Matrix)              }
     {38 => (Hom, Matrix, Matrix)                                }
     {39 => (homology, Matrix, Matrix)                           }
     {40 => (horseshoeResolution, Matrix, Matrix)                }
     {41 => (intersection, Matrix, Matrix)                       }
     {42 => (intersection, Matrix, Matrix, Matrix, Matrix)       }
     {43 => (isIsomorphic, Matrix, Matrix)                       }
     {44 => (isShortExactSequence, Matrix, Matrix)               }
     {45 => (jacobianDual, Matrix, Matrix, Matrix)               }
     {46 => (makeRaysUniqueAndPrimitive, Matrix, Matrix)         }
     {47 => (markedGB, Matrix, Matrix)                           }
     {48 => (modulo, Matrix, Matrix)                             }
     {49 => (pointInSameDirection, Matrix, Matrix, Matrix)       }
     {50 => (polyhedralComplex, Matrix, Matrix, List)            }
     {51 => (polyhedralComplex, Matrix, Matrix, Matrix, List)    }
     {52 => (polyhedronFromHData, Matrix, Matrix)                }
     {53 => (polyhedronFromHData, Matrix, Matrix, Matrix, Matrix)}
     {54 => (quotient', Matrix, Matrix)                          }
     {55 => (quotient, Matrix, Matrix)                           }
     {56 => (quotientRemainder', Matrix, Matrix)                 }
     {57 => (quotientRemainder, Matrix, Matrix)                  }
     {58 => (randomMinimalDegreeHomomorphism, Matrix, Matrix, ZZ)}
     {59 => (rayCorrespondenceMap, Matrix, Matrix)               }
     {60 => (rayCorrespondenceMap, Matrix, Matrix, Matrix)       }
     {61 => (regularSubdivision, Matrix, Matrix)                 }
     {62 => (remainder', Matrix, Matrix)                         }
     {63 => (remainder, Matrix, Matrix)                          }
     {64 => (scalarProduct, Matrix, Matrix)                      }
     {65 => (solve, Matrix, Matrix)                              }
     {66 => (spanSmoothCone, Matrix, Matrix)                     }
     {67 => (spanSmoothCone, Matrix, Matrix, ZZ)                 }
     {68 => (subquotient, Matrix, Matrix)                        }
     {69 => (subquotient, Module, Matrix, Matrix)                }
     {70 => (substitute, Matrix, Matrix)                         }
     {71 => (tensor, Matrix, Matrix)                             }
     {72 => (truncationPolyhedron, Matrix, Matrix)               }
     {73 => (writeFMInput, File, Matrix, Matrix)                 }
     {74 => (yonedaProduct, 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.