Contents

SparseGetTranspose(_:)

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

Declaration

func SparseGetTranspose(_ Matrix: SparseMatrix_Float) -> SparseMatrix_Float

Parameters

  • Matrix:

    The matrix to transpose.

Return Value

A SparseMatrix_Float structure that represents the transposed matrix.

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