Jacques Gélinas on Sat, 20 Feb 2021 16:36:44 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
f( x + O(x) ) or f(x) + O(x) ?
|
- To: "pari-users@pari.math.u-bordeaux.fr" <pari-users@pari.math.u-bordeaux.fr>
- Subject: f( x + O(x) ) or f(x) + O(x) ?
- From: Jacques Gélinas <jacquesg00@hotmail.com>
- Date: Sat, 20 Feb 2021 15:36:37 +0000
- Accept-language: fr-CA, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Heb30qjxxzwD5DfGpBRXQgKnhT2jyjb3+eyC0YJEn6I=; b=A1C7mgCkyvt08X5ukv7JS+kXtW2Ze1Fu1ODmGvTSeGgN/3D9vUUeR+k+iBL79OTKn+qmjh04HeE+ooCGGFMvmL592mA5bPW2PWqRuOVnedB3GWJjPHpHat3l1v9y2syriyQ+qds7TxWFewCtfYJH6HurgEi6C0wR/1Q9KLxZCWIhm1+5O7IJYAD7R8DcSuQJlfIv3Bol4SkgTBjFNjLqSzvDVsRpPz2Dd8bzPywSj8OHxCSeSyyzJdd2tAxD8YuL5XJ8Yn5yS74GAgBfEGYVsDA1UaW31GQMv6lEHwQusBmifctT3dBzJAN8vCqt+JOnTK3pQmmbusihiDBLqDwjIQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iS9rVRMYgkoYZVY9gCYtgfXkSC5dxfOVCUzL9lCyLBZkjYGYjiopbHQolyckQ4u2j+MUmrkH5BAHxekR+7bkdhJDfWTK4P5l/EpWq2j493I21QWO5kQ1qeV3IzWk8kj5qNbUAmyCi3XIkWnbiX45lK94Dll1JLSFo8cXOWm80OvJe7Gj9UAn6C0g0AG+/M4RAAoqqU/143qRsBWkAoyCD562LrXMZsTfvwP7KpHcQpmSFY0Oh7a8fBXDDdeEtTL0WI3hlyFIg77p8/nUCJ3TKRLVb7ra4QKoNWnAbyKZr5TVOgHRJhsPg856IuF+r57WOdMwu+kbQAJthmWuX8HhRg==
- Delivery-date: Sat, 20 Feb 2021 16:36:44 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Heb30qjxxzwD5DfGpBRXQgKnhT2jyjb3+eyC0YJEn6I=; b=YYhcwVmpfkjs7xfDzB9ONfprljKUnMSQ1ANEJOzb1la/0nytsODm1MEspHeNVN6D+rg5IEZbjpYag8Yz5H3rMewh0G5zGV2ttiP7GCy135OHWa5dQz/Kwv7rsd/1Xl5VuBulDAXIq5VZDMsv7HoFktxInDJcnYc3ncNjqIXwHbYziaU7AdCzhAmG/pgTIvO+C3tsZFokURQPo8vYA+d6X+2ux78taUVdPCKc4VXKvwVqzqr9dzqwtAl4sN0K9nl1sbHLpSJkUNFJixw8yxizx41l6xSayIBtM2OFbERPeVqyWQ/VzwjrZl7Hjt9wCwTOBrHY1wFzNLFXqVR7hS4EoA==
- Thread-index: AQHXB5mzPw9tCVEDdUuDwPmN3s9ZHQ==
- Thread-topic: f( x + O(x) ) or f(x) + O(x) ?
In a previous post, I used this oneliner to get the vector of
Maclaurin coefficients of a function:
maclv(f,k) = Vec( f( x+O(x^(k+1)) ) );
The boundary case k=0 should return f(0) as in
maclv( cosh, 0) == [1]
maclv( sinc, 0) == [1]
But this yields an incorrect result for this modified Riemann Xi function,
Xi(x) = my(s=1/2+x); Pi^(-s/2)*gamma(1+s/2)*(s-1)*zeta(s);
maclv(Xi,0) != maclv(Xi,1)[1] \\ 0.67690 instead of 0.49712, *** oups!!
However, Vec( Xi(x) + O(x) ) does give the correct answer here, [0.49712].
Can I have an explanation or (better) advice regarding this behaviour of GP ?
Jacques Gélinas
Ref: http://pari.math.u-bordeaux.fr/archives/pari-users-1908/msg00022.html