Max

The following routines return the location and value of the entry with the maximum value (note: NOT the maximum absolute value).

C++ API

ValueIntPair<Real> Max(const Matrix<Real> &A)
ValueIntPair<Real> Max(const AbstractDistMatrix<Real> &A)
ValueIntPair<Real> SymmetricMax(UpperOrLower uplo, const Matrix<Real> &A)
ValueIntPair<Real> SymmetricMax(UpperOrLower uplo, const AbstractDistMatrix<Real> &A)
ValueInt<Real> VectorMax(const Matrix<Real> &x)
ValueInt<Real> VectorMax(const AbstractDistMatrix<Real> &x)

C API

ElError ElMax_i(ElConstMatrix_i A, ElValueIntPair_i* entry)
ElError ElMax_s(ElConstMatrix_s A, ElValueIntPair_s* entry)
ElError ElMax_d(ElConstMatrix_d A, ElValueIntPair_d* entry)
ElError ElMaxDist_i(ElConstDistMatrix_i A, ElValueIntPair_i* entry)
ElError ElMaxDist_s(ElConstDistMatrix_s A, ElValueIntPair_s* entry)
ElError ElMaxDist_d(ElConstDistMatrix_d A, ElValueIntPair_d* entry)
ElError ElSymmetricMax_i(ElUpperOrLower uplo, ElConstMatrix_i A, ElValueIntPair_i* entry)
ElError ElSymmetricMax_s(ElUpperOrLower uplo, ElConstMatrix_s A, ElValueIntPair_s* entry)
ElError ElSymmetricMax_d(ElUpperOrLower uplo, ElConstMatrix_d A, ElValueIntPair_d* entry)
ElError ElSymmetricMaxDist_i(ElUpperOrLower uplo, ElConstDistMatrix_i A, ElValueIntPair_i* entry)
ElError ElSymmetricMaxDist_s(ElUpperOrLower uplo, ElConstDistMatrix_s A, ElValueIntPair_s* entry)
ElError ElSymmetricMaxDist_d(ElUpperOrLower uplo, ElConstDistMatrix_d A, ElValueIntPair_d* entry)
ElError ElVectorMax_i(ElConstMatrix_i x, ElValueInt_i* entry)
ElError ElVectorMax_s(ElConstMatrix_s x, ElValueInt_s* entry)
ElError ElVectorMax_d(ElConstMatrix_d x, ElValueInt_d* entry)
ElError ElVectorMaxDist_i(ElConstDistMatrix_i x, ElValueInt_i* entry)
ElError ElVectorMaxDist_s(ElConstDistMatrix_s x, ElValueInt_s* entry)
ElError ElVectorMaxDist_d(ElConstDistMatrix_d x, ElValueInt_d* entry)

Python API

TODO