cayley_hamilton

header-only C++ implementation of the iterative Cayley-Hamilton method for evaluating matrix power series and their differentials.

https://github.com/ritobias/cayley_hamilton

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary

Keywords

cayley-hamilton linear-algebra matrix-calculations
Last synced: 9 months ago · JSON representation

Repository

header-only C++ implementation of the iterative Cayley-Hamilton method for evaluating matrix power series and their differentials.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 5
Topics
cayley-hamilton linear-algebra matrix-calculations
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

Iterative Cayley-Hamilton

header-only C++ implementation of the iterative Cayley-Hamilton method for the evaluation of matrix power series (and their differentials) of complex square matrices of arbitrary size. For a more detailed description of the method, please see arXiv:2404.07704.

Content

cayley_hamilton.h

cayley_hamilton class

implementation of the iterative Cayley-Hamilton method for computing matrix power series. Callable class has three overloads, computing - only the matrix polynomial, - the matrix polynomial and its derivative in a given direction, - the matrix polynomial and all its derivatives.

has additional subroutines: - getrk computes and returns the Cayley-Hamilton decomposition coefficents for the matrix polynomial and of its derivatives - getrdr computes and returns the Cayley-Hamilton decomposition coefficients of the matrix polynomial and the derivatives of these coefficients - chmult computes the Cayley-Hamilton decomposition coefficients of the product of two matrix polynomials with given CH decomposition coefficients

chexp class

implementation of the iterative Cayley-Hamilton method with scaling and squaring for computing matrix exponentials. Callable class has three overloads, computing - only the matrix exponential, - the matrix exponential and its derivative in a given direction, - the matrix exponential and all its derivatives.

has additional subroutines: - getrk computes and returns the Cayley-Hamilton decomposition coefficents for the matrix exponential and of its derivatives - getrdr computes and returns the Cayley-Hamilton decomposition coefficients of the matrix exponential and the derivatives of these coefficients

nvexp class

callable class, implementing the matrix exponentiation using naive Taylor series definition in combination with scaling and squaring.

See comments in the header file for more details.

sun_algebra.h

sun_algebra class

implementation of a sunalgebra class, which provides: - hermitian su(n) basis as sparsemat objects - member functions to transform between su(n) vectors and su(n) matrices in either anti-hermition or hermitian rep.: * anti-hermitian: getalgmatah(invec,outmat) <--> projah(inmat,outvec) * hermitiaon: getalgmath(invec,outmat) <--> projh(inmat,outvec) - member function to take matrix log of SU(N) matrices and return corresponding su(n) vector: logah(inmat,outvec) - member function to compute the SU(N) matrix corresponding to an su(n) vector: getgrpmat(invec,outmat) (using the cayleyhamilton class)

test.cpp

CPP file to run some basic tests with the cayleyhamilton, chexp, and sunalgebra classes.

Owner

  • Name: Tobias Rindlisbacher
  • Login: ritobias
  • Kind: user

GitHub Events

Total
  • Release event: 3
  • Push event: 15
  • Create event: 3
Last Year
  • Release event: 3
  • Push event: 15
  • Create event: 3