Two norms

Header file

Implementation

The following routines compute the maximum singular value. This is equivalent to the KyFan norm with k equal to one and the Schatten norm with \(p=\infty\).

C++ API

Base<F> TwoNorm(const Matrix<F> &A)
Base<F> TwoNorm(const AbstractDistMatrix<F> &A)
Base<F> SymmetricTwoNorm(UpperOrLower uplo, const Matrix<F> &A)
Base<F> SymmetricTwoNorm(UpperOrLower uplo, const AbstractDistMatrix<F> &A)
Base<F> HermitianTwoNorm(UpperOrLower uplo, const Matrix<F> &A)
Base<F> HermitianTwoNorm(UpperOrLower uplo, const AbstractDistMatrix<F> &A)

C API

ElError ElTwoNorm_s(ElConstMatrix_s A, float* norm)
ElError ElTwoNorm_d(ElConstMatrix_d A, double* norm)
ElError ElTwoNorm_c(ElConstMatrix_c A, float* norm)
ElError ElTwoNorm_z(ElConstMatrix_z A, double* norm)
ElError ElTwoNormDist_s(ElConstDistMatrix_s A, float* norm)
ElError ElTwoNormDist_d(ElConstDistMatrix_d A, double* norm)
ElError ElTwoNormDist_c(ElConstDistMatrix_c A, float* norm)
ElError ElTwoNormDist_z(ElConstDistMatrix_z A, double* norm)
ElError ElSymmetricTwoNorm_s(ElUpperOrLower uplo, ElConstMatrix_s A, float* norm)
ElError ElSymmetricTwoNorm_d(ElUpperOrLower uplo, ElConstMatrix_d A, double* norm)
ElError ElSymmetricTwoNorm_c(ElUpperOrLower uplo, ElConstMatrix_c A, float* norm)
ElError ElSymmetricTwoNorm_z(ElUpperOrLower uplo, ElConstMatrix_z A, double* norm)
ElError ElSymmetricTwoNormDist_s(ElUpperOrLower uplo, ElConstDistMatrix_s A, float* norm)
ElError ElSymmetricTwoNormDist_d(ElUpperOrLower uplo, ElConstDistMatrix_d A, double* norm)
ElError ElSymmetricTwoNormDist_c(ElUpperOrLower uplo, ElConstDistMatrix_c A, float* norm)
ElError ElSymmetricTwoNormDist_z(ElUpperOrLower uplo, ElConstDistMatrix_z A, double* norm)
ElError ElHermitianTwoNorm_c(ElUpperOrLower uplo, ElConstMatrix_c A, float* norm)
ElError ElHermitianTwoNorm_z(ElUpperOrLower uplo, ElConstMatrix_z A, double* norm)
ElError ElHermitianTwoNormDist_c(ElUpperOrLower uplo, ElConstDistMatrix_c A, float* norm)
ElError ElHermitianTwoNormDist_z(ElUpperOrLower uplo, ElConstDistMatrix_z A, double* norm)

Python API

TODO