The hypercomplex number library

Version 1.0.0.0 (5,12 ko) par Martin V.
The code implements the library for hypercomplex numbers. It uses the Cayley-Dickson construction.
336 téléchargements
Mise à jour 17 août 2011

Afficher la licence

The code implements Hypercomplex numbers library by means of object programming.
The library is based on the Cayley-Dickson construction.

Description of individual methods:

Hypercomplex - a constructor. The input is double array with parts of the
hypercomplex number (parts must be real) or Hypercomplex
object (the constructor get the copy of the input in this
case). Example:
Hypercomplex([1 2 -5 10]) represents the quaternion
1+2i-5j+10k.

The input of following methods is one parameter only, the Hypercomplex
object variable.

disp - it displays parts of hypercomplex number
double - it converts the hypercomplex number to the double array
getDimension - it gets the dimension of the hypercomplex number
norm - it gets the norm of the hypercomplex number
conjugate - it gets the conjugation of the hypercomplex number
nextAlgebra - it transforms the hypercomplex number from the certain
Cayley-Dickson algebra to the upper one by filling zeros
to the end of the hypercomplex number

addZeros - it adds the select count of zeros to the end of the
hypercomplex number. The method has two parameters, the
Hypercomplex object and the count of added zeros.

Following operators are overloaded: +,- (also unary) and *. The result of the
operation is the Hypercomplex object.

Citation pour cette source

Martin V. (2026). The hypercomplex number library (https://fr.mathworks.com/matlabcentral/fileexchange/32559-the-hypercomplex-number-library), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Version Publié le Notes de version
1.0.0.0