petsc-3.14.6 2021-03-30
VecPointwiseMaxAbs
Computes the componentwise maximum of the absolute values w_i = max(abs(x_i), abs(y_i)).
Synopsis
#include "petscvec.h"
PetscErrorCode VecPointwiseMaxAbs(Vec w,Vec x,Vec y)
Logically Collective on Vec
Input Parameters
Output Parameter
Notes
any subset of the x, y, and w may be the same vector.
See Also
VecPointwiseDivide(), VecPointwiseMult(), VecPointwiseMin(), VecPointwiseMax(), VecMaxPointwiseDivide()
Level
advanced
Location
src/vec/vec/interface/vector.c
Implementations
VecPointwiseMaxAbs_Seq in src/vec/vec/impls/seq/bvec2.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages