DOCUMENTATION CalcMe
  • language Translations of this page
    • Translations of this page
    • Català (ca)
    • Dansk (da)
    • Deutsch (de)
    • English (en)
    • Español (es)
    • Français (fr)

  1. Wiris Ecosystem Documentation
  2. CalcMe documentation
  3. Commands
  4. Linear algebra
  5. Rotation matrix

en:calc:commands:linear_algebra:rotation_matrix

Rotation matrix

Computes the rotation matrix of angle alpha: space space open parentheses table row cell cos left parenthesis alpha right parenthesis end cell cell sin left parenthesis alpha right parenthesis end cell 0 row cell negative sin left parenthesis alpha right parenthesis end cell cell cos left parenthesis alpha right parenthesis end cell 0 row 0 0 1 end table close parentheses.

Syntax

rotation_matrix(Real)
rotation_matrix(Point, Vector, Real)

Description

rotation_matrix(Real)

Given a real alpha, computes the rotation matrix of angle alpha.

rotation_matrix(Point, Vector, Real)

Given a point P, a vector v and a real alpha, computes the rotation matrix around the line passing through P and vector v with angle alpha.

Related functions

Symmetry matrix, Rotation

Table of Contents
  • Syntax
  • Description
  • Related functions
Log In

Copyright © WIRIS 2021. All rights reserved.