# STGetMatStructure

Gets the internal MatStructure attribute to indicate which is the relation of the sparsity pattern of the two matrices A and B constituting the generalized eigenvalue problem.

### Synopsis

    #include "slepcst.h"
    PetscErrorCode STGetMatStructure(ST st,MatStructure *str)

Not Collective

### Input Parameters

st - the spectral transformation context

### Output Parameters

str - either SAME_NONZERO_PATTERN, DIFFERENT_NONZERO_PATTERN or SUBSET_NONZERO_PATTERN

### Note

This function has no effect in the case of standard eigenproblems.

### See Also

STSetMatStructure(), STSetOperators(), MatAXPY()

Location: src/st/interface/stset.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages