Package lib :: Package linear_algebra :: Module matrix_exponential
[hide private]
[frames] | no frames]

Module matrix_exponential

source code

Module for the calculation of the matrix exponential.

Functions [hide private]
numpy rank-2 array
matrix_exponential(A)
Calculate the exact matrix exponential using the eigenvalue decomposition approach.
source code
Variables [hide private]
  __package__ = 'lib.linear_algebra'

Imports: array, diag, dot, exp, eig, inv, is_complex


Function Details [hide private]

matrix_exponential(A)

source code 

Calculate the exact matrix exponential using the eigenvalue decomposition approach.

Parameters:
  • A (numpy rank-2 array) - The square matrix to calculate the matrix exponential of.
Returns: numpy rank-2 array
The matrix exponential. This will have the same dimensionality as the A matrix.