One norms

Header file

Implementation

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

C++ API

Base<F> OneNorm(const Matrix<F> &A)
Base<F> OneNorm(const AbstractDistMatrix<F> &A)
Base<F> OneNorm(const SparseMatrix<F> &A)
Base<F> OneNorm(const DistSparseMatrix<F> &A)
Base<F> SymmetricOneNorm(UpperOrLower uplo, const Matrix<F> &A)
Base<F> SymmetricOneNorm(UpperOrLower uplo, const AbstractDistMatrix<F> &A)
Base<F> HermitianOneNorm(UpperOrLower uplo, const Matrix<F> &A)
Base<F> HermitianOneNorm(UpperOrLower uplo, const AbstractDistMatrix<F> &A)

C API

ElError ElOneNorm_s(ElConstMatrix_s A, float* norm)
ElError ElOneNorm_d(ElConstMatrix_d A, double* norm)
ElError ElOneNorm_c(ElConstMatrix_c A, float* norm)
ElError ElOneNorm_z(ElConstMatrix_z A, double* norm)
ElError ElOneNormDist_s(ElConstDistMatrix_s A, float* norm)
ElError ElOneNormDist_d(ElConstDistMatrix_d A, double* norm)
ElError ElOneNormDist_c(ElConstDistMatrix_c A, float* norm)
ElError ElOneNormDist_z(ElConstDistMatrix_z A, double* norm)
ElError ElOneNormSparse_s(ElConstSparseMatrix_s A, float* norm)
ElError ElOneNormSparse_d(ElConstSparseMatrix_d A, double* norm)
ElError ElOneNormSparse_c(ElConstSparseMatrix_c A, float* norm)
ElError ElOneNormSparse_z(ElConstSparseMatrix_z A, double* norm)
ElError ElOneNormDistSparse_s(ElConstDistSparseMatrix_s A, float* norm)
ElError ElOneNormDistSparse_d(ElConstDistSparseMatrix_d A, double* norm)
ElError ElOneNormDistSparse_c(ElConstDistSparseMatrix_c A, float* norm)
ElError ElOneNormDistSparse_z(ElConstDistSparseMatrix_z A, double* norm)
ElError ElSymmetricOneNorm_s(ElUpperOrLower uplo, ElConstMatrix_s A, float* norm)
ElError ElSymmetricOneNorm_d(ElUpperOrLower uplo, ElConstMatrix_d A, double* norm)
ElError ElSymmetricOneNorm_c(ElUpperOrLower uplo, ElConstMatrix_c A, float* norm)
ElError ElSymmetricOneNorm_z(ElUpperOrLower uplo, ElConstMatrix_z A, double* norm)
ElError ElSymmetricOneNormDist_s(ElUpperOrLower uplo, ElConstDistMatrix_s A, float* norm)
ElError ElSymmetricOneNormDist_d(ElUpperOrLower uplo, ElConstDistMatrix_d A, double* norm)
ElError ElSymmetricOneNormDist_c(ElUpperOrLower uplo, ElConstDistMatrix_c A, float* norm)
ElError ElSymmetricOneNormDist_z(ElUpperOrLower uplo, ElConstDistMatrix_z A, double* norm)
ElError ElHermitianOneNorm_c(ElUpperOrLower uplo, ElConstMatrix_c A, float* norm)
ElError ElHermitianOneNorm_z(ElUpperOrLower uplo, ElConstMatrix_z A, double* norm)
ElError ElHermitianOneNormDist_c(ElUpperOrLower uplo, ElConstDistMatrix_c A, float* norm)
ElError ElHermitianOneNormDist_z(ElUpperOrLower uplo, ElConstDistMatrix_z A, double* norm)

Python API

OneNorm(A)
HermitianOneNorm(A, uplo=LOWER)
SymmetricOneNorm(A, uplo=LOWER)