expm_frechet_kronform

torch_sim.math.expm_frechet_kronform(A, method=None, check_finite=True)[source]

Construct the Kronecker form of the Frechet derivative of expm.

Parameters:
  • A (Tensor) – Square matrix tensor with shape (N, N)

  • method (str | None) – Optional extra keyword to be passed to expm_frechet

  • check_finite (bool) – Whether to check that the input matrix contains only finite numbers. Disabling may give a performance gain, but may result in problems (crashes, non-termination) if the inputs do contain infinities or NaNs.

Returns:

Kronecker form of the Frechet derivative of the matrix exponential

with shape (N*N, N*N)

Return type:

K