Skip to main content

Optimal Parenthesizing of Geometric Algebra Products

  • Conference paper
  • First Online:
  • 1854 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNIP,volume 12221))

Abstract

Manipulating objects using geometric algebra may involve several associative products in a single expression. For example, an object can be constructed by the outer product of multiple points. This number of products can be small for some conformal algebra and high for higher dimensional algebras such as quadric conformal geometric algebras. In these situations, the order of products (i.e. the choice of the parenthesis in the expression) should not change the final result but may change the overall computational cost, according to the grade of the intermediate multivectors. Indeed, the usual left to right way to evaluate the expression may not be most computationally efficient. Studies on the number of arithmetic operations of geometric algebra expressions have been limited to products of only two homogeneous multivectors. This paper shows that there exists an optimal order in the evaluation of an expression involving geometric and outer products, and presents a dynamic programming framework to find it.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Aho, A.V., Hopcroft, J.E.: The design and analysis of computer algorithms. Pearson Education India (1974)

    Google Scholar 

  2. Breuils, S., Nozick, V., Sugimoto, A.: Computational aspects of geometric algebra products of two homogeneous multivectors (2020). ArXiv abs/2002.11313

    Google Scholar 

  3. Breuils, S., Nozick, V., Sugimoto, A., Hitzer, E.: Quadric conformal geometric algebra of \(\mathbb{R}^{9,6}\). Adv. Appl. Clifford Algebras 28(2), 35 (2018). https://doi.org/10.1007/s00006-018-0851-1

    Article  MATH  Google Scholar 

  4. Charrier, P., Klimek, M., Steinmetz, C., Hildenbrand, D.: Geometric algebra enhanced precompiler for C++, OpenCL and Mathematica’s OpenCLLink. Adv. Appl. Clifford Algebras 24(2), 613–630 (2014)

    Article  Google Scholar 

  5. De Keninck, S., Dorst, L.: Geometric algebra levenberg-marquardt. In: Gavrilova, M., Chang, J., Thalmann, N.M., Hitzer, E., Ishikawa, H. (eds.) CGI 2019. LNCS, vol. 11542, pp. 511–522. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-22514-8_51

    Chapter  Google Scholar 

  6. Dorst, L., Fontijne, D., Mann, S.: Geometric Algebra for Computer Science. An Object-Oriented Approach to Geometry. Morgan Kaufmann, Burlington (2007)

    Google Scholar 

  7. Fontijne, D.: Efficient Implementation of Geometric Algebra. Ph.D. thesis, University of Amsterdam (2007)

    Google Scholar 

  8. Hu, T., Shing, M.: Computation of matrix chain products. Part I. SIAM J. Comput. 11(2), 362–373 (1982)

    Article  MathSciNet  Google Scholar 

  9. Kanatani, K.: Understanding Geometric Algebra: Hamilton, Grassmann, and Clifford for Computer Vision and Graphics. A. K. Peters Ltd, Natick (2015)

    Book  Google Scholar 

  10. Lasenby, J., Hadfield, H., Lasenby, A.: Calculating the rotor between conformal objects. Adv. Appl. Clifford Algebras 29(5), 102 (2019). https://doi.org/10.1007/s00006-019-1014-8

    Article  MathSciNet  MATH  Google Scholar 

  11. Perwass, C.: Geometric Algebra with Applications in Engineering, Geometry and Computing, vol. 4. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-540-89068-3

    Book  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stéphane Breuils .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Breuils, S., Nozick, V., Sugimoto, A. (2020). Optimal Parenthesizing of Geometric Algebra Products. In: Magnenat-Thalmann, N., et al. Advances in Computer Graphics. CGI 2020. Lecture Notes in Computer Science(), vol 12221. Springer, Cham. https://doi.org/10.1007/978-3-030-61864-3_42

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-61864-3_42

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-61863-6

  • Online ISBN: 978-3-030-61864-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics