<!--
{
  "availability" : [
    "iOS: 18.5.0 -",
    "iPadOS: 18.5.0 -",
    "macCatalyst: 18.5.0 -",
    "macOS: 15.5.0 -",
    "tvOS: 18.5.0 -",
    "visionOS: 2.5.0 -",
    "watchOS: 11.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/SparseGetStateSize_Complex_Double(_:_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@SparseGetStateSize_Complex_Double#$@SA@SparseIterativeMethod#b#I#I#I#"
  },
  "title" : "SparseGetStateSize_Complex_Double(_:_:_:_:_:)"
}
-->

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

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

```
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

Size of state space required in bytes.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)