A kernel for computing the solution of a linear system of equations using a triangular coefficient matrix.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Metal Performance Shaders
Declaration
class MPSMatrixSolveTriangular : MPSMatrix Binary Kernel
Overview
This kernel finds the solution matrix to the system op(A) * X = alpha * B or X * op(A) = alpha * B, where:
A is either an upper or lower triangular matrix
op(A) is either Aᵀ or A
X is the resulting matrix of solutions
B is the array of right hand sides for which the equations are to be solved