skew_symmetric_matrix

skew_symmetric_matrix(upper_tri): 

LLM Docstring

Build a skew-symmetric matrix from the flattened entries of its strict upper triangle.

The vector length must correspond to a valid upper triangle; the entries are scattered above the diagonal and negated below it.

  • upper_tri: np.ndarray

    the strict-upper-triangle entries

  • :returns: np.ndarray

    the skew-symmetric matrix (or stack)


Feedback

Examples

Templates

Documentation