matrix_log_33¶
- torch_sim.math.matrix_log_33(matrix, sim_dtype=torch.float64, fallback_warning=False)[source]¶
Compute the matrix logarithm of a square 3x3 matrix.
- Parameters:
- Returns:
The matrix logarithm of the input matrix
- Return type:
This function attempts to use the exact formula for 3x3 matrices first, and falls back to scipy implementation if that fails.