:orphan:
# MatKAIJGetTRead
Get a read-only pointer to the transformation matrix `T` associated with the `MATKAIJ` matrix 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatKAIJGetTRead(Mat A, PetscInt *m, PetscInt *n, const PetscScalar **T)
```
Not Collective; the entire `T` is stored and returned independently on all processes


## Input Parameter

- ***A -*** the `MATKAIJ` matrix



## Output Parameters

- ***m -*** the number of rows in `T`
- ***n -*** the number of columns in `T`
- ***T -*** the T matrix, in form of a scalar array in column-major format





## Note
All output parameters are optional (pass `NULL` if not desired)


## See Also
 [](ch_matrices), `Mat`, `MATKAIJ`, `MatCreateKAIJ()`, `MatGetBlockSizes()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/kaij/kaij.c.html#MatKAIJGetTRead">src/mat/impls/kaij/kaij.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/kaij/kaij.c)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
