petsc-3.9.4 2018-09-11
MatCreateNormal
Creates a new matrix object that behaves like A'*A.
Synopsis
#include "petscmat.h"
PetscErrorCode MatCreateNormal(Mat A,Mat *N)
Collective on Mat
Input Parameter
A -the (possibly rectangular) matrix
Output Parameter
N -the matrix that represents A'*A
Notes: The product A'*A is NOT actually formed! Rather the new matrix
object performs the matrix-vector product by first multiplying by
A and then A'
Level
intermediate
Location
src/mat/impls/normal/normm.c
Examples
src/ksp/ksp/examples/tutorials/ex27.c.html
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages