MatConstantDiagonalGetConstant#

Get the scalar constant of a constant diagonal matrix

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatConstantDiagonalGetConstant(Mat mat, PetscScalar *value)

Not collective

Input Parameter#

Output Parameter#

  • value - the scalar value

See Also#

Matrices, Mat, MatDestroy(), MATCONSTANTDIAGONAL

Level#

developer

Location#

src/mat/impls/cdiagonal/cdiagonal.c

Implementations#

MatConstantDiagonalGetConstant_ConstantDiagonal() in src/mat/impls/cdiagonal/cdiagonal.c


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