#include "slepcst.h" PetscErrorCode STSetMatStructure(ST st,MatStructure str)Logically Collective
st | - the spectral transformation context | |
str | - either SAME_NONZERO_PATTERN, DIFFERENT_NONZERO_PATTERN, SUBSET_NONZERO_PATTERN, or UNKNOWN_NONZERO_PATTERN |
-st_matstructure <str> | - Indicates the structure flag, where <str> is one of 'same' (matrices have the same nonzero pattern), 'different' (different nonzero pattern), 'subset' (pattern is a subset of the first one), or 'unknown'. |
This function has no effect in the case of standard eigenproblems.
In case of polynomial eigenproblems, the flag applies to all matrices relative to the first one.