Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2403.16634

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Mathematical Software

arXiv:2403.16634 (cs)
[Submitted on 25 Mar 2024 (v1), last revised 8 May 2025 (this version, v2)]

Title:Symbolic and User-friendly Geometric Algebra Routines (SUGAR) for Computations in Matlab

Authors:Manel Velasco, Isiah Zaplana, Arnau Dória-Cerezo, Pau Martí
View a PDF of the paper titled Symbolic and User-friendly Geometric Algebra Routines (SUGAR) for Computations in Matlab, by Manel Velasco and Isiah Zaplana and Arnau D\'oria-Cerezo and Pau Mart\'i
View PDF HTML (experimental)
Abstract:Geometric algebra (GA) is a mathematical tool for geometric computing, providing a framework that allows a unified and compact approach to geometric relations which in other mathematical systems are typically described using different more complicated elements. This fact has led to an increasing adoption of GA in applied mathematics and engineering problems. However, the scarcity of symbolic implementations of GA and its inherent complexity, requiring a specific mathematical background, make it challenging and less intuitive for engineers to work with. This prevents wider adoption among more applied professionals. To address this challenge, this paper introduces SUGAR (Symbolic and User-friendly Geometric Algebra Routines), an open-source toolbox designed for Matlab and licensed under the MIT License. SUGAR facilitates the translation of GA concepts into Matlab and provides a collection of user-friendly functions tailored for GA computations, including support for symbolic operations. It supports both numeric and symbolic computations in high-dimensional GAs. Specifically tailored for applied mathematics and engineering applications, SUGAR has been meticulously engineered to represent geometric elements and transformations within two and three-dimensional projective and conformal geometric algebras, aligning with established computational methodologies in the literature. Furthermore, SUGAR efficiently handles functions of multivectors, such as exponential, logarithmic, sinusoidal, and cosine functions, enhancing its applicability across various engineering domains, including robotics, control systems, and power electronics. Finally, this work includes four distinct validation examples, demonstrating SUGAR's capabilities across the above-mentioned fields and its practical utility in addressing real-world applied mathematics and engineering problems.
Comments: 33 pages, 6 figures, journal paper accepted in ACM TOMS
Subjects: Mathematical Software (cs.MS); Robotics (cs.RO); Systems and Control (eess.SY)
MSC classes: G.4
Cite as: arXiv:2403.16634 [cs.MS]
  (or arXiv:2403.16634v2 [cs.MS] for this version)
  https://doi.org/10.48550/arXiv.2403.16634
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.1145/3734693
DOI(s) linking to related resources

Submission history

From: Isiah Zaplana [view email]
[v1] Mon, 25 Mar 2024 11:22:38 UTC (436 KB)
[v2] Thu, 8 May 2025 09:14:32 UTC (325 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Symbolic and User-friendly Geometric Algebra Routines (SUGAR) for Computations in Matlab, by Manel Velasco and Isiah Zaplana and Arnau D\'oria-Cerezo and Pau Mart\'i
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
license icon view license
Current browse context:
cs.MS
< prev   |   next >
new | recent | 2024-03
Change to browse by:
cs
cs.RO
cs.SY
eess
eess.SY

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack