Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

nc_multiply function

The noncommutative product: multiplies quaternions in order, and anything else stays as written.

How to write it

nc_multiply(a, b, ...)

There is no ** in the language.

a
A quaternion, such as quaternion(0, 1, 0, 0). Takes an expression.
b
A quaternion. Takes an expression.

Examples

  • nc_multiply⁡(quaternion⁡(0,1,0,0),quaternion⁡(0,0,1,0))=quaternion⁡(0,0,0,1)\displaystyle \operatorname{nc\_multiply}(\operatorname{quaternion}(0, 1, 0, 0), \operatorname{quaternion}(0, 0, 1, 0)) = \operatorname{quaternion}(0, 0, 0, 1)
    nc_multiply(quaternion(0, 1, 0, 0), quaternion(0, 0, 1, 0))

    In the solver, nc_multiply(quaternion(0, 1, 0, 0), quaternion(0, 0, 1, 0)) gives quaternion(0, 0, 0, 1).

    Open in the solver