Description Usage Arguments Value Author(s) Examples

Rotates a three-column matrix whose rows are vectors in 3D space, using quaternions

1 | ```
rotate(x, H)
``` |

`x` |
A matrix of three columns whose rows are points in 3D space |

`H` |
A quaternion. Does not need to have unit modulus |

Returns a matrix of the same size as `x`

Robin K. S. Hankin

1 2 3 4 5 6 7 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.