petsc-3.9.4 2018-09-11
MatMultTransposeAdd
Computes v3 = v2 + A' * v1.
Synopsis
#include "petscmat.h"
PetscErrorCode MatMultTransposeAdd(Mat mat,Vec v1,Vec v2,Vec v3)
Neighbor-wise Collective on Mat and Vec
Input Parameters
| mat | - the matrix
|
| v1, v2 | - the vectors
|
Output Parameters
v3 -the result
Notes
The vectors v1 and v3 cannot be the same. I.e., one cannot
call MatMultTransposeAdd(A,v1,v2,v1).
See Also
MatMultTranspose(), MatMultAdd(), MatMult()
Level
beginner
Location
src/mat/interface/matrix.c
Examples
src/mat/examples/tutorials/ex2.c.html
Implementations
MatMultTransposeAdd_MPIAIJ in src/mat/impls/aij/mpi/mpiaij.c
MatMultTransposeAdd_SeqAIJ in src/mat/impls/aij/seq/aij.c
MatMultTransposeAdd_SeqAIJMKL in src/mat/impls/aij/seq/aijmkl/aijmkl.c
MatMultTransposeAdd_SeqAIJMKL_SpMV2 in src/mat/impls/aij/seq/aijmkl/aijmkl.c
MatMultTransposeAdd_SeqAIJCUSPARSE in src/mat/impls/aij/seq/seqcusparse/aijcusparse.cu
MatMultTransposeAdd_MPIBAIJ in src/mat/impls/baij/mpi/mpibaij.c
MatMultTransposeAdd_SeqBAIJ in src/mat/impls/baij/seq/baij2.c
MatMultTransposeAdd_SeqBAIJMKL_SpMV2 in src/mat/impls/baij/seq/baijmkl/baijmkl.c
MatMultTransposeAdd_BlockMat in src/mat/impls/blockmat/seq/blockmat.c
MatMultTransposeAdd_MPIDense in src/mat/impls/dense/mpi/mpidense.c
MatMultTransposeAdd_SeqDense in src/mat/impls/dense/seq/dense.c
MatMultTransposeAdd_Elemental in src/mat/impls/elemental/matelem.cxx
MatMultTransposeAdd_IS in src/mat/impls/is/matis.c
MatMultTransposeAdd_SeqMAIJ_2 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_3 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_4 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_5 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_6 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_7 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_8 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_9 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_10 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_11 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_16 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_18 in src/mat/impls/maij/maij.c
MatMultTransposeAdd_SeqMAIJ_N in src/mat/impls/maij/maij.c
MatMultTransposeAdd_MPIMAIJ_dof in src/mat/impls/maij/maij.c
MatMultTransposeAdd_Nest in src/mat/impls/nest/matnest.c
MatMultTransposeAdd_Normal in src/mat/impls/normal/normm.c
MatMultTransposeAdd_Scatter in src/mat/impls/scatter/mscatter.c
MatMultTransposeAdd_MPISELL in src/mat/impls/sell/mpi/mpisell.c
MatMultTransposeAdd_SeqSELL in src/mat/impls/sell/seq/sell.c
MatMultTransposeAdd_Shell in src/mat/impls/shell/shell.c
MatMultTransposeAdd_SubMatrix in src/mat/impls/submat/submat.c
MatMultTransposeAdd_Transpose in src/mat/impls/transpose/transm.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages