Approaches to the implementation of generalized complex numbers in the Julia language

In problems of mathematical physics in order to study the structures of spaces by using the Cayley-Klein models in theoretical calculations, the generalized complex numbers are essential. In the case of computational experiments, such tasks require their high-quality implementation in a programming language. The proposed small deployment of generalized complex numbers in modern programming languages have several disadvantages. In this article we propose to use the Julia language as the language for generalized complex numbers implemention, not least because it supports the multiple dispatch mechanism. The paper demonstrates the approach to the implementation of one of the types of generalized complex numbers, namely dual numbers. We place particular emphasis on the description of the use of the multiple dispatch mechanism to introduce a new numerical type. The resulting implementation of dual numbers can be considered as a prototype for a complete software module supporting generalized complex numbers. © 2020 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). CEUR Workshop Proceedings (CEUR-WS.org)

Conference proceedings
Publisher
CEUR-WS
Language
English
Pages
141-157
Status
Published
Volume
2639
Year
2020
Organizations
  • 1 Department of Applied Probability and Informatics, Peoples' Friendship University of Russia (RUDN University), 6, Miklukho-Maklaya St., Moscow, 117198, Russian Federation
  • 2 Laboratory of Information Technologies, Joint Institute for Nuclear Research, 6, Joliot-Curie St., Dubna, Moscow region, 141980, Russian Federation
Keywords
Complex numbers; Dual numbers; Julia; Multiple dispatch; Parabolic complex numbers
Date of creation
02.11.2020
Date of change
01.03.2021
Short link
https://repository.rudn.ru/en/records/article/record/65175/
Share

Other records