MPSMatrixSolveCholesky(3) | MetalPerformanceShaders.framework | MPSMatrixSolveCholesky(3) |
MPSMatrixSolveCholesky
#import <MPSMatrixSolve.h>
Inherits MPSMatrixBinaryKernel.
(nonnull instancetype) -
initWithDevice:upper:order:numberOfRightHandSides:
(void) -
encodeToCommandBuffer:sourceMatrix:rightHandSideMatrix:solutionMatrix:
This depends on Metal.framework.
A kernel for computing the solution of a linear system of equations using the Cholesky factorization resulting from a MPSMatrixDecompositionCholesky kernel.
A MPSMatrixSolveCholesky finds the solution matrix to the system:
A * X = B
Where A is symmetric positive definite. B is the array of
right hand sides for which the equations are to be solved.
X is the resulting matrix of solutions.
Encode a MPSMatrixSolveCholesky kernel into a command Buffer.
Parameters:
This function encodes the MPSMatrixSolveCholesky object to a valid command buffer. sourceMatrix should contain either the lower or upper triangular factors corresponding to the factorization returned by a previous execution of MPSMatrixDecompositionCholesky.
rightHandSideMatrix and solutionMatrix must be large enough to hold a matrix of size order x numberOfRightHandSides starting at secondarySourceMatrixOrigin and resultMatrixOrigin respectively.
sourceMatrix must be at least size order x order starting at primarySourceMatrixOrigin.
Initialize an MPSMatrixSolveCholesky object on a device
Parameters:
Returns:
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |