Skip to content

Files

Latest commit

f163104 · Dec 29, 2017

History

History
28 lines (19 loc) · 2.75 KB

rotation.md

File metadata and controls

28 lines (19 loc) · 2.75 KB

Rotation Matrix

Description: Rotation Matrix with inputs angle in rad and rotation axis.

There are 3 possible cases:

  • rotation_matrix(phi,3)

  • rotation_matrix(phi,2)

  • rotation_matrix(phi,1)

Property Value
Result Tensor-valued function
Data Types Tensor2

Example

real(kind=8) :: phi
type(Tensor2)  :: R

R = rotation_matrix(phi,1)