# DSAllocate

Allocates memory for internal storage or matrices in DS.

### Synopsis

    #include "slepcds.h"
    PetscErrorCode DSAllocate(DS ds,PetscInt ld)

Logically Collective on DS

### Input Parameters

| ds | - the direct solver context
| ld | - leading dimension (maximum allowed dimension for the matrices, including the extra row if present)

### See Also

DSGetLeadingDimension(), DSSetDimensions(), DSSetExtraRow()

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