:orphan: # VecConjugate Conjugates a vector. That is, replace every entry in a vector with its complex conjugate ## Synopsis ``` #include "petscvec.h" PetscErrorCode VecConjugate(Vec x) ``` Logically Collective ## Input Parameter - ***x -*** the vector ## See Also [](ch_vectors), `Vec`, `VecSet()` ## Level intermediate ## Location src/vec/vec/interface/vector.c ## Implementations VecConjugate_Nest in src/vec/vec/impls/nest/vecnest.c
VecConjugate_Seq in src/vec/vec/impls/seq/bvec2.c
VecConjugate_SeqKokkos in src/vec/vec/impls/seq/kokkos/veckok.kokkos.cxx
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/vec/interface/vector.c) [Index of all Vec routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)