Home Online Manual
Top
Back: maxPointsProb
Forward: modules_lib
FastBack:
FastForward:
Up: Singular Manual
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.10 methods_lib

Library:
methods.lib
Purpose:
installing methods in Singular

Authors:
J. Boehm, boehm @ mathematik.uni-kl.de

Overview:
Methods select the function to execute by the types of the input tuple. The central function is installMethod, which takes a hashtable associating a tuple of input types to function names and creates a corresponding procedure.

HashTables are lists with arbitrary index sets. They can be created by the command hashTable. Their size can be determined by the command size. Values can be extracted by selectKey or the * operator. HashTables can also be added using addHashTables or the + operator.

Methods can be added with the + operator.

Types:
Method the class of all methods
HashTable the class of all hash tables

Procedures: