VecMin

Determines the minimum vector component and its location.

Synopsis

int VecMin(Vec x,int *p,double *val)
Collective on Vec

Input Parameters

x -the vector

Output Parameter

val - the minimum component
p - the location of val

Notes

Returns the value PETSC_MAX and p = -1 if the vector is of length 0.

Keywords

vector, minimum

See Also

VecMax()

Location: src/vec/interface/vector.c
Vector Index
Table of Contents