Skip to content

Compute the exponential and natural logarithm for a square matrix.

Notifications You must be signed in to change notification settings

Krystifer/Logarithm_of_SquareMatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Calculate the Logarithm of a square matrix

Using Taylor series we can approximate an analitic function to a polinomial, for example, is well known that

and

Also, matrix multiplication allows us to define the exponential matrix, which is the matrix

and the natural logarithm of a matrix, which is the matrix

Where A is a square matrix. Since has been proved that these series indeed exist (converges), one might want to know how the matrix or the natural log of A looks like for a given . This code allows to compute such matrices for a given number of user-specified addends.