VecMedian
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.
Synopsis
#include "tao.h"
#include "tao_util.h"
PetscErrorCode VecMedian(Vec Vec1, Vec Vec2, Vec Vec3, Vec VMedian)
Logically Collective
Input Parameters
Vec1, Vec2, Vec3 -The three vectors
Output Parameter
VMedian -The median vector
Level:advanced
Location:src/util/tao_util.c
TAO Solver Index
Table of Contents