torch_sim.mathΒΆ
Mathematical operations and utilities. Adapted from https://github.com/abhijeetgangan/torch_matfunc.
Functions
Computes batched vdot (sum of element-wise product) for groups of vectors. |
|
Frechet derivative of the matrix exponential of A in the direction E. |
|
Block-enlarge helper for Frechet derivative via matrix exponential. |
|
Scaling-Pade-squaring helper for Frechet derivative of exp(A) on 3x3 matrices. |
|
Compute the matrix exponential of A using PyTorch's matrix_exp. |
|
Compute the matrix logarithm of a square 3x3 matrix. |
|
Compute the matrix logarithm of a square matrix using scipy.linalg.logm. |
Classes
Built-in immutable sequence. |