PETSc version 3.16.5
Fix/Edit manual page

# MatLMVMSetJ0Diag

Allows the user to define a vector V such that J0 = diag(V).

### Synopsis

    #include "petscksp.h"
    PetscErrorCode MatLMVMSetJ0Diag(Mat B, Vec V)

### Input Parameters

| B | - An LMVM-type matrix
| V | - Vector that defines the diagonal of the initial Jacobian

### See Also

MatLMVMSetScale(), MatLMVMSetJ0()

### Level

advanced

### Location

src/ksp/ksp/utils/lmvm/lmvmutils.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages