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

07/19/2020
by   Migran N. Gevorkyan, et al.
0

In problems of mathematical physics, to study the structures of spaces using the Cayley-Klein models in theoretical calculations, the use of generalized complex numbers is required. In the case of computational experiments, such tasks require their high-quality implementation in a programming language. The proposed small implementation of generalized complex numbers in modern programming languages have several disadvantages. In this article, we propose using the Julia language as the language for implementing generalized complex numbers, 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 implement a new numerical type. The resulting implementation of dual numbers can be considered as a prototype for a complete software module for supporting generalized complex numbers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/04/2023

Implementation of hyperbolic complex numbers in Julia language

Background: Hyperbolic complex numbers are used in the description of hy...
research
03/11/2021

On Hardy's Apology Numbers

Twelve well-known "Recreational" numbers are generalized and classified ...
research
11/10/2019

Gemini: A Functional Programming Language for Hardware Description

This paper presents Gemini, a functional programming language for hardwa...
research
08/24/2020

Exact p-adic computation in Magma

We describe a new arithmetic system for the Magma computer algebra syste...
research
07/12/2016

Generating Cycloidal Gears for 3D Printing

(Shortened version of abstract in article itself) This article describ...
research
06/07/2018

Generalized Polylogarithms in Maple

This paper describes generalized polylogarithms, multiple polylogarithms...
research
01/08/2016

Anti-commutative Dual Complex Numbers and 2D Rigid Transformation

We introduce a new presentation of the two dimensional rigid transformat...

Please sign up or login with your details

Forgot password? Click here to reset