mirror of
https://github.com/vale981/arb
synced 2025-03-05 17:31:38 -05:00
allow G == NULL also in hardy_z to select zeta
This commit is contained in:
parent
b375366fa5
commit
7c69f5d009
3 changed files with 5 additions and 2 deletions
|
@ -51,7 +51,7 @@ acb_dirichlet_l(acb_t res, const acb_t s,
|
|||
{
|
||||
acb_indeterminate(res);
|
||||
}
|
||||
else if (G->q == 1)
|
||||
else if (G == NULL || G->q == 1)
|
||||
{
|
||||
acb_dirichlet_zeta(res, s, prec);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ acb_dirichlet_l_jet(acb_ptr res, const acb_t s,
|
|||
return;
|
||||
|
||||
/* todo: reflection formula */
|
||||
if (G->q == 1)
|
||||
if (G == NULL || G->q == 1)
|
||||
{
|
||||
acb_init(a);
|
||||
acb_one(a);
|
||||
|
|
|
@ -429,6 +429,9 @@ L-functions
|
|||
Hardy Z-functions
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
For convenience, setting both *G* and *chi* to *NULL* in the following
|
||||
methods selects the Riemann zeta function.
|
||||
|
||||
.. function:: void acb_dirichlet_hardy_theta(acb_ptr res, const acb_t t, const dirichlet_group_t G, const dirichlet_char_t chi, slong len, slong prec)
|
||||
|
||||
Computes the phase function used to construct the Z-function.
|
||||
|
|
Loading…
Add table
Reference in a new issue