Search arXiv⌕ Search

arXiv · 2610.39904

Split Quaternion Toolbox: A MATLAB Implementation

Abstract

This paper presents a MATLAB toolbox for working with split quaternions and split quaternion matrices. Split quaternions, also known as coquaternions, form a four-dimensional associative non-commutative algebra over the real numbers with a signature (+,+,-,-). The toolbox provides two main classes: SplitQuaternion for scalar-valued split quaternions and SplitQuaternionMatrix for matrix-valued split quaternions. The implementation includes arithmetic operations, algebraic functions, matrix operations, linear algebra utilities, and various conversion methods. The toolbox is designed to be intuitive for users familiar with MATLAB's standard matrix operations while providing the full power of split quaternion algebra. This paper details the implementation, provides numerous examples, and demonstrates the toolbox's capabilities through practical demonstrations. The MATLAB toolbox is accessible at https://github.com/SalmanAhmadi-Asl/Split_Quaternion.git.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Salman Ahmadi-Asl, Abbas Moradi, Yang Zhang. 2026-10-29. Split Quaternion Toolbox: A MATLAB Implementation. https://arxiv.org/abs/2610.39904

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

A continuous scale space of diffeomorphisms

In this paper, we define and study a nested family of reproducing kernel Hilbert spaces of vector fields that is indexed by a range of scales, from which we construct a reproducing kernel Hilbert space of scale-dependent vector fields. We provide a characterization of the reproducing kernel of that space, with numerical approximations ensuring quick evaluations when this kernel does not have a closed form. We then introduce a multiscale version of the large deformation diffeomorphic metric mapping (LDDMM) problem and prove the existence of solutions. Finally, we provide numerical experiments performing landmark matching using multiscale LDDMM.

math.NA↗

Hierarchical Matrices with Tucker Blocks: Construction and Forward Evaluation

In this paper, we introduce hierarchical matrices with Tucker blocks (HMTB) for data-sparse approximation of matrices arising from nonoscillatory and mildly oscillatory kernels. Building on the hierarchical matrix framework, HMTB matrices replace conventional low-rank blocks with Tucker representations. Using high-dimensional interpolation and tensor compression and contractions, we develop algorithms for constructing HMTB matrices and performing matrix-vector multiplication. For an $N \times N$ matrix, these algorithms have linear and quasi-linear complexities in $N$, respectively. Numerical comparisons with an interpolation-based $\mathcal{H}$-matrix implementation demonstrate storage savings and, in several cases, reduced construction times, while maintaining competitive forward-evaluation costs. The framework is also applicable to quasi-uniform grids.

math.NA↗

Data-driven model order reduction for wave propagation in materials with damage and nonlinearities

In this work, we consider wave propagation in materials characterized by nonlinear properties or damage. To accelerate the simulations of the resulting high-dimensional problems, we apply model order reduction methods. Depending on the knowledge of the underlying equations and the availability of their discrete operators, intrusive methods (here projection-based approaches based on proper orthogonal decomposition (POD)) or non-instrusive methods (here data-driven approaches including dynamic mode decomposition (DMD) and operator inference (OpInf)) can be used. We recall the theoretical foundations of the methods and apply them to the problem of wave propagation. In three different numerical examples, we evaluate the performance of the reduction techniques.

math.NA↗