• Non ci sono risultati.

Computing with Infinite and Infinitesimal Numbers in Matlab easily: The Grossone-Light Toolbox

N/A
N/A
Protected

Academic year: 2021

Condividi "Computing with Infinite and Infinitesimal Numbers in Matlab easily: The Grossone-Light Toolbox"

Copied!
1
0
0

Testo completo

(1)

Computing with Infinite and Infinitesimal

Numbers in Matlab easily:

The GrossoneLight Toolbox

Marco Cococcioni

Dipartimento di Ingegneria dell’Informazione, University of Pisa, Italy marco.cococcioni@unipi.it

Keywords. Infinite and Infinitesimal Numbers; Grossone; Object-Oriented Programming; Numerical Linear Algebra.

The introduction of the novel numeral system introduced in [1] (based on the notion of grossone) opens new frontiers in numerical computing, allowing to easily perform computations involving infinite and infinitesimal numbers in a numerical way. This work is aimed at making this powerful numeral system easily usable and accessible to the large community of Matlab users.

We have implemented (using pure Matlab code) the GrossoneLight Matlab Toolbox, a collection of classes, functions and examples that make grossone-based computing straightforward. The toolbox is called “light” because it intro-duces some limitations to the more general numeral system discussed in [1]. In particular, only numbers made of integer powers of grossone can be represented, together with bound on the minimum and maximum number of such powers. However, even in presence of such limitations, the implemented numeral system is powerful enough to solve basic numerical linear algebra problems.

Following the Matlab object-oriented abstraction paradigm, available in lat-est Matlab releases, we have been able to implement two classes: the Gross-Number class and the GrossArray class. The first class allows to represent a number made of integer grossone powers, where the coefficient used as multi-plier for each power is a standard double-precision Matlab floating-point number. The GrossNumber class has been equipped with basic operations (addition, multiplication, etc) by operator overloading. This allows to operate on Gross-Number objects as any other Matlab scalar variable.

The GrossArray class has been introduced to handle operations on arrays of GrossNumber objects more efficiently. The speedup can be significant, espe-cially when the code is written in a vectorized fashion and a GPGPU (General Purpose Graphics Processing Units) is available on the machine running the toolbox.

References

[1] Sergeyev Ya.D. (2009) Numerical computations and Mathematical modelling with infinite and infinitesimal numbers, J of App Math and Comp, Vol. 29, pp. 177-195.

Riferimenti

Documenti correlati

However, the “Unconditional Surrender of Germany” absolves the three Allied Powers from declaring any or all personnel of German Armed Forces to be POWs (7

Le scelte degli autori dei testi analizzati sono diverse: alcuni (per esempio Eyal Sivan in Uno specialista) usano materiale d’archivio co- me fotografie e filmati, altri invece

The mutagenesis study supported the hypothesis of independent binding of RMNC6 in both pockets, since the mutation of amino acid residues in the pocket located in the RNase

In the present study, we determined histamine content and HDC activity in human colorectal cancer and correlated them with tumor stages and intratumor microvessel density

With this contribution we aim to show how researchers can use social media and network platform, how to maximise the outreach of projects, how social media can be useful to

Infine, gli imprenditori o i lavoratori autonomi (spesso coinvolti in interventi di promozione della creazione di impresa o di rafforzamento dell’imprenditorialità) sono presenti

kalendas Iulii», 1 già fin dal titolo pone due problemi: la questione del rito Gallicano, riferibile alla Chiesa locale; l’iter attraverso il quale il libro

At a higher speed of skid–ding a load, an average pulling force is smaller than at a lower speed when the effect of dynamic impacts of skidded logs at a higher speed does