3 Star 3 Fork 0

Gitee 极速下载/Arb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github/workflows
acb
acb_calc
acb_dft
acb_dirichlet
profile
test
arb_quadratic_powers.c
backlund_s.c
backlund_s_bound.c
backlund_s_gram.c
chi.c
chi_vec.c
dft.c
eta.c
euler_product_real_ui.c
gauss_sum.c
gauss_sum_factor.c
gauss_sum_naive.c
gauss_sum_order2.c
gauss_sum_theta.c
gram_point.c
hardy_theta.c
hardy_theta_series.c
hardy_z.c
hardy_z_series.c
hardy_z_zero.c
hurwitz.c
hurwitz_precomp_bound.c
hurwitz_precomp_choose_param.c
hurwitz_precomp_clear.c
hurwitz_precomp_eval.c
hurwitz_precomp_init.c
isolate_hardy_z_zero.c
jacobi_sum.c
jacobi_sum_factor.c
jacobi_sum_gauss.c
jacobi_sum_naive.c
l.c
l_euler_product.c
l_fmpq.c
l_fmpq_afe.c
l_hurwitz.c
l_jet.c
l_series.c
l_vec_hurwitz.c
lerch_phi.c
lerch_phi_direct.c
lerch_phi_integral.c
pairing.c
pairing_conrey.c
platt_beta.c
platt_c_bound.c
platt_hardy_z_zeros.c
platt_i_bound.c
platt_lemma_32.c
platt_lemma_A11.c
platt_lemma_A5.c
platt_lemma_A7.c
platt_lemma_A9.c
platt_lemma_B1.c
platt_lemma_B2.c
platt_local_hardy_z_zeros.c
platt_multieval.c
platt_multieval_threaded.c
platt_ws_interpolation.c
platt_zeta_zeros.c
powsum_sieved.c
powsum_smooth.c
powsum_term.c
qseries_arb.c
qseries_arb_powers.c
root.c
root_number.c
roots_clear.c
roots_init.c
si_poly_evaluate.c
stieltjes.c
theta_arb.c
theta_length.c
turing_method_bound.c
ui_theta_arb.c
vec_mellin_arb.c
xi.c
zeta.c
zeta_bound.c
zeta_jet.c
zeta_jet_rs.c
zeta_rs.c
zeta_rs_bound.c
zeta_rs_d_coeffs.c
zeta_rs_f_coeffs.c
zeta_rs_r.c
zeta_zeros.c
acb_elliptic
acb_hypgeom
acb_mat
acb_modular
acb_poly
acf
arb
arb_calc
arb_fmpz_poly
arb_fpwrap
arb_hypgeom
arb_mat
arb_poly
arf
bernoulli
bool_mat
dirichlet
dlog
doc
double_interval
examples
fmpr
fmpz_extras
fmpzi
hypgeom
mag
partitions
.build_dependencies
.gitignore
.travis.yml
CMakeLists.txt
LICENSE
Makefile.in
Makefile.subdirs
README.md
acb.h
acb_calc.h
acb_dft.h
acb_dirichlet.h
acb_elliptic.h
acb_hypgeom.h
acb_mat.h
acb_modular.h
acb_poly.h
acf.h
appveyor.yml
arb.h
arb_calc.h
arb_fmpz_poly.h
arb_fpwrap.h
arb_hypgeom.h
arb_mat.h
arb_poly.h
arf.h
bernoulli.h
bool_mat.h
configure
dirichlet.h
dlog.h
double_interval.h
fmpr.h
fmpz_extras.h
fmpzi.h
hypgeom.h
mag.h
partitions.h
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/fredrik-johansson/arb
克隆/下载
platt_lemma_32.c 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
p15-git-acc 提交于 6年前 . platt multieval
/*
Copyright (C) 2019 D.H.J Polymath
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"
/* out = 2*pi^(5/4)*exp(1/(8*h^2) - (t0^2)/(2*h^2) - pi*x) */
void
acb_dirichlet_platt_lemma_32(arb_t out, const arb_t h, const arb_t t0,
const arb_t x, slong prec)
{
arb_t pi, one_fourth;
arb_t x1, x2;
arb_init(pi);
arb_init(one_fourth);
arb_init(x1);
arb_init(x2);
arb_const_pi(pi, prec);
arb_set_d(one_fourth, 0.25);
arb_set_d(x1, 1.25);
arb_pow(x1, pi, x1, prec);
arb_mul_2exp_si(x1, x1, 1);
arb_sqr(x2, t0, prec);
arb_sub(x2, x2, one_fourth, prec);
arb_div(x2, x2, h, prec);
arb_div(x2, x2, h, prec);
arb_mul_2exp_si(x2, x2, -1);
arb_mul(out, pi, x, prec);
arb_add(out, out, x2, prec);
arb_neg(out, out);
arb_exp(out, out, prec);
arb_mul(out, out, x1, prec);
arb_clear(pi);
arb_clear(one_fourth);
arb_clear(x1);
arb_clear(x2);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/Arb.git
git@gitee.com:mirrors/Arb.git
mirrors
Arb
Arb
master

搜索帮助