Infinity norms

Header file

Implementation

The following routines compute the maximum \(\ell_1\) norm of the rows of A. In the symmetric and Hermitian cases, this is equivalent to the \(\|\cdot \|_1\) norm.

C++ API

Base<F> InfinityNorm(const Matrix<F> &A)
Base<F> InfinityNorm(const AbstractDistMatrix<F> &A)
Base<F> InfinityNorm(const SparseMatrix<F> &A)
Base<F> InfinityNorm(const DistSparseMatrix<F> &A)
Base<F> SymmetricInfinityNorm(UpperOrLower uplo, const Matrix<F> &A)
Base<F> SymmetricInfinityNorm(UpperOrLower uplo, const AbstractDistMatrix<F> &A)
Base<F> HermitianInfinityNorm(UpperOrLower uplo, const Matrix<F> &A)
Base<F> HermitianInfinityNorm(UpperOrLower uplo, const AbstractDistMatrix<F> &A)

C API

ElError ElInfinityNorm_s(ElConstMatrix_s A, float* norm)
ElError ElInfinityNorm_d(ElConstMatrix_d A, double* norm)
ElError ElInfinityNorm_c(ElConstMatrix_c A, float* norm)
ElError ElInfinityNorm_z(ElConstMatrix_z A, double* norm)
ElError ElInfinityNormDist_s(ElConstDistMatrix_s A, float* norm)
ElError ElInfinityNormDist_d(ElConstDistMatrix_d A, double* norm)
ElError ElInfinityNormDist_c(ElConstDistMatrix_c A, float* norm)
ElError ElInfinityNormDist_z(ElConstDistMatrix_z A, double* norm)
ElError ElInfinityNormSparse_s(ElConstSparseMatrix_s A, float* norm)
ElError ElInfinityNormSparse_d(ElConstSparseMatrix_d A, double* norm)
ElError ElInfinityNormSparse_c(ElConstSparseMatrix_c A, float* norm)
ElError ElInfinityNormSparse_z(ElConstSparseMatrix_z A, double* norm)
ElError ElInfinityNormDistSparse_s(ElConstDistSparseMatrix_s A, float* norm)
ElError ElInfinityNormDistSparse_d(ElConstDistSparseMatrix_d A, double* norm)
ElError ElInfinityNormDistSparse_c(ElConstDistSparseMatrix_c A, float* norm)
ElError ElInfinityNormDistSparse_z(ElConstDistSparseMatrix_z A, double* norm)
ElError ElSymmetricInfinityNorm_s(ElUpperOrLower uplo, ElConstMatrix_s A, float* norm)
ElError ElSymmetricInfinityNorm_d(ElUpperOrLower uplo, ElConstMatrix_d A, double* norm)
ElError ElSymmetricInfinityNorm_c(ElUpperOrLower uplo, ElConstMatrix_c A, float* norm)
ElError ElSymmetricInfinityNorm_z(ElUpperOrLower uplo, ElConstMatrix_z A, double* norm)
ElError ElSymmetricInfinityNormDist_s(ElUpperOrLower uplo, ElConstDistMatrix_s A, float* norm)
ElError ElSymmetricInfinityNormDist_d(ElUpperOrLower uplo, ElConstDistMatrix_d A, double* norm)
ElError ElSymmetricInfinityNormDist_c(ElUpperOrLower uplo, ElConstDistMatrix_c A, float* norm)
ElError ElSymmetricInfinityNormDist_z(ElUpperOrLower uplo, ElConstDistMatrix_z A, double* norm)
ElError ElHermitianInfinityNorm_c(ElUpperOrLower uplo, ElConstMatrix_c A, float* norm)
ElError ElHermitianInfinityNorm_z(ElUpperOrLower uplo, ElConstMatrix_z A, double* norm)
ElError ElHermitianInfinityNormDist_c(ElUpperOrLower uplo, ElConstDistMatrix_c A, float* norm)
ElError ElHermitianInfinityNormDist_z(ElUpperOrLower uplo, ElConstDistMatrix_z A, double* norm)

Python API

InfinityNorm(A)
HermitianInfinityNorm(A, uplo=LOWER)
SymmetricInfinityNorm(A, uplo=LOWER)