Back to Search Start Over

Implementation of hyperbolic complex numbers in Julia language

Authors :
Korolkova, Anna V.
Gevorkyan, Migran N.
Kulyabov, Dmitry S.
Publication Year :
2023

Abstract

Background: Hyperbolic complex numbers are used in the description of hyperbolic spaces. One of the well-known examples of such spaces is the Minkowski space, which plays a leading role in the problems of the special theory of relativity and electrodynamics. However, such numbers are not very common in different programming languages. Purpose: Of interest is the implementation of hyperbolic complex in scientific programming languages, in particular, in the Julia language. Methods: The Julia language is based on the concept of multiple dispatch. This concept is an extension of the concept of polymorphism for object-oriented programming languages. To implement hyperbolic complex numbers, the multiple dispatching approach of the Julia language was used. Results: The result is a library that implements hyperbolic numbers. Conclusions: Based on the results of the study, we can conclude that the concept of multiple dispatching in scientific programming languages is convenient and natural.<br />Comment: in English; in Russian

Details

Language :
English
Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2301.01707
Document Type :
Working Paper
Full Text :
https://doi.org/10.22363/2658-4670-2022-30-4-318-329