matrixCompMult

From OpenGL Reference
Jump to navigation Jump to search

Perform a component-wise multiplication of two matrices.

Declaration[edit]

mat matrixCompMult( mat x, mat y );
dmat matrixCompMult( dmat x, dmat y );


Parameters[edit]

x - Specifies the first matrix multiplicand.
y - Specifies the second matrix multiplicand.


Description[edit]

 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 ofx[i][j]andy[i][j].


Version Support[edit]

matrixCompMult (genType) 1.1+
matrixCompMult (genDType) 4.0+

See Also[edit]

 dot , reflect 


Copyright[edit]

Copyright© 2011-2014 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. http://opencontent.org/openpub/.