Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Article . 2025
License: CC BY
Data sources: ZENODO
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Article . 2025
License: CC BY
Data sources: ZENODO
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Article . 2025
License: CC BY
Data sources: ZENODO
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Article . 2025
License: CC BY
Data sources: ZENODO
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Article . 2025
License: CC BY
Data sources: ZENODO
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Article . 2025
License: CC BY
Data sources: ZENODO
ZENODO
Article . 2025
License: CC BY
Data sources: Datacite
ZENODO
Article . 2025
License: CC BY
Data sources: Datacite
ZENODO
Article . 2025
License: CC BY
Data sources: Datacite
ZENODO
Article . 2025
License: CC BY
Data sources: Datacite
ZENODO
Article . 2025
License: CC BY
Data sources: Datacite
ZENODO
Article . 2025
License: CC BY
Data sources: Datacite
ZENODO
Article . 2025
License: CC BY
Data sources: Datacite
versions View all 7 versions
addClaim

Harmonik Serilerin Hesaplanmasında Saf Python ve JAX Tabanlı Yaklaşımların Karşılaştırılması

Authors: Keçeci, Mehmet;

Harmonik Serilerin Hesaplanmasında Saf Python ve JAX Tabanlı Yaklaşımların Karşılaştırılması

Abstract

Harmonik Serilerin Hesaplanmasında Saf Python ve JAX Tabanlı Yaklaşımların Karşılaştırılması Mehmet Keçeci ORCID: https://orcid.org/0000-0001-9937-9839, Independent Researcher Received: 28.07.2025 Özet/Abstract: Bu çalışma, harmonik serilerin hesaplanmasında geleneksel saf Python tabanlı bir yaklaşım ile modern JAX kütüphanesine dayalı bir yaklaşımın performans, ölçeklenebilirlik ve verimlilik açısından karşılaştırılmasını sunmaktadır. Harmonik seri ve matematiksel analizde önemli bir yere sahip olan ıraksak bir seridir. Hesaplamalı matematikte bu tür serilerin etkin bir şekilde değerlendirilmesi, özellikle büyük veri ve yüksek hassasiyet gerektiren uygulamalarda kritik öneme sahiptir. Geleneksel saf Python yaklaşımı, fractions.Fraction sınıfını kullanarak kesin aritmetik sağlar ve kodun okunabilirliğini ve doğruluğunu artırır. Ancak, bu yöntem büyük n değerleri için doğrusal zaman karmaşıklığına sahip olup, tekrarlı hesaplamalar yapıldığında performans açısından sınırlıdır. Ayrıca, bellek kullanımı ve işlem süresi, n arttıkça doğrusal olarak büyür. Buna karşılık, JAX tabanlı yaklaşım (Oresmej modülü), yüksek performanslı bilimsel hesaplama için tasarlanmış bir kütüphane olan JAX'ın vektörleştirme (vmap), sadece ihtiyaç duyulduğunda derleme (jit) ve otomatik gradyan hesaplama gibi gelişmiş özelliklerinden yararlanır. Bu yaklaşım, özellikle büyük ölçekli ve tekrarlı işlemlerde belirgin bir hız kazancı sağlar. Ayrıca, @lru_cache ile önbellekleme desteklenerek aynı girişler için yeniden hesaplama önlenir. Dönüş değeri tuple olarak tanımlanarak veri bütünlüğü ve önbellek uyumu artırılır. Karşılaştırmalı analiz, mikro-benchmarking teknikleriyle gerçekleştirilmiştir. JAX tabanlı yaklaşım, ısınma sürecinin ardından saf Python'a göre yüzlerce kat daha hızlıdır ve önbellekli fonksiyonlar neredeyse anında sonuç üretir. Bu nedenle, bilimsel araştırmalarda yüksek performans, ölçeklenebilirlik ve sürdürülebilir hesaplama için Cython (Cythonize), Numba, JAX, NumPy, Paralel İşlem (multiprocessing, joblib) tabanlı yaklaşımlar kesinlikle tercih edilmelidir. Anahtar Kelimeler/Keywords: Harmonik Seri, Saf Python, JAX, Bilimsel Hesaplama, Performans Karşılaştırması, Önbellekleme, Vektörleştirme, JIT Derleme, Kesin Aritmetik, Sürdürülebilir Kodlama, Yeşil Kodlama, Oresme, Oresmej, Numba, Cython, Cythonize, NumPy, Paralel İşlem, joblib.

Keywords

Performans Karşılaştırması, Sürdürülebilir Kodlama, Cythonize, Harmonik Seri, Numba, Kesin Aritmetik, Oresme, Yeşil Kodlama, joblib, Bilimsel Hesaplama, Oresmej, Paralel İşlem, Saf Python, NumPy, JIT Derleme, Cython, JAX, Vektörleştirme, Önbellekleme

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Green