Function lupnt::Skew¶
Defined in File math_utils.cc
Function Documentation¶
-
Mat3 lupnt::Skew(const Vec3 &x)¶
Skew symmetric matrix from a vector.
Build the 3x3 skew-symmetric (“cross-product”) matrix
[x]_xof a vectorx, such that[x]_x * v == x.cross(v)for any vectorv.Exposed to Python via
lupnt.skewfor use in attitude-dynamics / angular-velocity computations (e.g. formingomega x ras a matrix-vector product).- Parameters:
x – Input vector
x – Input 3-vector
- Returns:
Skew symmetric matrix
- Returns:
3x3 skew-symmetric matrix of
x