{"title":"用于 Matlab 计算的符号化和用户友好型几何代数例程 (SUGAR)","authors":"Manel Velasco, Isiah Zaplana, Arnau Dória-Cerezo, Pau Martí","doi":"arxiv-2403.16634","DOIUrl":null,"url":null,"abstract":"Geometric algebra (GA) is a mathematical tool for geometric computing,\nproviding a framework that allows a unified and compact approach to geometric\nrelations which in other mathematical systems are typically described using\ndifferent more complicated elements. This fact has led to an increasing\nadoption of GA in applied mathematics and engineering problems. However, the\nscarcity of symbolic implementations of GA and its inherent complexity,\nrequiring a specific mathematical background, make it challenging and less\nintuitive for engineers to work with. This prevents wider adoption among more\napplied professionals. To address this challenge, this paper introduces SUGAR\n(Symbolic and User-friendly Geometric Algebra Routines), an open-source toolbox\ndesigned for Matlab and licensed under the MIT License. SUGAR facilitates the\ntranslation of GA concepts into Matlab and provides a collection of\nuser-friendly functions tailored for GA computations, including support for\nsymbolic operations. It supports both numeric and symbolic computations in\nhigh-dimensional GAs. Specifically tailored for applied mathematics and\nengineering applications, SUGAR has been meticulously engineered to represent\ngeometric elements and transformations within two and three-dimensional\nprojective and conformal geometric algebras, aligning with established\ncomputational methodologies in the literature. Furthermore, SUGAR efficiently\nhandles functions of multivectors, such as exponential, logarithmic,\nsinusoidal, and cosine functions, enhancing its applicability across various\nengineering domains, including robotics, control systems, and power\nelectronics. Finally, this work includes four distinct validation examples,\ndemonstrating SUGAR's capabilities across the above-mentioned fields and its\npractical utility in addressing real-world applied mathematics and engineering\nproblems.","PeriodicalId":501062,"journal":{"name":"arXiv - CS - Systems and Control","volume":"119 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Symbolic and User-friendly Geometric Algebra Routines (SUGAR) for Computations in Matlab\",\"authors\":\"Manel Velasco, Isiah Zaplana, Arnau Dória-Cerezo, Pau Martí\",\"doi\":\"arxiv-2403.16634\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Geometric algebra (GA) is a mathematical tool for geometric computing,\\nproviding a framework that allows a unified and compact approach to geometric\\nrelations which in other mathematical systems are typically described using\\ndifferent more complicated elements. This fact has led to an increasing\\nadoption of GA in applied mathematics and engineering problems. However, the\\nscarcity of symbolic implementations of GA and its inherent complexity,\\nrequiring a specific mathematical background, make it challenging and less\\nintuitive for engineers to work with. This prevents wider adoption among more\\napplied professionals. To address this challenge, this paper introduces SUGAR\\n(Symbolic and User-friendly Geometric Algebra Routines), an open-source toolbox\\ndesigned for Matlab and licensed under the MIT License. SUGAR facilitates the\\ntranslation of GA concepts into Matlab and provides a collection of\\nuser-friendly functions tailored for GA computations, including support for\\nsymbolic operations. It supports both numeric and symbolic computations in\\nhigh-dimensional GAs. Specifically tailored for applied mathematics and\\nengineering applications, SUGAR has been meticulously engineered to represent\\ngeometric elements and transformations within two and three-dimensional\\nprojective and conformal geometric algebras, aligning with established\\ncomputational methodologies in the literature. Furthermore, SUGAR efficiently\\nhandles functions of multivectors, such as exponential, logarithmic,\\nsinusoidal, and cosine functions, enhancing its applicability across various\\nengineering domains, including robotics, control systems, and power\\nelectronics. Finally, this work includes four distinct validation examples,\\ndemonstrating SUGAR's capabilities across the above-mentioned fields and its\\npractical utility in addressing real-world applied mathematics and engineering\\nproblems.\",\"PeriodicalId\":501062,\"journal\":{\"name\":\"arXiv - CS - Systems and Control\",\"volume\":\"119 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Systems and Control\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2403.16634\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Systems and Control","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2403.16634","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
几何代数(GA)是一种用于几何计算的数学工具,它提供了一个框架,可以用统一而紧凑的方法来处理几何关系,而在其他数学系统中,这些几何关系通常是用不同的更复杂的元素来描述的。这一事实导致应用数学和工程问题越来越多地采用 GA。然而,GA 符号实现的稀缺性及其固有的复杂性(需要特定的数学背景)使其对工程师的工作具有挑战性和直观性。这阻碍了 GA 在更多应用专业人士中的广泛应用。为了应对这一挑战,本文介绍了 SUGAR(符号和用户友好型几何代数例程),这是一个为 Matlab 设计的开源工具箱,采用 MIT 许可授权。SUGAR 有助于将几何代数概念转换到 Matlab 中,并为几何代数计算提供了一系列用户友好型函数,包括对符号运算的支持。它支持高维遗传算法的数值和符号计算。SUGAR 专为应用数学和工程应用而量身定制,经过精心设计,可在二维和三维投影和保角几何代数中表示几何元素和变换,与文献中已有的计算方法保持一致。此外,SUGAR 还能高效处理多向量函数,如指数函数、对数函数、正弦函数和余弦函数,从而增强了其在机器人、控制系统和电力电子学等各种工程领域的适用性。最后,这项工作包括四个不同的验证示例,展示了 SUGAR 在上述领域的能力及其在解决实际应用数学和工程问题方面的实用性。
Symbolic and User-friendly Geometric Algebra Routines (SUGAR) for Computations in Matlab
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.