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)              }

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 => (-, Matrix, Matrix)                                   }
     {6 => (//, Matrix, Matrix)                                  }
     {7 => (==, Matrix, Matrix)                                  }
     {8 => (\\, Matrix, Matrix)                                  }
     {9 => (|, Matrix, Matrix)                                   }
     {10 => (||, Matrix, Matrix)                                 }
     {11 => (basisPolyhedron, Matrix, Matrix)                    }
     {12 => (checkDegrees, Matrix, Matrix)                       }
     {13 => (computeFacetsFromRayData, Matrix, Matrix)           }
     {14 => (computeRaysFromFacetData, Matrix, Matrix)           }
     {15 => (coneFromHData, Matrix, Matrix)                      }
     {16 => (coneFromMinimalHData, Matrix, Matrix)               }
     {17 => (coneFromMinimalVData, Matrix, Matrix)               }
     {18 => (coneFromVData, Matrix, Matrix)                      }
     {19 => (contract', Matrix, Matrix)                          }
     {20 => (contract, Matrix, Matrix)                           }
     {21 => (convexHull, Matrix, Matrix)                         }
     {22 => (convexHull, Matrix, Matrix, Matrix)                 }
     {23 => (diagInvariants, Matrix, Matrix, Ring)               }
     {24 => (diff', Matrix, Matrix)                              }
     {25 => (diff, Matrix, Matrix)                               }
     {26 => (fan, Matrix, Matrix, List)                          }
     {27 => (fan, Matrix, Matrix, Sequence)                      }
     {28 => (fourierMotzkin, Matrix, Matrix)                     }
     {29 => (fourierMotzkinWrapper, Matrix, Matrix)              }
     {30 => (Hom, Matrix, Matrix)                                }
     {31 => (homology, Matrix, Matrix)                           }
     {32 => (intersection, Matrix, Matrix)                       }
     {33 => (intersection, Matrix, Matrix, Matrix, Matrix)       }
     {34 => (isIsomorphic, Matrix, Matrix)                       }
     {35 => (isLiftable, Matrix, Matrix)                         }
     {36 => (jacobianDual, Matrix, Matrix, Matrix)               }
     {37 => (lift', Matrix, Matrix)                              }
     {38 => (makeRaysUniqueAndPrimitive, Matrix, Matrix)         }
     {39 => (markedGB, Matrix, Matrix)                           }
     {40 => (MethodFunction[], Matrix, Matrix)                   }
     {41 => (MethodFunction[], Matrix, Matrix)                   }
     {42 => (MethodFunction[], Matrix, Matrix)                   }
     {43 => (MethodFunction[], Matrix, Matrix, List)             }
     {44 => (modulo, Matrix, Matrix)                             }
     {45 => (pointInSameDirection, Matrix, Matrix, Matrix)       }
     {46 => (polyhedralComplex, Matrix, Matrix, List)            }
     {47 => (polyhedralComplex, Matrix, Matrix, Matrix, List)    }
     {48 => (polyhedronFromHData, Matrix, Matrix)                }
     {49 => (polyhedronFromHData, Matrix, Matrix, Matrix, Matrix)}
     {50 => (pullback, Matrix, Matrix)                           }
     {51 => (pushout, Matrix, Matrix)                            }
     {52 => (quotient', Matrix, Matrix)                          }
     {53 => (quotient, Matrix, Matrix)                           }
     {54 => (quotientRemainder', Matrix, Matrix)                 }
     {55 => (quotientRemainder, Matrix, Matrix)                  }
     {56 => (randomMinimalDegreeHomomorphism, Matrix, Matrix, ZZ)}
     {57 => (rayCorrespondenceMap, Matrix, Matrix)               }
     {58 => (rayCorrespondenceMap, Matrix, Matrix, Matrix)       }
     {59 => (regularSubdivision, Matrix, Matrix)                 }
     {60 => (remainder', Matrix, Matrix)                         }
     {61 => (remainder, Matrix, Matrix)                          }
     {62 => (scalarProduct, Matrix, Matrix)                      }
     {63 => (solve, Matrix, Matrix)                              }
     {64 => (spanSmoothCone, Matrix, Matrix)                     }
     {65 => (spanSmoothCone, Matrix, Matrix, ZZ)                 }
     {66 => (subquotient, Matrix, Matrix)                        }
     {67 => (subquotient, Module, Matrix, Matrix)                }
     {68 => (substitute, Matrix, Matrix)                         }
     {69 => (tensor, Matrix, Matrix)                             }
     {70 => (truncationPolyhedron, Matrix, Matrix)               }
     {71 => (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.