Name

matrixCompMult — perform a component-wise multiplication of two matrices

Declaration

mat matrixCompMult(mat x,
 mat y);
 

Parameters

x

Specifies the first matrix multiplicand.

y

Specifies the second matrix multiplicand.

Description

matrixCompMult performs a component-wise multiplication of two matrices, yielding a result matrix where each component, result[i][j] is computed as the scalar product of x[i][j] and y[i][j].

Version Support

OpenGL ES Shading Language Version
Function Name 1.00 3.00
matrixCompMult (genType)

See Also

dot, reflect

Copyright

Copyright © 2011-2013 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999.