Max Alekseyev on Sat, 12 Oct 2013 17:45:01 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
nice undocumented feature
|
- To: "pari-users@pari.math.u-bordeaux.fr" <pari-users@pari.math.u-bordeaux.fr>
- Subject: nice undocumented feature
- From: Max Alekseyev <maxale@gmail.com>
- Date: Sat, 12 Oct 2013 11:44:50 -0400
- Delivery-date: Sat, 12 Oct 2013 17:45:01 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZDpi0dnZEHOLC96vv0JhAUgO3WGq1OLCZ5p2/GrGd3U=; b=lwFu342omGdWX5PvbY8ahfH/m0ehf4ob1r+3UBzhx8PegCaWkulAIrQyaby9nUDkTG uDOm96kIwFR4gBZ/y1hgoAAocDuyxp6ndFcQrjBtcAyPk5ZW6x/iHWwIRCVsDvtHLzgP ncW9Hm7bTmpc6A1xpwu+MojA/e2hxqgSHXDPL28fb/UhyOmxtPtLmOS8QTDUGO+yNuNd AfbD7WFfymSmazvKeVOu9A3xUVij5F+3w3PByvUpTsu3VbZ+rOZN+R+I3v9v8mjzTO4v hxQtTgAlBZx87Rdlx7StZP3bntXeIifS/2EIjQrhlGm6JEXXe0ONHQPp4Zl2rdY43Xp5 qttw==
I've just noticed that divisors(X), fordiv(X,...), sumdiv(X,...)
functions accept as an argument the factorization of X instead of X,
e.g.:
? divisors([3,1;5,1])
%1 = [1, 3, 5, 15]
I found this feature very helpful (for X with known but hard to
compute factorizations) and deserving to be documented.
Regards,
Max