petsc-3.7.1 2016-05-15
Report Typos and Errors

VecSqrtAbs

Replaces each component of a vector by the square root of its magnitude.

Synopsis

#include "petscvec.h" 
PetscErrorCode  VecSqrtAbs(Vec v)
Not collective Many br

Input Parameter

v -The vector Many br

Output Parameter

v -The vector square root Many br

Many br

Note: The actual function is sqrt(|x_i|) Many br

See Also

VecLog(), VecExp(), VecReciprocal(), VecAbs()

Keywords

vector, sqrt, square root

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