MPSMatrixSolveTriangular(3) | MetalPerformanceShaders.framework | MPSMatrixSolveTriangular(3) |
MPSMatrixSolveTriangular
#import <MPSMatrixSolve.h>
Inherits MPSMatrixBinaryKernel.
(nonnull instancetype) -
initWithDevice:right:upper:transpose:unit:order:numberOfRightHandSides:alpha:
(void) -
encodeToCommandBuffer:sourceMatrix:rightHandSideMatrix:solutionMatrix:
MPSMatrixSolve.h MetalPerformanceShaders.framework
Copyright:
This depends on Metal.framework.
A kernel for computing the solution of a linear system of equations using a triangular coefficient matrix.
A MPSMatrixSolveTriangular finds the solution matrix to the triangular system:
op(A) * X = alpha * B or X * op(A) = alpha * B
Where A is either upper or lower triangular and op(A) is A**T or A. 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 MPSMatrixSolveTriangular kernel into a command Buffer.
Parameters:
This function encodes the MPSMatrixSolveTriangular object to a valid command buffer.
rightHandSideMatrix and solutionMatrix must be large enough to hold at least order * numberOfRightHandSides values starting at secondarySourceMatrixOrigin and resultMatrixOrigin respectively.
sourceMatrix must be at least size order x order starting at primarySourceMatrixOrigin.
Initialize an MPSMatrixSolveTriangular object on a device
Parameters:
This function initializes a MPSMatrixSolveTriangular object. It may allocate device side memory.
Returns:
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |