[top][index]
search for:

new HashTable from {...} -- make a hash table from a list

Synopsis:

  • Operator: NewFromMethod
  • Input:
  • an instance of class HashTable.
  • an instance of class List.
  • Output:
  • an instance of class HashTable.
  • new HashTable from x -- produce a new hash table from a list x.

    Elements of x which are options, k => v cause the value v to be stored in x under the key k.

    See also:

  • hashTable -- make a hash table
  • Code:

         -- ../../../Macaulay2/m2/option.m2:3
         new HashTable from List := HashTable => (O,v) -> hashTable v

    [top][index]
    search for: