next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: 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 => (net, BettiTally)                  }
     {15 => (pdim, BettiTally)                 }
     {16 => (poincare, BettiTally)             }
     {17 => (regularity, BettiTally)           }
     {18 => (SPACE, BettiTally, Array)         }
     {19 => (SPACE, BettiTally, ZZ)            }
     {20 => (tex, BettiTally)                  }
     {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 => (@@, Function, Function)}
     {3 => (@@, 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

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 => (contract', Matrix, Matrix)           }
     {12 => (contract, Matrix, Matrix)            }
     {13 => (diff', Matrix, Matrix)               }
     {14 => (diff, Matrix, Matrix)                }
     {15 => (Hom, Matrix, Matrix)                 }
     {16 => (homology, Matrix, Matrix)            }
     {17 => (jacobianDual, Matrix, Matrix, Matrix)}
     {18 => (markedGB, Matrix, Matrix)            }
     {19 => (modulo, Matrix, Matrix)              }
     {20 => (quotient', Matrix, Matrix)           }
     {21 => (quotient, Matrix, Matrix)            }
     {22 => (quotientRemainder', Matrix, Matrix)  }
     {23 => (quotientRemainder, Matrix, Matrix)   }
     {24 => (remainder', Matrix, Matrix)          }
     {25 => (remainder, Matrix, Matrix)           }
     {26 => (solve, Matrix, Matrix)               }
     {27 => (subquotient, Matrix, Matrix)         }
     {28 => (subquotient, Module, Matrix, Matrix) }
     {29 => (substitute, 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.

Ways to use methods :