mirror of
https://github.com/vale981/arb
synced 2025-03-05 09:21:38 -05:00
add acb_dirichlet_l as an alias for acb_dirichlet_l_hurwitz
This commit is contained in:
parent
10a9ac16ce
commit
75c1721746
4 changed files with 29 additions and 2 deletions
|
@ -88,6 +88,7 @@ void acb_dirichlet_jacobi_sum(acb_t res, const dirichlet_group_t G, const dirich
|
|||
void acb_dirichlet_jacobi_sum_ui(acb_t res, const dirichlet_group_t G, ulong a, ulong b, slong prec);
|
||||
|
||||
void acb_dirichlet_l_hurwitz(acb_t res, const acb_t s, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec);
|
||||
void acb_dirichlet_l(acb_t res, const acb_t s, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec);
|
||||
|
||||
/* utils */
|
||||
|
||||
|
|
21
acb_dirichlet/l.c
Normal file
21
acb_dirichlet/l.c
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
Copyright (C) 2016 Fredrik Johansson
|
||||
Copyright (C) 2016 Pascal Molin
|
||||
|
||||
This file is part of Arb.
|
||||
|
||||
Arb is free software: you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License (LGPL) as published
|
||||
by the Free Software Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version. See <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "acb_dirichlet.h"
|
||||
|
||||
void
|
||||
acb_dirichlet_l(acb_t res, const acb_t s,
|
||||
const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
|
||||
{
|
||||
acb_dirichlet_l_hurwitz(res, s, G, chi, prec);
|
||||
}
|
||||
|
|
@ -13,7 +13,6 @@
|
|||
#include "acb_dirichlet.h"
|
||||
#include "acb_poly.h"
|
||||
|
||||
/* todo: should document or fix that it doesn't allow aliasing */
|
||||
void
|
||||
acb_dirichlet_l_hurwitz(acb_t res, const acb_t s,
|
||||
const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
|
||||
|
|
|
@ -195,7 +195,7 @@ L-functions
|
|||
|
||||
.. function:: void acb_dirichlet_l_hurwitz(acb_t res, const acb_t s, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
|
||||
|
||||
Compute `L(s,\chi)` using decomposition in terms of the Hurwitz zeta function
|
||||
Computes `L(s,\chi)` using decomposition in terms of the Hurwitz zeta function
|
||||
|
||||
.. math::
|
||||
|
||||
|
@ -205,3 +205,9 @@ L-functions
|
|||
is used to avoid poles.
|
||||
|
||||
This formula is slow for large *q*.
|
||||
|
||||
.. function:: void acb_dirichlet_l(acb_t res, const acb_t s, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
|
||||
|
||||
Computes `L(s,\chi)` using a default choice of algorithm.
|
||||
Currently, only the Hurwitz zeta formula is used.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue