You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
thebookofshaders/glossary/matrixCompMult
Manoylov Andriy eb8d3c5f80 add ukrainian translation 10 months ago
..
README-ua.md add ukrainian translation 10 months ago
README-vi.md Translate the glossary section 4 years ago
README.md Remove trailing whitespaces 7 years ago

README.md

MatrixCompMult

Perform a component-wise multiplication of two matrices

Declaration

mat2 matrixCompMult(mat2 x, mat2 y)  
mat3 matrixCompMult(mat3 x, mat3 y)  
mat4 matrixCompMult(mat4 x, mat4 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].

See Also

Chapter 08: Matrix