vector_to_skew_symmetric_matrix

ivy.vector_to_skew_symmetric_matrix(vector, f=None)[source]

Given vector \(\mathbf{a}\in\mathbb{R}^3\), return associated skew-symmetric matrix \([\mathbf{a}]_×\in\mathbb{R}^{3×3}\) satisfying \(\mathbf{a}×\mathbf{b}=[\mathbf{a}]_×\mathbf{b}\).

[reference]

Parameters
  • vector (array) – Vector to convert [batch_shape,3].

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

Skew-symmetric matrix [batch_shape,3,3].


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty