---
title: "SparseGetTranspose(_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/sparsegettranspose(_:)-7no8k"
---

# SparseGetTranspose(_:)

Returns a transposed copy of the specified matrix of single-precision, floating-point values.

## Declaration

```swift
func SparseGetTranspose(_ Matrix: SparseMatrix_Float) -> SparseMatrix_Float
```

## Parameters

- `Matrix`: The matrix to transpose.

## Return Value

Return Value A SparseMatrix_Float structure that represents the transposed matrix.

## Discussion

Discussion Use this function to return a new SparseMatrix_Double structure that shares underlying storage with the specified matrix, but with its transpose attribute as true. The system doesn’t reference-count the underlying storage, so you must ensure it doesn’t destroy the original matrix before you finish with the matrix that this routine returns.

## See Also

### Matrix transpose functions

- [SparseGetTranspose(_:)](accelerate/sparsegettranspose(_:)-227ei.md)
