PETSc version 3.17.4
Fix/Edit manual page

# VecRealPart

Replaces a complex vector with its real part

### Synopsis

    #include "petscvec.h"
    PetscErrorCode  VecRealPart(Vec v)

Collective on Vec

### Input Parameter

| v | - the vector

### See Also

VecNorm(), VecImaginaryPart()

### Level

beginner

### Location

src/vec/vec/utils/vinv.c

### Examples

src/ksp/ksp/tutorials/ex71.c.html
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages