VecAbs

Replaces every element in a vector with its absolute value.

Synopsis

#include "petscvec.h" 
int VecAbs(Vec v)
Collective on Vec

Input Parameters

v -the vector

Level:intermediate
Location:
src/vec/utils/vinv.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages