Two-norm estimates

Header file

Implementation

The following routines return an estimate for the two-norm which should be accurate within a factor of \(n\) times the specified tolerance.

C++ API

Base<F> TwoNormEstimate(const Matrix<F> &A, Base<F> tol = 1e-6, Int maxIts = 1000)
Base<F> TwoNormEstimate(const AbstractDistMatrix<F> &A, Base<F> tol = 1e-6, Int maxIts = 1000)
Base<F> SymmetricTwoNormEstimate(UpperOrLower uplo, const Matrix<F> &A, Base<F> tol = 1e-6, Int maxIts = 1000)
Base<F> SymmetricTwoNormEstimate(UpperOrLower uplo, const AbstractDistMatrix<F> &A, Base<F> tol = 1e-6, Int maxIts = 1000)
Base<F> HermitianTwoNormEstimate(UpperOrLower uplo, const Matrix<F> &A, Base<F> tol = 1e-6, Int maxIts = 1000)
Base<F> HermitianTwoNormEstimate(UpperOrLower uplo, const AbstractDistMatrix<F> &A, Base<F> tol = 1e-6, Int maxIts = 1000)

C API

ElError ElTwoNormEstimate_s(ElConstMatrix_s A, float tol, ElInt maxIts)
ElError ElTwoNormEstimate_d(ElConstMatrix_d A, double tol, ElInt maxIts)
ElError ElTwoNormEstimate_c(ElConstMatrix_c A, float tol, ElInt maxIts)
ElError ElTwoNormEstimate_z(ElConstMatrix_z A, double tol, ElInt maxIts)
ElError ElTwoNormEstimateDist_s(ElConstDistMatrix_s A, float tol, ElInt maxIts)
ElError ElTwoNormEstimateDist_d(ElConstDistMatrix_d A, double tol, ElInt maxIts)
ElError ElTwoNormEstimateDist_c(ElConstDistMatrix_c A, float tol, ElInt maxIts)
ElError ElTwoNormEstimateDist_z(ElConstDistMatrix_z A, double tol, ElInt maxIts)
ElError ElSymmetricTwoNormEstimate_s(ElUpperOrLower uplo, ElConstMatrix_s A, float tol, ElInt maxIts)
ElError ElSymmetricTwoNormEstimate_d(ElUpperOrLower uplo, ElConstMatrix_d A, double tol, ElInt maxIts)
ElError ElSymmetricTwoNormEstimate_c(ElUpperOrLower uplo, ElConstMatrix_c A, float tol, ElInt maxIts)
ElError ElSymmetricTwoNormEstimate_z(ElUpperOrLower uplo, ElConstMatrix_z A, double tol, ElInt maxIts)
ElError ElSymmetricTwoNormEstimateDist_s(ElUpperOrLower uplo, ElConstDistMatrix_s A, float tol, ElInt maxIts)
ElError ElSymmetricTwoNormEstimateDist_d(ElUpperOrLower uplo, ElConstDistMatrix_d A, double tol, ElInt maxIts)
ElError ElSymmetricTwoNormEstimateDist_c(ElUpperOrLower uplo, ElConstDistMatrix_c A, float tol, ElInt maxIts)
ElError ElSymmetricTwoNormEstimateDist_z(ElUpperOrLower uplo, ElConstDistMatrix_z A, double tol, ElInt maxIts)
ElError ElHermitianTwoNormEstimate_c(ElUpperOrLower uplo, ElConstMatrix_c A, float tol, ElInt maxIts)
ElError ElHermitianTwoNormEstimate_z(ElUpperOrLower uplo, ElConstMatrix_z A, double tol, ElInt maxIts)
ElError ElHermitianTwoNormEstimateDist_c(ElUpperOrLower uplo, ElConstDistMatrix_c A, float tol, ElInt maxIts)
ElError ElHermitianTwoNormEstimateDist_z(ElUpperOrLower uplo, ElConstDistMatrix_z A, double tol, ElInt maxIts)

Python API

TODO