Skip to main content
Ctrl+K
PETSc v3.23.2-216-g4bf22137d19f documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • MatConjugate

MatConjugate#

replaces the matrix values with their complex conjugates

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatConjugate(Mat mat)

Logically Collective

Input Parameter#

  • mat - the matrix

See Also#

Matrices, Mat, MatRealPart(), MatImaginaryPart(), VecConjugate(), MatTranspose()

Level#

advanced

Location#

src/mat/interface/matrix.c

Implementations#

MatConjugate_MPIAIJ() in src/mat/impls/aij/mpi/mpiaij.c
MatConjugate_SeqAIJ() in src/mat/impls/aij/seq/aij.c
MatConjugate_MPIBAIJ() in src/mat/impls/baij/mpi/mpibaij.c
MatConjugate_SeqBAIJ() in src/mat/impls/baij/seq/baij.c
MatConjugate_ConstantDiagonal() in src/mat/impls/cdiagonal/cdiagonal.c
MatConjugate_MPIDense() in src/mat/impls/dense/mpi/mpidense.c
MatConjugate_SeqDense() in src/mat/impls/dense/seq/dense.c
MatConjugate_Diagonal() in src/mat/impls/diagonal/diagonal.c
MatConjugate_Elemental() in src/mat/impls/elemental/matelem.cxx
MatConjugate_MPISBAIJ() in src/mat/impls/sbaij/mpi/mpisbaij.c
MatConjugate_SeqSBAIJ() in src/mat/impls/sbaij/seq/sbaij.c
MatConjugate_ScaLAPACK() in src/mat/impls/scalapack/matscalapack.c
MatConjugate_MPISELL() in src/mat/impls/sell/mpi/mpisell.c
MatConjugate_SeqSELL() in src/mat/impls/sell/seq/sell.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

On this page
  • Synopsis
  • Input Parameter
  • See Also
  • Level
  • Location
  • Implementations
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-05-24T03:44:16-0500 (v3.23.2-216-g4bf22137d19f).