expm_frechet_block_enlarge

torch_sim.math.expm_frechet_block_enlarge(A, E)[source]

Helper function for testing and profiling.

Parameters:
  • A (Tensor) – Input matrix

  • E (Tensor) – Direction matrix

Returns:

Matrix exponential of A expm_frechet_AE: torch.Tensor

Frechet derivative of the matrix exponential of A in the direction E

Return type:

expm_A