Matrix exponentiation implementation

Could please explain the implementation of creating a T matrix for k.

Hi @shreyas.ny
pls refer to the matrix exponentiation pdf available in the course content for more help.
If u still feel like something is unclear, please post it here.
Hope dis helps.