Mathieu Carbou on Thu, 18 Oct 2012 05:36:34 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

PARI/GP collectiond


Hello again,

I didn't found these types in PARI/GP... Are they implemented or I must
fo by myslelf ?

(1) a HashMap ? (unordered map of unique key with put, get and size methods)
(2) a TreeMap ? (ordered map of unique key with put, get and size methods)
(3) in map or lists, contains() method
(4) in ordered lists, a binary search method returns either the element
index found (positive) or the insertion point (negative)

Thanks!

Mathieu.