Code Monkey home page Code Monkey logo

cayley-dickson-calculator's Introduction

Computing on Cayley-Dickson Algebras

What is this?

I'm sure you have heard before about the complex numbers:

$$p = a_0 + a_1i$$

in which $i^2 = -1$ and where the coefficients $a_0, a_1$ are real numbers.

Perhaps you have also heard about the quaternions:

$$p = a_0 + a_1i + a_2j + a_3k$$

with $ijk = -1$ and $i^2 = j^2 = k^2 = -1$.

If you are an algebra enthusiast, you most likely also know about the octonions!

$$p = a_0 + a_1i + a_2j + a_3k + a_4I + a_5J + a_6K + a_7E$$

the multiplication rules of the imaginary units are slightly more complicated here... but they can be neatly visualized through the Fano plane.

All the previous numbers and the algebras they are part of, including the reals, belong to a family of algebras named the Cayley-Dickon algebras. As you may have noticed, the dimension of each algebra doubles that of the previous, i.e., the algebra of the reals is of dimension 1, that of the complex of dimension 2, quaternions, 4, octonions, 8... In fact, each algebra is obtained from the previous through what's called the Cayley-Dickson construction process, and it goes on forever. The next algebra in this series is the algebra of the sedenions, of dimension 16, and I don't really know the names for the consecutive ones!

Anyway, I'm sure by now you must be very eager to operate on the elements of Cayley-Dickon algebras! And, since I know things get tricky when the dimension goes up, I have made a calculator to do the job for you! So, go ahead, input your numbers in the input fields—they must be members of valid Cayley-Dickon algebras—choose your favorite operator... et voilà! there you go the result!

cayley-dickson-calculator's People

Contributors

robaina avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.