cayley_hamilton
header-only C++ implementation of the iterative Cayley-Hamilton method for evaluating matrix power series and their differentials.
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
Repository
header-only C++ implementation of the iterative Cayley-Hamilton method for evaluating matrix power series and their differentials.
Basic Info
- Host: GitHub
- Owner: ritobias
- License: gpl-3.0
- Language: C++
- Default Branch: master
- Homepage: https://arxiv.org/abs/2404.07704
- Size: 2.24 GB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 5
Topics
Metadata Files
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
- Repositories: 1
- Profile: https://github.com/ritobias
GitHub Events
Total
- Release event: 3
- Push event: 15
- Create event: 3
Last Year
- Release event: 3
- Push event: 15
- Create event: 3