MatGetRowNormalization

Get a vector d.

Synopsis

PetscErrorCode MatGetRowNormalization(Mat A, Vec *d_new)
Not Collective

Input Parameter

A -the matrix to be row-normalized

Output Parameter

d -the vector holding normalization, i.e. MatDiagonalScale(mat,NULL,d) causes mat to have rows with 2-norm equal to 1

See Also

MatDiagonalScale()

Level:intermediate
Location:
src/mat/interface/fllopmatutils.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages