MatKAIJRestoreT — PETSc 3.23.0 documentation

Skip to main content
`Ctrl`+`K`

# MatKAIJRestoreT

Restore array obtained with `MatKAIJGetT()`

## Synopsis

    #include "petscmat.h"
    PetscErrorCode MatKAIJRestoreT(Mat A, PetscScalar *T[])

Not Collective

## Input Parameters

- A - the `MATKAIJ` matrix

- T - location of pointer to array obtained with `MatKAIJGetS()`

## Note

This routine zeros the array pointer to prevent accidental reuse after it has been restored. If `NULL` is passed, it will not attempt to zero the array pointer.

## See Also

Matrices, `Mat`, `MATKAIJ`, `MatKAIJGetT()`, `MatKAIJGetTRead()`, `MatKAIJRestoreTRead()`

## Level

advanced

## Location

src/mat/impls/kaij/kaij.c

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages