---
title: "SparseGetStateSize_Complex_Double(_:_:_:_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/sparsegetstatesize_complex_double(_:_:_:_:_:)"
---

# SparseGetStateSize_Complex_Double(_:_:_:_:_:)

Returns size in bytes of state space required for call to SparseIterate() for complex double values.

## Declaration

```swift
func SparseGetStateSize_Complex_Double(_ method: SparseIterativeMethod, _ preconditioner: Bool, _ m: Int32, _ n: Int32, _ nrhs: Int32) -> Int
```

## Parameters

- `method`: (Input) Method to return required state space size for.
- `preconditioner`: (Input) True if a preconditioner will be supplied, false otherwise.
- `m`: (Input) Number of entries in right-hand side (rows in matrix A).
- `n`: (Input) Number of variables to solve for (columns in matrix A).
- `nrhs`: (Input) Number of right-hand sides to be solved for.

## Return Value

Return Value Size of state space required in bytes.

## See Also

### Functions that Calculate Iterate State Size

- [SparseGetStateSize_Double(_:_:_:_:_:)](accelerate/sparsegetstatesize_double(_:_:_:_:_:).md)
- [SparseGetStateSize_Float(_:_:_:_:_:)](accelerate/sparsegetstatesize_float(_:_:_:_:_:).md)
- [SparseGetStateSize_Complex_Float(_:_:_:_:_:)](accelerate/sparsegetstatesize_complex_float(_:_:_:_:_:).md)
