# DSGetArray

Returns a pointer to one of the internal arrays used to represent matrices. You MUST call DSRestoreArray() when you no longer need to access the array.

### Synopsis

    #include "slepcds.h"
    PetscErrorCode DSGetArray(DS ds,DSMatType m,PetscScalar *a[])

Not Collective

### Input Parameters

| ds | - the direct solver context
| m | - the requested matrix

### Output Parameter

a - pointer to the values

### See Also

DSRestoreArray(), DSGetArrayReal()

Location: src/ds/interface/dsops.c
Index of all DS routines
Table of Contents for all manual pages
Index of all manual pages