rotationMatrixToX1 function

Creates a rotation matrix to map a vector x to [1 0 0 ... 0]

Creates a rotation matrix to map a vector x to [1 0 0 ... 0]

rotationMatrixToX1(x)

Arguments

  • x: Vector (sequence with J coordinates)

Returns

Rotation matrix (JxJ)

  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2023-08-12