openskill.models.common
¶
Common functions for all models.
Module Contents¶
Functions¶
|
Transpose a matrix. |
|
Normalizes a vector to a target range of values. |
|
Takes value of a number and makes it negative. |
- openskill.models.common._matrix_transpose(matrix)[source]¶
Transpose a matrix.
- Parameters:
matrix (List[List[Any]]) – A matrix in the form of a list of lists.
- Returns:
A transposed matrix.
- Return type:
List[List[Any]]