#include "slepcds.h" PetscErrorCode DSSetDimensions(DS ds,PetscInt n,PetscInt l,PetscInt k)Logically Collective
ds | - the direct solver context | |
n | - the new size | |
l | - number of locked (inactive) leading columns | |
k | - intermediate dimension (e.g., position of arrow) |
Some DS types have additional dimensions, e.g. the number of columns in DSSVD. For these, you should call a specific interface function.
Use PETSC_CURRENT to leave any of the values unchanged. Use PETSC_DETERMINE to set n to the leading dimension, l to the minimum value (0), and k to n/2.