Download weight/_dep/eigen/doc/snippets/ComplexSchur_compute.cpp from OneScience-Group/AlphaFold3: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/OneScience-Group/AlphaFold3/resolve/main/weight/_dep/eigen/doc/snippets/ComplexSchur_compute.cpp
- Command line
-
hf download hf://OneScience-Group/AlphaFold3/weight/_dep/eigen/doc/snippets/ComplexSchur_compute.cpp
-
curl -L -o ComplexSchur_compute.cpp https://huggingface.co/OneScience-Group/AlphaFold3/resolve/main/weight/_dep/eigen/doc/snippets/ComplexSchur_compute.cpp
301 Bytes
| MatrixXcf A = MatrixXcf::Random(4,4); | |
| ComplexSchur<MatrixXcf> schur(4); | |
| schur.compute(A); | |
| cout << "The matrix T in the decomposition of A is:" << endl << schur.matrixT() << endl; | |
| schur.compute(A.inverse()); | |
| cout << "The matrix T in the decomposition of A^(-1) is:" << endl << schur.matrixT() << endl; | |