global functions

Return the determinant of a squared matrix.

Type parameters:

valType Floating-point scalar types.

See also: GLSL determinant man page

See also: GLSL 4.20.8 specification, section 8.6 Matrix Functions

Return the inverse of a squared matrix.

See also: GLSL inverse man page

Multiply matrix x by matrix y component-wise, i.e., result[i][j] is the scalar product of x[i][j] and y[i][j].

matType Floating-point matrix types.

See also: GLSL matrixCompMult man page

Treats the first parameter c as a column vector and the second parameter r as a row vector and does a linear algebraic matrix multiply c * r.

See also: GLSL outerProduct man page

If you have any doubt about the usage of this module you can ask in the forum.

If you want to contribute better documentation or start documenting this section you can do so here

If you find anything wrong with this docs you can report any error by opening an issue

openFrameworks is developed and maintained by several voluntary contributors.

Donations help support the development of openFrameworks, improve the documentation and pay for third party services needed for the project.

If you are using openFrameworks commercially or would simply like to support openFrameworks development, please consider donating to the project.

If you have any doubt about the usage of this module you can ask in the forum.

If you want to contribute better documentation or start documenting this section you can do so here

If you find anything wrong with this docs you can report any error by opening an issue