All code is in a single .h file except for a .cpp file with the
main() demo. Computation time scales as N^4. Also has class template Polynomial. Has extensive operators and methods. Algorithm summary: Any polynomial of degree m is uniquely and simply determined by its values at m+1 points. In particular the characteristic polynomial of an NxN matrix A can be determined by evaluating the determinant |x * I - A| at N+1 distinct values of x. Householder reduction is used to find determinants. Householder reduction of x*I - A with x an eigenvalue is used to determine the corresponding eigenvector. x*I - A = Q*B where Q is unitary and B is upper triangular. If x is an eigenvalue of A, there must be at least one zero on the diagonal of B. An eigenvector of A will be a vector in the null space of B. The upper triangular form of B makes finding its null vectors easy. For a zero on the diagonal of B, make the eigenvector have a 1 at that row, zeros below, and work upwards.

Features

  • C++ complex eigenvectors and eigenvalues for complex matrix
  • C++ class templates Matrix and Polynomiar
  • Overloaded operators
  • Householder reduction for complex matrices
  • C++ zroots using STL std::complex
  • Builds with WSL2 Ubuntu and Debian g++, Raspbian Bullseye g++, Visual Studio 2022 See notes in testmatrixtemplate.cpp

Project Activity

See All Activity >

Follow C++ Eigenvectors

C++ Eigenvectors Web Site

Other Useful Business Software
Simplify IT and security with a single endpoint management platform Icon
Simplify IT and security with a single endpoint management platform

Automate the hardest parts of IT

NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers. The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of C++ Eigenvectors!

Additional Project Details

Registered

2022-02-20