matrix_exp

torch_sim.math.matrix_exp(A)[source]

Compute the matrix exponential of A using PyTorch’s matrix_exp.

Parameters:

A (Tensor) – Input matrix

Returns:

Matrix exponential of A

Return type:

Tensor