slepc-3.18.0 2022-10-01
Report Typos and Errors

# STGetMatrix

Gets the matrices associated with the original eigensystem.

### Synopsis

    #include "slepcst.h"
    PetscErrorCode STGetMatrix(ST st,PetscInt k,Mat *A)

Not collective, though parallel Mats are returned if the ST is parallel

### Input Parameters

| st | - the spectral transformation context
| k | - the index of the requested matrix (starting in 0)

### Output Parameters

| A | - the requested matrix

### See Also

STSetMatrices(), STGetNumMatrices()

### Level

intermediate

### Location

src/sys/classes/st/interface/stfunc.c

### Examples

src/eps/tutorials/ex10.c.html
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages