Light | Dark

matrixCompMult

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 3.10
matrixCompMult (genType)

See Also

dot, reflect

Think you can improve this page? Edit this page on GitHub.