# STMatSolve

Solves T[k] x = b, where T[k] is the k-th matrix of the spectral transformation, using a KSP object stored internally.

### Synopsis

    #include "slepcst.h"
    PetscErrorCode STMatSolve(ST st,PetscInt k,Vec b,Vec x)

Collective on ST

### Input Parameters

| st | - the spectral transformation context
| k | - index of matrix to use
| b | - right hand side vector

### Output Parameter

x - computed solution

### See Also

STMatSolveTranspose()

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