---
title: MPSMatrixDecompositionCholesky
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsmatrixdecompositioncholesky
---

# MPSMatrixDecompositionCholesky

A kernel for computing the Cholesky factorization of a matrix.

## Declaration

```swift
class MPSMatrixDecompositionCholesky
```

## Overview

Overview This kernel computes one of the following factorizations of a matrix A: A = LLᵀ A = UᵀU where: A is a symmetric positive-definite matrix for which the factorization is to be computed L is the lower triangular matrix U is the upper triangular matrix

## Topics

### Initializers

- [init(device:lower:order:)](metalperformanceshaders/mpsmatrixdecompositioncholesky/init(device:lower:order:).md)

### Instance Methods

- [encode(commandBuffer:sourceMatrix:resultMatrix:status:)](metalperformanceshaders/mpsmatrixdecompositioncholesky/encode(commandbuffer:sourcematrix:resultmatrix:status:).md)

## Relationships

### Inherits From

- [MPSMatrixUnaryKernel](metalperformanceshaders/mpsmatrixunarykernel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Classes for Decomposition and Solving

- [MPSMatrixSolveCholesky](metalperformanceshaders/mpsmatrixsolvecholesky.md)
- [MPSMatrixDecompositionLU](metalperformanceshaders/mpsmatrixdecompositionlu.md)
- [MPSMatrixSolveLU](metalperformanceshaders/mpsmatrixsolvelu.md)
- [MPSMatrixSolveTriangular](metalperformanceshaders/mpsmatrixsolvetriangular.md)
- [MPSMatrixUnaryKernel](metalperformanceshaders/mpsmatrixunarykernel.md)
- [MPSMatrixBinaryKernel](metalperformanceshaders/mpsmatrixbinarykernel.md)
- [MPSMatrixDecompositionStatus](metalperformanceshaders/mpsmatrixdecompositionstatus.md)
