Mathieu Carbou on Thu, 18 Oct 2012 05:36:34 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: PARI/GP collectiond
- From: Mathieu Carbou <mathieu.carbou@gmail.com>
- Date: Wed, 17 Oct 2012 23:36:25 -0400
- Delivery-date: Thu, 18 Oct 2012 05:36:34 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=k/koNbZKcnNMSo93Voilu0CUcOURaI0AvOfuPTPr5mo=; b=H0sF6kMbTRiRnDL5I7dJ2np/EzYTNgF9ZwVNHuAxytzGoFZSIkxnLkTosmvwvGQn6Y T6Bs/Bve7ezCA0UlvgWdtWELTcWlEPWPCXhjfSb/eIxoOLVcatIPL7YzPtf2IukeGn3i UNit+rsXGLNSKfr+jf+EJHgAgW+3TmmaSqFhp513H3Pp/F1CuzlvYC89mdHqphC+Pa/J dMTa8lpOaxF/tVb+3eTkNGK5cY/tGGlVZ0YHd0RuffwxpanYZE3CztIxZ3BAN3tVnnI9 vDz++br7VOPAzrx3mN9envcgyaLBI/JUFoO/tyE6dfHHWCaxa81qFqV4uwgT/22a4S99 baLg==
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
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.