Computes the componentwise median of three vectors and stores the result in this vector. Used primarily for projecting a vector within upper and lower bounds.
PetscErrorCode VecMedian(Vec Vec1, Vec Vec2, Vec Vec3, Vec VMedian)
|Vec1, Vec2, Vec3 ||- The three vectors
|VMedian ||- The median vector (this can be any one of the input vectors)
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages