One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSMatrixVectorMultiplication

class · iOS 11.0+ · SDK 27.1

class MPSMatrixVectorMultiplication

Members (3)

method · iOS 11.0+

encode

TypeScript
encode(commandBuffer: SDKHandle, inputMatrix: MPSMatrix, inputVector: MPSVector, resultVector: MPSVector): void
Swift declaration
func encode(commandBuffer: any MTLCommandBuffer, inputMatrix: MPSMatrix, inputVector: MPSVector, resultVector: MPSVector)
init · iOS 11.0+

init

TypeScript
static initDeviceRowsColumns(device: SDKHandle, rows: number, columns: number): MPSMatrixVectorMultiplication
Swift declaration
init(device: any MTLDevice, rows: Int, columns: Int)
init · iOS 11.0+

init

TypeScript
static initDeviceTransposeRowsColumnsAlphaBeta(device: SDKHandle, transpose: boolean, rows: number, columns: number, alpha: number, beta: number): MPSMatrixVectorMultiplication
Swift declaration
init(device: any MTLDevice, transpose: Bool, rows: Int, columns: Int, alpha: Double, beta: Double)

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPSMatrixVectorMultiplication.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All MetalPerformanceShaders types →